This is the mail archive of the gcc-patches@gcc.gnu.org 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: C++ PATCH: PR 20599 (1/3)


On Mon, Oct 02, 2006 at 07:34:12PM +0200, Gabriel Dos Reis wrote:
> Joe Buck <Joe.Buck@synopsys.COM> writes:
> | Unless I'm missing something, I think it should be the default.  My
> | understanding is that "c++03" is just a bug-fix to the standard,
> | clarifying things that were not clear or mis-stated in the original.
> | I don't see why there should be support for two distinct versions of
> | the C++ standard.
> 
> And in effect, there are two distinct versions of the C++ standard.
> 
> This has implications on the value of __cplusplus and the set of
> displayed behaviour.  C++03 some semantics changes -- even when
> they are corrections.

One option would be to only support C++03, with the correct value of
__cplusplus.  Another would be to enable both versions and make C++03
the default.  But I can't think of any reason for making the older
version the default.


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