Martin Michlmayr wrote:
Package: courier
Version: 0.60.0-2
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 courier_0.60.0-2 on em64t by sbuild/amd64 0.53
...
make[3]: Entering directory `/build/tbm/courier-0.60.0/afx'
g++ -DHAVE_CONFIG_H -I.     -I.. -I./.. -Wall -g -O2 -MT afxpipe.o -MD -MP -MF 
.deps/afxpipe.Tpo -c -o afxpipe.o afxpipe.C
afxpipe.C: In member function 'virtual int afxpipestreambuf::overflow(int)':
afxpipe.C:38: error: 'EOF' was not declared in this scope
afxpipe.C: In member function 'virtual int afxpipestreambuf::underflow()':
afxpipe.C:98: error: 'EOF' was not declared in this scope
make[3]: *** [afxpipe.o] Error 1

--- afx/afx.h~  2008-11-09 18:14:00.000000000 +0000
+++ afx/afx.h   2008-11-09 18:14:10.000000000 +0000
@@ -12,6 +12,7 @@
 #include       <unistd.h>
 #endif
+#include <cstdio>
 #include       <iostream>
 #include       <istream>
 #include       <ostream>


OK, I'll take care of this bug.

Regards
        Racke


--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to