[LLVMbugs] [Bug 23275] Support VS 2015 CTP6

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 20 13:43:00 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23275

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |david.majnemer at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
The first issue can be solved by running in the appropriate environment. If I
run "Developer Command Prompt for VS2015", and run clang-cl inside there, the
<corecrt.h> issue is resolved.

The second issue is the use of char16_t and char32_t, which became builtin
types in 2015. The trouble is that defining those types in pre-2015
compilations causes errors when the headers define the types. David gave up and
relies on the user to set -fms-compatibility-version to something. We default
to 2013 compatibility, so if you want 2015 compat, pass something like
-fms-compatibility-version=19.00.22609. Ultimately, you need to set this in
order to link real executables, so this isn't a new imposition.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150420/7d9db927/attachment.html>


More information about the llvm-bugs mailing list