Package: cln
Version: 1.2.2-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 cln_1.2.2-2 on em64t by sbuild/amd64 0.53
...
> make[5]: Entering directory `/build/tbm/cln-1.2.2/src'
> /bin/sh ../libtool --mode=compile x86_64-linux-gnu-g++ -O2  -I../include 
> -I../include -I./base -I./base/string  -c ./base/string/input/cl_st_get1.cc
>  x86_64-linux-gnu-g++ -O2 -I../include -I../include -I./base -I./base/string 
> -c ./base/string/input/cl_st_get1.cc  -fPIC -DPIC -o .libs/cl_st_get1.o
> ./base/string/input/cl_st_get1.cc: In function 'const cln::cl_string 
> cln::cl_fget(std::istream&, char)':
> ./base/string/input/cl_st_get1.cc:23: error: 'EOF' was not declared in this 
> scope
> make[5]: *** [cl_st_get1.lo] Error 1
> make[5]: Leaving directory `/build/tbm/cln-1.2.2/src'

--- src/base/string/input/cl_st_get1.cc~        2008-11-08 07:39:30.000000000 
+0000
+++ src/base/string/input/cl_st_get1.cc 2008-11-08 07:40:20.000000000 +0000
@@ -1,5 +1,7 @@
 // cl_fget().
 
+#include <cstdio>
+
 // General includes.
 #include "cl_sysdep.h"
 
--- src/base/string/input/cl_st_get2.cc~        2008-11-08 07:40:29.000000000 
+0000
+++ src/base/string/input/cl_st_get2.cc 2008-11-08 07:40:37.000000000 +0000
@@ -1,5 +1,7 @@
 // cl_fget().
 
+#include <cstdio>
+
 // General includes.
 #include "cl_sysdep.h"
 
--- src/base/string/input/cl_st_getline1.cc~    2008-11-08 07:40:45.000000000 
+0000
+++ src/base/string/input/cl_st_getline1.cc     2008-11-08 07:40:54.000000000 
+0000
@@ -1,5 +1,7 @@
 // cl_fgetline().
 
+#include <cstdio>
+
 // General includes.
 #include "cl_sysdep.h"
 
--- src/base/string/input/cl_st_getline2.cc~    2008-11-08 07:41:00.000000000 
+0000
+++ src/base/string/input/cl_st_getline2.cc     2008-11-08 07:41:05.000000000 
+0000
@@ -1,5 +1,7 @@
 // cl_fgetline().
 
+#include <cstdio>
+
 // General includes.
 #include "cl_sysdep.h"
 
--- src/base/string/input/cl_st_gettoken.cc~    2008-11-08 07:41:11.000000000 
+0000
+++ src/base/string/input/cl_st_gettoken.cc     2008-11-08 07:41:17.000000000 
+0000
@@ -1,5 +1,7 @@
 // operator>>.
 
+#include <cstdio>
+
 // General includes.
 #include "cl_sysdep.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