[Bug c++/34531] local typedef conflicts with global definition of a type having the same name

rbuergel at web dot de gcc-bugzilla@gcc.gnu.org
Wed Dec 19 18:51:00 GMT 2007



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



More information about the Gcc-bugs mailing list