c++/8510: g++ fails when trying to compile a child class containing a vector or queue

paolo@gcc.gnu.org paolo@gcc.gnu.org
Sat Nov 9 02:55:00 GMT 2002


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



More information about the Gcc-bugs mailing list