This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5970: gcc 2.95 namespace problem
- From: rodrigc at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, matoj at dec dot upjs dot sk, nobody at gcc dot gnu dot org
- Date: 16 Mar 2002 04:37:14 -0000
- Subject: Re: c++/5970: gcc 2.95 namespace problem
- Reply-to: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, matoj at dec dot upjs dot sk, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: gcc 2.95 namespace problem
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Mar 15 20:37:13 2002
State-Changed-Why:
Testcase does not ICE on gcc 3.0.4:
bug.cpp:6: parse error before `::' token
bug.cpp:10: ISO C++ forbids declaration of `c' with no type
bug.cpp:10: conflicting types for `int c'
bug.cpp:9: previous declaration as `C c'
bug.cpp:11: parse error before `}' token
bug.cpp:12: syntax error before `:' token
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5970