Package: skstream
Version: 0.3.6-3
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 skstream_0.3.6-3 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.. -I..    -g -O2 -Wall -DNDEBUG -c -o skstream.lo 
> skstream.cpp
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -Wall -DNDEBUG 
> -c skstream.cpp  -fPIC -DPIC -o .libs/skstream.o
> In file included from skstream.cpp:34:
> ../skstream/skstream.h:94: error: 'EOF' was not declared in this scope
> ../skstream/skstream.h:124: error: 'EOF' was not declared in this scope
> ../skstream/skstream.h:178: error: 'EOF' was not declared in this scope
> make[3]: *** [skstream.lo] Error 1
> make[3]: Leaving directory `/build/tbm/skstream-0.3.6/skstream'
> make[2]: *** [all-recursive] Error 1

--- skstream/skstream.h~        2008-11-09 17:43:41.000000000 +0000
+++ skstream/skstream.h 2008-11-09 17:43:48.000000000 +0000
@@ -29,6 +29,7 @@
 #ifndef RGJ_FREE_STREAM_H_
 #define RGJ_FREE_STREAM_H_
 
+#include <cstdio>
 #include <iostream>
 
 #include <skstream/sksocket.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