This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12272] wrong error message using declaration shadows namespace
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2003 01:50:18 -0000
- Subject: [Bug c++/12272] wrong error message using declaration shadows namespace
- References: <20030914020800.12272.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12272
------- Additional Comments From gdr at integrable-solutions dot net 2003-09-15 01:50 -------
Subject: Re: wrong error message using declaration shadows namespace
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| The mainline is even worse because NS2 is definitely a namespace:
| pr12272.cc:10: error: `NS2' is not a class-name or namespace-name
Arrgh. The cc1plus is horrifying ;-)
-- Gaby