Package: glpuzzle Version: 0.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). 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 the near future.) > Automatic build of glpuzzle_0.2-1 on coconut0 by sbuild/ia64 0.49 ... > g++ -c -g -Wall -O2 -DENABLE_SOUND -I/usr/include/SDL Loader.cxx -o Loader.o > In file included from Loader.hxx:24, > from Loader.cxx:21: > RGBA.hxx: In member function 'void RGBA::Paste(const RGB&, int, int)': > RGBA.hxx:100: warning: large integer implicitly truncated to unsigned type > Loader.cxx: In member function 'void JpgLoader::Load(const std::string&, > RGB&, int, int)': > Loader.cxx:45: error: 'malloc' was not declared in this scope > Loader.cxx:58: error: 'free' was not declared in this scope > Loader.cxx: In member function 'void JpgLoader::Load(const std::string&, > RGBA&, int, int)': > Loader.cxx:84: error: 'malloc' was not declared in this scope > Loader.cxx:98: error: 'free' was not declared in this scope > Loader.cxx: In member function 'void JpgLoader::Merge(const std::string&, > RGBA&, int, int)': > Loader.cxx:121: error: 'malloc' was not declared in this scope > Loader.cxx:141: error: 'free' was not declared in this scope > make[1]: *** [Loader.o] Error 1 > make[1]: Leaving directory `/build/tbm/glpuzzle-0.2' --- Loader.cxx~ 2007-04-25 08:23:59.000000000 +0000 +++ Loader.cxx 2007-04-25 08:24:08.000000000 +0000 @@ -22,6 +22,7 @@ #include <png.h> #include <jpeglib.h> +#include <cstdlib> void JpgLoader::Load(const std::string& filename,RGB& target,int x,int y) { -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]