http://llvm.org/bugs/show_bug.cgi?id=19444

Reid Kleckner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #2 from Reid Kleckner <[email protected]> ---
Look for _MSC_EXTENSIONS:

$ clang++ -fno-ms-extensions -dM -E -x c - < /dev/null | grep MSC_EXT
$ clang++ -fms-extensions -dM -E -x c - < /dev/null | grep MSC_EXT
#define _MSC_EXTENSIONS 1

Clang will turn on -fms-extensions by default when targeting Windows, so that
may have fooled your test.

Also, you can use the C++11 standard keyword 'final' instead of 'sealed', which
is what MSDN recommends:
http://msdn.microsoft.com/en-us/library/0w2w91tf.aspx

clang-cl defaults to C++11, since MSVC's C++11 support is enabled by default.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to