[cfe-dev] Value of __cplusplus in GNU modes
dgregor at apple.com
Thu May 3 15:07:34 PDT 2012
On May 2, 2012, at 3:34 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> 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?
No objections off-hand, but I wouldn't be surprised if this causes issues with the C headers on a number of systems. Let's try it and evaluate the fallout.
More information about the cfe-dev