Package: pouetchess Version: 0.2.0-1 Usertags: ftbfs-gcc-4.3 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). There's some more information about this at http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include
You can reproduce this problem with gcc-snapshot from unstable. Note that Red Hat, Novell and Ubuntu have done some work getting packages to build with GCC 4.3 so there might be patches floating around somewhere. I suggest you talk to your upstream. > Automatic build of pouetchess_0.2.0-1 on em64t by sbuild/amd64 0.53 ... > g++ -o src/main.o -c -O1 -pipe -Wall -D_GNU_SOURCE=1 -D_REENTRANT > -I/usr/include/SDL src/main.cpp > In file included from src/sxmlgui/XMLUtils.h:35, > from src/sxmlgui/GenUtils.h:4, > from src/sxmlgui/TextureUtils.h:4, > from src/sxmlgui/EasyGL.h:5, > from src/scene_init.h:27, > from src/main.cpp:47: > src/sxmlgui/MathUtils.h: In function 'float getNextRandom()': > src/sxmlgui/MathUtils.h:36: warning: integer overflow in expression > In file included from src/sxmlgui/GenUtils.h:4, > from src/sxmlgui/TextureUtils.h:4, > from src/sxmlgui/EasyGL.h:5, > from src/scene_init.h:27, > from src/main.cpp:47: > src/sxmlgui/XMLUtils.h: In static member function 'static const char* > TiXmlBase::GetChar(const char*, char*, int*, TiXmlEncoding)': > src/sxmlgui/XMLUtils.h:275: error: 'strncpy' was not declared in this scope > src/sxmlgui/XMLUtils.h: At global scope: > src/sxmlgui/XMLUtils.h:692: warning: type qualifiers ignored on function > return type > src/sxmlgui/XMLUtils.h:693: warning: type qualifiers ignored on function > return type > src/sxmlgui/XMLUtils.h:1204: warning: type qualifiers ignored on function > return type > In file included from src/sxmlgui/EasyGL.h:5, > from src/scene_init.h:27, > from src/main.cpp:47: > src/sxmlgui/TextureUtils.h:175: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:176: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:178: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:180: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:181: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:182: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:284: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:285: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:289: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:292: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:294: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:295: warning: type qualifiers ignored on function > return type > src/sxmlgui/TextureUtils.h:296: warning: type qualifiers ignored on function > return type > In file included from src/scene_init.h:27, > from src/main.cpp:47: > src/sxmlgui/EasyGL.h:460: warning: type qualifiers ignored on function return > type > src/sxmlgui/EasyGL.h:549: warning: type qualifiers ignored on function return > type > src/sxmlgui/EasyGL.h:677: warning: type qualifiers ignored on function return > type > src/sxmlgui/EasyGL.h:878: warning: type qualifiers ignored on function return > type > src/sxmlgui/EasyGL.h:941: warning: type qualifiers ignored on function return > type > src/sxmlgui/EasyGL.h:962: warning: type qualifiers ignored on function return > type > scons: *** [src/main.o] Error 1 > scons: building terminated because of errors. > make: *** [common-build-impl] Error 2 -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]