Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 134265

Summary: games-strategy/attal does not build with gcc-4.1
Product: Gentoo Linux Reporter: Tupone Alfredo <tupone>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: gcc-4.1 patch

Description Tupone Alfredo gentoo-dev 2006-05-24 14:49:23 UTC
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 Mark Loeser (RETIRED) gentoo-dev 2006-05-25 08:10:17 UTC
Created attachment 87484 [details, diff]
gcc-4.1 patch

This should fix it.
Comment 2 Tupone Alfredo gentoo-dev 2006-05-30 13:43:18 UTC
Fixed in portage, thanks for patch