[cfe-dev] Value of __cplusplus in GNU modes
Richard Smith
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
> fallout.
>
OK, r156113.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120503/8a3037b8/attachment.html>
More information about the cfe-dev
mailing list