http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46449
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-11-12 10:15:01 UTC --- this is not valid C++, you can't have two globally-visible classes with the same name in one program, you need to rename them or put them in separate namespaces.