This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34531] local typedef conflicts with global definition of a type having the same name
- From: "rbuergel at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2007 18:50:53 -0000
- Subject: [Bug c++/34531] local typedef conflicts with global definition of a type having the same name
- References: <bug-34531-15404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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