[cfe-dev] Value of __cplusplus in GNU modes
richard at metafoo.co.uk
Thu May 3 15:19:17 PDT 2012
On Thu, May 3, 2012 at 3:07 PM, Douglas Gregor <dgregor at apple.com> wrote:
> On May 2, 2012, at 3:34 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> > Hi,
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev