This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]