[libcpp] Correctly define __cplusplus (PR libstdc++-v3/1773)
Fri Oct 21 23:38:00 GMT 2011
On Oct 21, 2011, at 12: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
> 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.
Is there a plan on what the default language will be? C is stuck in 1980, and will be forever. Personally, I'd rather have g++ move up language standards by default, I'd rather make the move before 2023.
More information about the Gcc-patches