[cfe-dev] Value of __cplusplus in GNU modes

Richard Smith richard at metafoo.co.uk
Wed May 2 15:34:03 PDT 2012


As of version 4.7, GCC defines __cplusplus to the standard value, even in
-std=gnu++98 and -std=gnu++11 modes. Is there any objection to applying the
same change to Clang?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120502/2f651e23/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cplusplus-value.diff
Type: application/octet-stream
Size: 2283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120502/2f651e23/attachment.obj>

More information about the cfe-dev mailing list