[Bug c++/21146] unable to resolve visible symbol

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Apr 21 12:59:00 GMT 2005


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



More information about the Gcc-bugs mailing list