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++/34531] local typedef conflicts with global definition of a type having the same name



------- Comment #3 from rbuergel at web dot de  2007-12-19 18:50 -------
If the error is correct, then at least the error message is confusing. 
It complains that Y::X redeclares ::X, although the real cause of the error is,
that it may not be clear to that compiler what X<int> refers to


-- 


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


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