diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-09-20 18:01:52 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-09-20 18:01:52 +0000 |
commit | 4cfebf2634f53c5481075966bf1b122b8c874297 (patch) | |
tree | 687538e6cb0bf388329e3ee79e5d9e09f588f10f /docs/UsersManual.rst | |
parent | dec5f28df6e9a813df8d0dd62f07678c6bd92d47 (diff) | |
download | clang-4cfebf2634f53c5481075966bf1b122b8c874297.tar.gz clang-4cfebf2634f53c5481075966bf1b122b8c874297.tar.bz2 clang-4cfebf2634f53c5481075966bf1b122b8c874297.tar.xz |
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
Diffstat (limited to 'docs/UsersManual.rst')
-rw-r--r-- | docs/UsersManual.rst | 7 |
1 files 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. |