Package: libfcgi Version: 2.4.0-7 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 libfcgi_2.4.0-7 on em64t by sbuild/amd64 0.53 ... > /bin/sh ../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++ > -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT fcgio.lo -MD -MP -MF > .deps/fcgio.Tpo -c -o fcgio.lo fcgio.cpp > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT > fcgio.lo -MD -MP -MF .deps/fcgio.Tpo -c fcgio.cpp -fPIC -DPIC -o > .libs/fcgio.o > fcgio.cpp: In destructor 'virtual fcgi_streambuf::~fcgi_streambuf()': > fcgio.cpp:50: error: 'EOF' was not declared in this scope > fcgio.cpp: In member function 'virtual int fcgi_streambuf::overflow(int)': > fcgio.cpp:70: error: 'EOF' was not declared in this scope > fcgio.cpp:75: error: 'EOF' was not declared in this scope > fcgio.cpp: In member function 'virtual int fcgi_streambuf::sync()': > fcgio.cpp:86: error: 'EOF' was not declared in this scope > fcgio.cpp:87: error: 'EOF' was not declared in this scope > fcgio.cpp: In member function 'virtual int fcgi_streambuf::underflow()': > fcgio.cpp:107: error: 'EOF' was not declared in this scope > make[3]: *** [fcgio.lo] Error 1 --- libfcgi/fcgio.cpp~ 2008-11-08 07:47:43.000000000 +0000 +++ libfcgi/fcgio.cpp 2008-11-08 07:47:52.000000000 +0000 @@ -22,6 +22,7 @@ #define DLLAPI __declspec(dllexport) #endif +#include <cstdio> #include <limits.h> #include "fcgio.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]