[Bug c++/12272] wrong error message using declaration shadows namespace

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Mon Sep 15 02:42:00 GMT 2003


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



More information about the Gcc-bugs mailing list