This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33287] namespace hides class definition
- From: "fang at csl dot cornell dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2007 18:19:04 -0000
- Subject: [Bug c++/33287] namespace hides class definition
- References: <bug-33287-15054@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from fang at csl dot cornell dot edu 2007-09-03 18:19 -------
Subject: Re: namespace hides class definition
> ------- Comment #3 from ilgb at livius dot net 2007-09-03 18:15 -------
> it looks we are talking about different bugs, the error I get is different:
>
> ../src/a.cpp:26: error: 'C1' does not name a type
>
> where the line 26 is the following:
>
> C1 c;
Sorry to confuse, I meant that the new error message on the trunk was
attributed to that patch I mentioned, not the bug you're currently seeing.
David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
-- (2400 baud? Netscape 3.0?? lynx??? No problem!)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33287