Package: realtimebattle
Version: 1.0.8-8
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 realtimebattle_1.0.8-8 on em64t by sbuild/amd64 0.53
...
> depbase=`echo io/unixoutstreambuf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
>       if g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT io/unixoutstreambuf.o 
> -MD -MP -MF "$depbase.Tpo" -c -o io/unixoutstreambuf.o 
> io/unixoutstreambuf.cpp; \
>       then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; 
> exit 1; fi
> io/unixoutstreambuf.cpp: In member function 'virtual int 
> IO::UnixOutStreambuf::overflow(int)':
> io/unixoutstreambuf.cpp:54: error: 'EOF' was not declared in this scope
> make[5]: *** [io/unixoutstreambuf.o] Error 1
> make[5]: Leaving directory `/build/tbm/realtimebattle-1.0.8/team-framework'

--- team-framework/io/unixoutstreambuf.cpp~     2008-11-07 16:45:07.000000000 
+0000
+++ team-framework/io/unixoutstreambuf.cpp      2008-11-07 16:45:16.000000000 
+0000
@@ -31,6 +31,7 @@
 #include <sstream>
 #include <errno.h>
 #include <cstring>
+#include <cstdio>
 /**
  * Namespace
  */

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