[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#266447: kdegames: FTBFS: compile error: `keys' undeclared



tags 266447 sid
thanks

On Wed, Sep 15, 2004 at 02:15:50PM +0200, Frank Lichtenheld wrote:
> Additional info: The package only fails to build on sid, so it's
> probably Qt 3.3 related error similar to e.g. 265680 and can be fixed
> like described there.

Hmm, no, this wasn't it. Now to the real cause:
Since KDE 3.3 there is a enum StandardWindowOptions defined with
a member "Keys" which is the same name as a class used in the ksnake
code. I'm not C++ expert enough to tell if the compiler is at fault
here that he can't differentiate between a type and an enum...

Really not sure if this is a g++ bug, if kdelibs should just not use
such generic names for their enums or if ksnake should change the name
of the class...

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: