This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8510: g++ fails when trying to compile a child class containing a vector or queue
- From: paolo at gcc dot gnu dot org
- To: darkepaw at users dot sf dot net, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 9 Nov 2002 10:55:32 -0000
- Subject: Re: c++/8510: g++ fails when trying to compile a child class containing a vector or queue
- Reply-to: paolo at gcc dot gnu dot org, darkepaw at users dot sf dot net, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: g++ fails when trying to compile a child class containing a vector or queue
State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Sat Nov 9 02:55:30 2002
State-Changed-Why:
Already fixed for 3.2.1 and 3.3. Now gives (3.2.1):
paolo:~> g++ -c 8510.cc
8510.cc:10: invalid use of template-name 'std::vector' in a declarator
8510.cc:10: syntax error before `;' token
(3.3):
paolo:~> g++ 8510.cc
8510.cc:10: error: invalid use of template-name 'std::vector' in a declarator
8510.cc:10: error: syntax error before `;' token
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8510