Package: burgerspace Version: 1.8.2-1 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). 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 burgerspace_1.8.2-1 on em64t by sbuild/amd64 0.53 ... > images/digit9.xpm:15: warning: deprecated conversion from string constant to > 'char*' > BurgerSpaceEngine.cpp: In function 'void > removeNullElementsFromSpriteList(flatzebra::SpriteList&)': > BurgerSpaceEngine.cpp:206: error: cannot convert > '__gnu_cxx::__normal_iterator<flatzebra::Sprite**, > std::vector<flatzebra::Sprite*, std::allocator<flatzebra::Sprite*> > >' to > 'const char*' for argument '1' to 'int remove(const char*)' > BurgerSpaceEngine.cpp: In member function 'void > BurgerSpaceEngine::initializeSprites()': > BurgerSpaceEngine.cpp:1015: error: 'for_each' was not declared in this scope > BurgerSpaceEngine.cpp: In member function 'void > BurgerSpaceEngine::saveGame(std::ostream&, int)': > BurgerSpaceEngine.cpp:3420: error: no matching function for call to > 'find(__gnu_cxx::__normal_iterator<flatzebra::Sprite**, > std::vector<flatzebra::Sprite*, std::allocator<flatzebra::Sprite*> > >, > __gnu_cxx::__normal_iterator<flatzebra::Sprite**, > std::vector<flatzebra::Sprite*, std::allocator<flatzebra::Sprite*> > >, > flatzebra::Sprite* const&)' > BurgerSpaceEngine.cpp: In function 'void deleteSprites(Container&) [with > Container = std::vector<IngredientSprite*, std::allocator<IngredientSprite*> > >]': > BurgerSpaceEngine.cpp:1013: instantiated from here > BurgerSpaceEngine.cpp:238: error: 'for_each' was not declared in this scope > BurgerSpaceEngine.cpp: In function 'void deleteSprites(Container&) [with > Container = flatzebra::SpriteList]': > BurgerSpaceEngine.cpp:1276: instantiated from here > BurgerSpaceEngine.cpp:238: error: 'for_each' was not declared in this scope > make[2]: *** [burgerspace-BurgerSpaceEngine.o] Error 1 > make[2]: Leaving directory `/build/tbm/burgerspace-1.8.2/src' > make[1]: *** [all-recursive] Error 1 --- src/BurgerSpaceEngine.cpp~ 2008-01-21 17:14:05.000000000 +0000 +++ src/BurgerSpaceEngine.cpp 2008-01-21 17:14:22.000000000 +0000 @@ -29,6 +29,7 @@ #include <assert.h> #include <fstream> #include <iomanip> +#include <algorithm> #include <sys/types.h> #include <sys/stat.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]