[llvm-bugs] [Bug 38262] New: clang-cl defines outdated values for	_MSVC_LANG
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Sun Jul 22 07:21:49 PDT 2018
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=38262
            Bug ID: 38262
           Summary: clang-cl defines outdated values for _MSVC_LANG
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: Casey at Carter.net
                CC: llvm-bugs at lists.llvm.org
clang-cl.exe from Clang 6.0.0 (apologies if this report isn't valid for 6.0.1 -
I can't test it easily) predefines _MSVC_LANG to 201403 when passed both
/std:c++17 and /std:c++latest. These values don't agree with cl.exe's values
for the VS2017 release series. cl.exe predefines _MSVC_LANG to 201402, 201703,
and 201704 when passed /std:c++14, /std:c++17, and /std:c++latest respectively.
-- 
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/20180722/0bdf81be/attachment.html>
    
    
More information about the llvm-bugs
mailing list