Package: widelands Version: build9half-10 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 (20070326-1 or higher) from unstable. (Currently not available for i386, but for amd64, powerpc and ia64. I hope to have i386 binaries in the archive in ~3 weeks.) > Automatic build of widelands_build9half-10 on coconut0 by sbuild/ia64 0.49 ... > rm src/native-release/network_ggz.o.d > g++ -pipe -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT > -finline-functions -ffast-math -funroll-loops -funroll-all-loops > -fexpensive-optimizations -O3 -DNDEBUG -Isrc -Isrc/ui/ui_fs_menus > -Isrc/ui/ui_basic -Isrc/editor -Isrc/editor/ui_menus -Isrc/editor/tools -MMD > -MP -MF src/native-release/network_lan_promotion.o.d -c -o > src/native-release/network_lan_promotion.o src/network_lan_promotion.cc > src/network_lan_promotion.cc: In destructor 'LAN_Base::~LAN_Base()': > src/network_lan_promotion.cc:72: error: 'close' was not declared in this scope > src/network_lan_promotion.cc: In constructor > 'LAN_Game_Promoter::LAN_Game_Promoter()': > src/network_lan_promotion.cc:141: error: 'gethostname' was not declared in > this scope > make[1]: *** [src/native-release/network_lan_promotion.o] Error 1 --- src/editor/tools/multi_select.h~ 2007-04-04 13:57:56.000000000 +0000 +++ src/editor/tools/multi_select.h 2007-04-04 13:58:06.000000000 +0000 @@ -20,6 +20,8 @@ #ifndef __S__MULTI_SELECT_H #define __S__MULTI_SELECT_H +#include <cstdlib> +#include <climits> #include <vector> #include "error.h" --- src/network_lan_promotion.cc~ 2007-04-04 14:03:03.000000000 +0000 +++ src/network_lan_promotion.cc 2007-04-04 13:59:48.000000000 +0000 @@ -18,6 +18,7 @@ */ #include <stdio.h> +#include <unistd.h> #include <string.h> #include "network_lan_promotion.h" #include "constants.h" --- src/setup.cc~ 2007-04-04 13:59:51.000000000 +0000 +++ src/setup.cc 2007-04-04 13:59:58.000000000 +0000 @@ -22,6 +22,7 @@ // 2002-08-07 nh setup_searchpaths changed for saner default paths #include <cerrno> +#include <climits> #include <cstring> #include <string> --- src/transport.cc~ 2007-04-04 14:01:00.000000000 +0000 +++ src/transport.cc 2007-04-04 14:01:10.000000000 +0000 @@ -26,6 +26,7 @@ */ #include <cstdarg> +#include <algorithm> #include <stdio.h> #include "cmd_queue.h" #include "editor_game_base.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]