From mboxrd@z Thu Jan 1 00:00:00 1970 From: aoliva@gcc.gnu.org To: adrian.cornish@bluedreamer.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: c++/4072: g++ fails to compile template code Date: Tue, 21 Aug 2001 21:53:00 -0000 Message-id: <20010822045309.29235.qmail@sourceware.cygnus.com> X-SW-Source: 2001-08/msg00563.html List-Id: 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::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