summaryrefslogtreecommitdiffstats
path: root/docs/UsersManual.html
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-10-21 05:21:48 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-10-21 05:21:48 +0000
commitdae4ac4fe56ec60fc93b3e3c9f51e79e682084b9 (patch)
tree985aeb68564bd5554648b6e1175f0a5602736fd1 /docs/UsersManual.html
parent4d8ae4d57ed18d60da4d3786fb740607aa7c3688 (diff)
Reorganize predefined macros for all Windows targets.
This adds an option to set the _MSC_VER macro without recompiling. This is very useful when testing compatibility with the Windows SDK and c++stdlib headers. -fmsc-version=<version> (defaults to VS2003 (1300)) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/UsersManual.html')
-rw-r--r--docs/UsersManual.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/UsersManual.html b/docs/UsersManual.html
index 154cf86add..a271dc32bf 100644
--- a/docs/UsersManual.html
+++ b/docs/UsersManual.html
@@ -922,6 +922,12 @@ support is incomplete; enabling Microsoft extensions will silently drop
certain constructs (including __declspec and Microsoft-style asm statements).
</p>
+<li>clang allows setting _MCS_VER with -fmsc-version=. It defaults to 1300 which
+is the same as Visual C/C++ 2003. 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.</li>
+
<li>clang does not support the Microsoft extension where anonymous
record members can be declared using user defined typedefs.</li>