This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

On Fri, Oct 21, 2011 at 5:22 PM, Mike Stump <> wrote:
> 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
>>> 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.
> 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.

I would like to see the default change too.  But for GCC-4.8 -- so that should
take care of Mike's worry :-)
Do we have a formal way to announce default change in upcoming release?
I think that would give enough "heads up", especially since C++11 with break ABI

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]