http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57327
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|'derived' is an ambiguous |'derived' is an ambiguous |base class of 'base' |base class of 'base' |diagnostic is bacwards |diagnostic is backwards --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Thanks, Paolo. I've just realised the first line of the test case is missing, sorry. Here's a simpler form anyway: template<class T> struct A {}; template<class T> void f(A<T>&) {} struct B : A<long> {}; struct C : A<char> {}; struct D : B, C {}; int main() { D d; f(d); } t.cc:16:6: note: āDā is an ambiguous base class of āA<T>ā