Package: wesnoth Version: 1:1.2.8-2 Severity: important Tags: patch 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://gcc.gnu.org/gcc-4.3/porting_to.html You can reproduce this problem with gcc-4.3 or gcc-snapshot from unstable. > Automatic build of wesnoth_1:1.2.8-2 on em64t by sbuild/amd64 0.53 ... > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. > -I/usr/include/freetype2 -I ./sdl_ttf -I../intl -I../intl -I/usr/include/SDL > -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_PYTHON -I/usr/include/python2.4 > -DWESNOTH_PATH=\"/usr/share/games/wesnoth\" -DLOCALEDIR=\"/usr/share/locale\" > -DHAS_RELATIVE_LOCALEDIR=0 -DFIFODIR=\"/var/run/wesnothd\" -DHAVE_FRIBIDI > -I/usr/include -O2 -W -Wall -ansi -D_X11 -MT server/game.o -MD -MP -MF > $depbase.Tpo -c -o server/game.o server/game.cpp &&\ > mv -f $depbase.Tpo $depbase.Po > server/game.cpp: In member function 'bool > game::is_observer(network::connection) const': > server/game.cpp:53: error: no matching function for call to > 'find(__gnu_cxx::__normal_iterator<const int*, std::vector<int, > std::allocator<int> > >, __gnu_cxx::__normal_iterator<const int*, > std::vector<int, std::allocator<int> > >, network::connection&)' > server/game.cpp: In member function 'bool > game::is_muted_observer(network::connection) const': > server/game.cpp:58: error: no matching function for call to > 'find(__gnu_cxx::__normal_iterator<const int*, std::vector<int, > std::allocator<int> > >, __gnu_cxx::__normal_iterator<const int*, > std::vector<int, std::allocator<int> > >, network::connection&)' > server/game.cpp: In member function 'bool > game::is_player(network::connection) const': > server/game.cpp:63: error: no matching function for call to > 'find(__gnu_cxx::__normal_iterator<const int*, std::vector<int, > std::allocator<int> > >, __gnu_cxx::__normal_iterator<const int*, > std::vector<int, std::allocator<int> > >, network::connection&)' > server/game.cpp: In member function 'void > game::add_player(network::connection, bool)': > server/game.cpp:652: error: no matching function for call to > 'find(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >, network::connection&)' > server/game.cpp: In member function 'void > game::remove_player(network::connection, bool)': > server/game.cpp:704: error: no matching function for call to > 'find(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >, network::connection&)' > server/game.cpp:711: error: no matching function for call to > 'find(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >, network::connection&)' > make[3]: *** [server/game.o] Error 1 > make[3]: Leaving directory `/build/tbm/wesnoth-1.2.8/src' --- src/server/game.cpp~ 2008-01-26 23:18:58.000000000 +0000 +++ src/server/game.cpp 2008-01-26 23:20:38.000000000 +0000 @@ -18,6 +18,7 @@ #include "../util.hpp" #include "../wassert.hpp" +#include <algorithm> #include <iostream> #include <sstream> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]