From 4cfebf2634f53c5481075966bf1b122b8c874297 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 20 Sep 2013 18:01:52 +0000 Subject: [PATCH] Update -fmsc-version docs for r190908, which set the default to 1700 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191098 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/UsersManual.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst index 5ea05bced3..9e5b8877e2 100644 --- a/docs/UsersManual.rst +++ b/docs/UsersManual.rst @@ -1233,13 +1233,12 @@ until the end of a translation unit. This flag is enabled by default for Windows targets. - clang allows setting ``_MSC_VER`` with ``-fmsc-version=``. It defaults to - 1300 which is the same as Visual C/C++ 2003. Any number is supported + 1700 which is the same as Visual C/C++ 2012. Any number is supported and can greatly affect what Windows SDK and c++stdlib headers clang - can compile. This option will be removed when clang supports the full - set of MS extensions required for these headers. + can compile. - clang does not support the Microsoft extension where anonymous record members can be declared using user defined typedefs. -- clang supports the Microsoft "#pragma pack" feature for controlling +- clang supports the Microsoft ``#pragma pack`` feature for controlling record layout. GCC also contains support for this feature, however where MSVC and GCC are incompatible clang follows the MSVC definition. -- 2.40.0