This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
ambiguous base class warning in g++
- From: "Dylan Cuthbert" <dylan at q-games dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 13 Dec 2001 15:52:23 +0900
- Subject: ambiguous base class warning in g++
Hi there,
I'm trying to use the "loki" (from the book Modern C++ design) tuple class
and am having trouble getting it to compile - the compiler warns about
ambiguous base classes when trying to use a Tuple< TYPELIST_3< int, int, int
> >, even though the book says it should be fine and goes at lengths to
explain why.
I'm using gcc 3.0.2 for Cygwin.
Because I don't want to start compiling with warnings enabled, can anyone
help out please? Is there a way to disable this particular warning or is
the problem inherent in the loki library design?
Regards
---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com