------- Comment #2 from fang at csl dot cornell dot edu 2007-09-03 18:11 ------- Subject: Re: namespace hides class definition
> ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-09-03 18:05 > ------- > Yes and this correct. > Though the error was wrong. > On the trunk we get: > t.cc:12: error: 'namespace C1 { }' redeclared as different kind of symbol > t.cc:2: error: previous declaration of 'class C1' ... which was fixed by patch referenced in PR 30734 (PR 2708) on trunk, if you want to try/request a backport. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33287