Package: stardict-tools Version: 3.0.1-1.1 User: [EMAIL PROTECTED] Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. GCC 4.4 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. > Automatic build of stardict-tools_3.0.1-1.1 on em64t by sbuild/amd64 0.53 ... > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -D_REENTRANT > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb > -I/usr/include/libpng12 -I/usr/include/pixman-1 -g -O2 -MT bgl2txt.o -MD > -MP -MF .deps/bgl2txt.Tpo -c -o bgl2txt.o bgl2txt.cpp > bgl2txt.cpp: In function 'int main(int, char**)': > bgl2txt.cpp:7: error: 'printf' was not declared in this scope > make[4]: *** [bgl2txt.o] Error 1 > make[4]: Leaving directory `/build/tbm/stardict-tools-3.0.1/src' --- src/bgl2txt.cpp~ 2008-11-08 16:38:04.000000000 +0000 +++ src/bgl2txt.cpp 2008-11-08 16:38:09.000000000 +0000 @@ -1,4 +1,5 @@ #include "libbgl2txt.h" +#include <cstdio> #include <cstring> int main(int argc, char * argv[]) -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]