This is the mail archive of the gcc@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: g++ 4.3.0 error: changes meaning


On 9/20/07, Ralf W. Grosse-Kunstleve <rwgk@yahoo.com> wrote:
> Compilation works with *many* other compilers incl. all older, released g++, Visual C++, and EDG-based compilers.
And that does not make the code valid.

> I spent some time with Google and also looked here:
> http://gcc.gnu.org/gcc-4.3/changes.html
> But I couldn't find an indication that the new error is intentional.
> Is it?

Yes it is intentional.  It is an extension of an already existing
error with non templates.  The code is invalid, though the C++
standard does make a mention, this does not have to be diagnostic.

Thanks,
Andrew Pinski


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