https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42356
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2011-10-22 00:00:00 |2021-9-7 --- Comment #19 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is what clang now prints: <source>:18:19: error: member 'newNode' found in multiple base classes of different types bar* b = f.newNode<bar>(); ^ <source>:5:13: note: member found by ambiguous name lookup T* newNode() { return 0; } ^ <source>:5:13: note: member found by ambiguous name lookup Which is better than GCC's but does not print out what the multiple base classes are.