Bug 134265 - games-strategy/attal does not build with gcc-4.1
Bug#: 134265 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: tupone@gentoo.org
Component: Games
URL: 
Summary: games-strategy/attal does not build with gcc-4.1
Keywords:  
Status Whiteboard: 
Opened: 2006-05-24 14:49 0000
Description:   Opened: 2006-05-24 14:49 0000
I got this error while building. With 0.9.4 and with 0.9.3

/usr/qt/3/include/qxml.h:448: warning: 'class QXmlLexicalHandler' has virtual
functions but non-virtual destructor
/usr/qt/3/include/qxml.h:461: warning: 'class QXmlDeclHandler' has virtual
functions but non-virtual destructorfightUnit.cpp: In constructor
'FightUnit::FightUnit(QCanvas*, GenericFightUnit*, bool)':
fightUnit.cpp:74: error: 'computeSequence' was not declared in this scope
make[1]: *** [obj/fightUnit.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/attal-0.9.4/work/attal-src-0.9.4/libFight'

------- Comment #1 From Mark Loeser 2006-05-25 08:10:17 0000 -------
Created an attachment (id=87484) [details]
gcc-4.1 patch

This should fix it.

------- Comment #2 From Tupone Alfredo 2006-05-30 13:43:18 0000 -------
Fixed in portage, thanks for patch