This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]