Package: lordsawar Version: 0.1.4-1 User: [email protected] Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. GCC 4.4 cleaned up some more C++ headers. You always have to #include headers directly and cannot rely for things to be included indirectly. You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of lordsawar_0.1.4-1 on em64t by sbuild/amd64 0.53 ... > libtool: compile: x86_64-linux-gnu-g++ > -DLOCALEDIR=\"/usr/share/games/locale\" -DHAVE_CONFIG_H -I. -I.. > -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_REENTRANT > -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include > -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include > -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include > -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 > -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 > -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 > -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 > -I/usr/include/atk-1.0 -I/usr/include/libglademm-2.4 > -I/usr/lib/libglademm-2.4/include -I/usr/include/libglade-2.0 > -I/usr/include/libxml2 -pthread -I/usr/include/gnet-2.0 > -I/usr/lib/gnet-2.0/include/ -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 > -I/usr/lib/sigc++-2.0/include > -DLORDSAWAR_DATADIR=\"/usr/share/games/lordsawar\" -I.. -Wall > -DPO_PATH=\"/usr/share/locale/\" -Wunused-function -g -O2 -MT > network-connection.lo -MD -MP -MF .deps/network-connection.Tpo -c > network-connection.cpp -fPIC -DPIC -o .libs/network-connection.o > network-connection.cpp: In member function 'void > NetworkConnection::gotConnectionEvent(GConn*, GConnEvent*)': > network-connection.cpp:100: error: 'printf' was not declared in this scope > make[4]: *** [network-connection.lo] Error 1 --- src/network-connection.cpp~ 2009-01-04 18:32:55.000000000 +0000 +++ src/network-connection.cpp 2009-01-04 18:33:01.000000000 +0000 @@ -19,6 +19,7 @@ #include "network-connection.h" #include <iostream> #include <cstring> +#include <cstdio> #include <cstdlib> #include <gnet.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

