c++/4072: g++ fails to compile template code

aoliva@gcc.gnu.org aoliva@gcc.gnu.org
Tue Aug 21 21:53:00 GMT 2001


Synopsis: g++ fails to compile template code

State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Tue Aug 21 21:53:08 2001
State-Changed-Why:
    Template-dependent qualified type names (such as std::vector<T*>::some_type_name) must be prefixed by the `typename' keyword in Standard C++.  This rule is enforced by -pedantic, but not without this flag.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4072&database=gcc



More information about the Gcc-prs mailing list