Package: sfftobmp Version: 3.1.2-1 User: [email protected] Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with GCC 4.4, which has 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 or gcc-4.4 from experimental. > Automatic build of sfftobmp_3.1.2-1 on em64t by sbuild/amd64 0.53 ... > g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -c -o cmdline.o > `test -f 'cmdline.cpp' || echo './'`cmdline.cpp > cmdline.cpp: In member function 'void CCmdLineProcessor::parseCmdLine()': > cmdline.cpp:187: error: 'sscanf' was not declared in this scope > make[3]: *** [cmdline.o] Error 1 --- src/cmdline.cpp~ 2009-04-27 16:52:41.000000000 +0000 +++ src/cmdline.cpp 2009-04-27 16:52:50.000000000 +0000 @@ -37,6 +37,7 @@ #include <vector> #include <cassert> +#include <cstdio> #include <iostream> #include <boost/filesystem/operations.hpp> --- src/common.cpp~ 2009-04-27 16:53:02.000000000 +0000 +++ src/common.cpp 2009-04-27 16:53:10.000000000 +0000 @@ -50,6 +50,7 @@ #endif #include <cassert> +#include <cstdio> #include <iostream> #ifdef WIN32 -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

