This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]