Package: ggz-server Version: 0.0.14.1-1.2 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 ggz-server_0.0.14.1-1.2 on em64t by sbuild/amd64 0.53 ... > g++ -DHAVE_CONFIG_H -I. -I../.. -I../../game_servers/muehle/qtserv > -I../../ggzdmod++ -I../../ggzdmod -I /usr/include -I /usr/include -I > /usr/local/include -DGGZDDATADIR=\"/usr/share/ggz/ggzd\" -g -O2 -g -Wall -O2 > -fsigned-char -c -o loader.o loader.cpp > g++ -DHAVE_CONFIG_H -I. -I../.. -I../../game_servers/muehle/qtserv > -I../../ggzdmod++ -I../../ggzdmod -I /usr/include -I /usr/include -I > /usr/local/include -DGGZDDATADIR=\"/usr/share/ggz/ggzd\" -g -O2 -g -Wall -O2 > -fsigned-char -c -o main.o main.cpp > main.cpp: In function 'int main(int, char**)': > main.cpp:48: error: 'EOF' was not declared in this scope > make[5]: *** [main.o] Error 1 > make[5]: Leaving directory > `/build/tbm/ggz-server-0.0.14.1/game_servers/muehle' --- game_servers/muehle/main.cpp~ 2008-11-08 08:22:23.000000000 +0000 +++ game_servers/muehle/main.cpp 2008-11-08 08:22:38.000000000 +0000 @@ -21,6 +21,7 @@ // System includes #include <iostream> #include <getopt.h> +#include <cstdio> #include <cstdlib> // Version information --- game_servers/geekgame/main.cpp~ 2008-11-08 08:23:03.000000000 +0000 +++ game_servers/geekgame/main.cpp 2008-11-08 08:23:10.000000000 +0000 @@ -21,6 +21,7 @@ // System includes #include <iostream> #include <getopt.h> +#include <cstdio> #include <cstdlib> #include <ctime> --- game_servers/widelands/main.cpp~ 2008-11-08 08:23:32.000000000 +0000 +++ game_servers/widelands/main.cpp 2008-11-08 08:23:48.000000000 +0000 @@ -21,6 +21,7 @@ // System includes #include <iostream> #include <getopt.h> +#include <cstdio> #include <cstdlib> #include <ctime> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]