Package: attal Version: 0.9.2-1.2 Usertags: ftbfs-gcc-4.3 Tags: patch Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of attal_0.9.2-1.2 on coconut0 by sbuild/ia64 0.49 ... > 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 > genericMapCreature.o genericMapCreature.cpp > In file included from ../libCommon/dataTheme.h:44, > from genericMapCreature.cpp:33: > ../libCommon/genericBase.h: In member function 'virtual void > GenericBase::enter(GenericLord*)': > ../libCommon/genericBase.h:69: warning: deprecated conversion from string > constant to 'char*' > ../libCommon/genericBase.h: In member function 'virtual void > GenericBase::out(GenericLord*)': > ../libCommon/genericBase.h:78: warning: deprecated conversion from string > constant to 'char*' > genericMapCreature.cpp: In member function 'void GenericMapCreature::grow()': > genericMapCreature.cpp:319: error: 'rand' was not declared in this scope > make[2]: *** [genericMapCreature.o] Error 1 > make[2]: Leaving directory `/build/tbm/attal-0.9.2/libCommon' --- libCommon/genericMapCreature.cpp~ 2007-04-01 15:44:19.000000000 +0000 +++ libCommon/genericMapCreature.cpp 2007-04-01 15:44:37.000000000 +0000 @@ -27,6 +27,7 @@ #include "genericMapCreature.h" // generic include files +#include <cstdlib> // include files for QT #include <qstring.h> // application specific include files -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

