This is the mail archive of the gcc-bugs@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++/4980: -pedantic leads to parse error at strange place


Synopsis: -pedantic leads to parse error at strange place

State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Sun Dec  2 01:09:36 2001
State-Changed-Why:
    GCC is correct.  The keyword `typename' is required in Standard C++ before template-dependent qualified type names.  Without -pedantic, GCC attempts to accept an implied `typename' keyword where it makes sense to do so, but -pedantic requests it to stick to the Standard.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4980&database=gcc


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