[Bug c++/34200] Two compilation units have same private class but no conflict detected or reported.

mat_geek at yahoo dot com dot au gcc-bugzilla@gcc.gnu.org
Fri Nov 23 00:04:00 GMT 2007



------- Comment #7 from mat_geek at yahoo dot com dot au  2007-11-23 00:04 -------
The output from the example code is

514: mathew@tokay ~/temp/eg/ $> ./main.exec 
int main() in main.cpp at 14
void a() in a.cpp at 24
void A::f() in a.cpp at 13
void b() in b.cpp at 24
void B::f() in b.cpp at 13
void c() in c.cpp at 24
void B::f() in b.cpp at 13

It should have
void c() in c.cpp at 24
void B::f() in c.cpp at 13


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34200



More information about the Gcc-bugs mailing list