This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21146] unable to resolve visible symbol
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Apr 2005 12:59:44 -0000
- Subject: [Bug c++/21146] unable to resolve visible symbol
- References: <20050421110053.21146.boris@kolpackov.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-21 12:59 -------
3.3.3 gave:
t.cc:13: error: request for member `S' is ambiguous in multiple inheritance
lattice
t.cc:7: error: candidates are: struct S
t.cc:4: error: typedef struct S A<S>::S
t.cc:13: error: template argument 1 is invalid
t.cc:13: error: ISO C++ forbids declaration of `type name' with no type
If the code is invalid, then we have a diagnostic regression.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21146