[Bug c++/33287] namespace hides class definition

fang at csl dot cornell dot edu gcc-bugzilla@gcc.gnu.org
Mon Sep 3 18:19:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list