[llvm-bugs] [Bug 27217] C++ language feature macros are also set for clang.exe/clang-cl.exe (but not in MSVC2015's cl.exe)

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 5 11:05:46 PDT 2016


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This is the *entire purpose* of these language feature macros: to indicate
which features are available, separate from which version of what compiler is
in use or being emulated.

clang.exe supports constexpr, so it is correct for it to define this macro.

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/20160405/34842fbd/attachment.html>

More information about the llvm-bugs mailing list