c++/4980: -pedantic leads to parse error at strange place

aoliva@gcc.gnu.org aoliva@gcc.gnu.org
Sun Dec 2 01:10:00 GMT 2001


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



More information about the Gcc-bugs mailing list