This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12272] using declaration shadows namespace
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2003 00:23:41 -0000
- Subject: [Bug c++/12272] 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 pinskia at gcc dot gnu dot org 2003-09-15 00:23 -------
With ICC 6.0, I get an error:
pr12272.cc
pr12272.cc(10): error: "NS2" is ambiguous
typedef NS2::X Y;
^
compilation aborted for pr12272.cc (code 2)