Package: swish++
Version: 6.1.5-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 swish++_6.1.5-1 on em64t by sbuild/amd64 0.53
...
> g++ -I. -DCHARSET_utf7 -DCHARSET_utf8 -DCHARSET_utf16 -DENCODING_base64 
> -DENCODING_quoted_printable -DIMPLEMENT_DECODING -DMOD_html -DMOD_id3 
> -DMOD_latex -DMOD_mail -DMOD_man -DMOD_rtf -DFEATURE_word_pos -DSEARCH_DAEMON 
> -DMULTI_THREADED -D_REENTRANT -D_XOPEN_SOURCE=500 -O2 -fomit-frame-pointer 
> -D_BSD_SOURCE -fno-exceptions    -c -o fdbuf.o fdbuf.c
> fdbuf.c: In member function 'virtual int PJL::fdbuf::overflow(int)':
> fdbuf.c:96: error: 'EOF' was not declared in this scope
> fdbuf.c:97: error: 'EOF' was not declared in this scope
> fdbuf.c: In member function 'virtual int PJL::fdbuf::underflow()':
> fdbuf.c:136: error: 'EOF' was not declared in this scope
> make[1]: *** [fdbuf.o] Error 1
> make[1]: Leaving directory `/build/tbm/swish++-6.1.5'

--- fdbuf.c~    2008-11-07 16:52:05.000000000 +0000
+++ fdbuf.c     2008-11-07 16:52:15.000000000 +0000
@@ -21,6 +21,7 @@
 
 // standard
 #include <cerrno>
+#include <cstdio>
 #include <cstring>
 #include <unistd.h>
 

-- 
Martin Michlmayr
http://www.cyrius.com/



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

Reply via email to