[libcpp] Correctly define __cplusplus (PR libstdc++-v3/1773)

Jason Merrill jason@redhat.com
Mon Oct 31 18:57:00 GMT 2011


On 10/21/2011 03:52 PM, Jason Merrill wrote:
> On 10/21/2011 03:11 PM, Marc Glisse wrote:
>> Note that at least clang now defines __cplusplus to its new C++11 value
>> (in experimental C++0X mode only). Apparently they switched around last
>> June and say they are not the only ones. So if you want to follow their
>> lead...
>
> Hmm, between that and the fact that 4.7 will in fact have almost all of
> the C++11 features, I think changing the value makes sense.

Thus:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1773.patch
Type: text/x-patch
Size: 931 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111031/297d8c57/attachment.bin>


More information about the Gcc-patches mailing list