Package: attal
Version: 0.9.2-1.1
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.

> Automatic build of attal_0.9.2-1.1 on bigsur by sbuild/mips 1.106
...
> g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC  -DQT_NO_DEBUG 
> -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
> -I/usr/share/qt3/mkspecs/default -I. -I.. -I/usr/include/qt3 -o fightUnit.o 
> fightUnit.cpp
> /usr/include/qt3/qxml.h:224: warning: 'class QXmlReader' has virtual 
> functions but non-virtual destructor
> /usr/include/qt3/qxml.h:407: warning: 'class QXmlContentHandler' has virtual 
> functions but non-virtual destructor
> /usr/include/qt3/qxml.h:424: warning: 'class QXmlErrorHandler' has virtual 
> functions but non-virtual destructor
> /usr/include/qt3/qxml.h:433: warning: 'class QXmlDTDHandler' has virtual 
> functions but non-virtual destructor
> /usr/include/qt3/qxml.h:441: warning: 'class QXmlEntityResolver' has virtual 
> functions but non-virtual destructor
> /usr/include/qt3/qxml.h:448: warning: 'class QXmlLexicalHandler' has virtual 
> functions but non-virtual destructor
> /usr/include/qt3/qxml.h:461: warning: 'class QXmlDeclHandler' has virtual 
> functions but non-virtual destructor
> fightUnit.cpp: In constructor 'FightUnit::FightUnit(QCanvas*, 
> GenericFightUnit*, bool)':
> fightUnit.cpp:75: error: 'computeSequence' was not declared in this scope
> make[2]: *** [fightUnit.o] Error 1

--- ./libCommon/creature.h~     2006-03-21 19:13:46.000000000 +0000
+++ ./libCommon/creature.h      2006-03-21 19:14:08.000000000 +0000
@@ -285,6 +285,9 @@
 };
 
 /** List of races */
+
+int computeSequence( GenericFightUnit * unit );
+
 class CreatureList : public QPtrList<Race>
 {
 public:


-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to