Package: bobcat
Version: 1.21.1-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 bobcat_1.21.1-2 on em64t by sbuild/amd64 0.53
...
> g++ -c -o arg/oa/43arg2.o -Itmp -Wall -O3 arg/arg2.cc
> arg/arg2.cc: In constructor 'FBB::Arg::Arg(const char*, const 
> FBB::Arg::LongOption*, const FBB::Arg::LongOption*, int, char**)':
> arg/arg2.cc:31: error: 'EOF' was not declared in this scope
> system - failure of system call (status 256)
> system - failure of system call (status 256)
> make: *** [build-stamp] Error 1

--- arg/arg2.cc~        2008-11-16 18:02:34.000000000 +0000
+++ arg/arg2.cc 2008-11-16 18:02:39.000000000 +0000
@@ -1,5 +1,6 @@
 #include "arg.ih"
 
+#include <cstdio>
 #include <iterator>
 
 Arg::Arg(char const *optstring, 
--- arg/arg1.cc~        2008-11-16 18:03:17.000000000 +0000
+++ arg/arg1.cc 2008-11-16 18:03:22.000000000 +0000
@@ -1,5 +1,7 @@
 #include "arg.ih"
 
+#include <cstdio>
+
 Arg::Arg(char const *optstring, int argc, char **argv)
 :
     d_argPointer(0)
--- ifdstreambuf/xsgetn.cc~     2008-11-16 18:08:21.000000000 +0000
+++ ifdstreambuf/xsgetn.cc      2008-11-16 18:08:25.000000000 +0000
@@ -1,5 +1,7 @@
 #include "ifdstreambuf.ih"
 
+#include <cstdio>
+
 std::streamsize IFdStreambuf::xsgetn(char *dest, std::streamsize n)
 {
     int nread = 0;
--- ifdstreambuf/underflow.cc~  2008-11-16 18:09:11.000000000 +0000
+++ ifdstreambuf/underflow.cc   2008-11-16 18:09:14.000000000 +0000
@@ -1,5 +1,7 @@
 #include "ifdstreambuf.ih"
 
+#include <cstdio>
+
 int IFdStreambuf::underflow()
 {
             // the static_cast<size_t char> is required to prevent
--- logbuffer/overflow.cc~      2008-11-16 18:07:15.000000000 +0000
+++ logbuffer/overflow.cc       2008-11-16 18:07:19.000000000 +0000
@@ -1,5 +1,7 @@
 #include "logbuffer.ih"
 
+#include <cstdio>
+
 int LogBuffer::overflow(int c)
 {
     if (!d_active)          // ignore the char if we're not active.
--- multistreambuf/multistreambuf~      2008-11-16 18:05:00.000000000 +0000
+++ multistreambuf/multistreambuf       2008-11-16 18:05:06.000000000 +0000
@@ -1,6 +1,7 @@
 #ifndef INCLUDED_BOBCAT_MULTISTREAMBUF_
 #define INCLUDED_BOBCAT_MULTISTREAMBUF_
 
+#include <cstdio>
 #include <streambuf>
 #include <vector>
 #include <ostream>
--- ofdstreambuf/overflow.cc~   2008-11-16 18:06:31.000000000 +0000
+++ ofdstreambuf/overflow.cc    2008-11-16 18:06:35.000000000 +0000
@@ -1,5 +1,7 @@
 #include "ofdstreambuf.ih"
 
+#include <cstdio>
+
 int OFdStreambuf::overflow(int c)
 {
     sync();                                     
--- syslogbuf/overflow.cc~      2008-11-16 18:06:05.000000000 +0000
+++ syslogbuf/overflow.cc       2008-11-16 18:06:09.000000000 +0000
@@ -1,5 +1,7 @@
 #include "syslogbuf.ih"
 
+#include <cstdio>
+
 int Syslogbuf::overflow(int c)
 {
     if (c != EOF)

-- 
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