Package: libofa Version: 0.9.3-3 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 libofa_0.9.3-3 on em64t by sbuild/amd64 0.53 ... > make[3]: Entering directory `/build/tbm/libofa-0.9.3/examples' > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -g -Wall -O2 -Wall -g > -c -o example.o example.cpp > example.cpp: In function 'int main(int, char**)': > example.cpp:40: error: 'printf' was not declared in this scope > example.cpp:44: error: 'printf' was not declared in this scope > example.cpp:48: error: 'printf' was not declared in this scope > example.cpp:54: error: 'printf' was not declared in this scope > example.cpp:63: error: 'printf' was not declared in this scope > example.cpp:66: error: 'printf' was not declared in this scope > make[3]: *** [example.o] Error 1 > make[3]: Leaving directory `/build/tbm/libofa-0.9.3/examples' --- examples/example.cpp~ 2008-11-07 20:46:38.000000000 +0000 +++ examples/example.cpp 2008-11-07 20:46:47.000000000 +0000 @@ -8,6 +8,7 @@ -------------------------------------------------------------------*/ #include "protocol.h" +#include <cstdio> #include <cctype> #include <string.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

