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: unassignedclangb...@nondot.org
Reporter: ca...@carter.net
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs