Package: cxxtools
Version: 1.4.8-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 cxxtools_1.4.8-2 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
> -I../include   -pthread -g -O2 -g -Wall -O2 -c -o libcxxtools_la-hdstream.lo 
> `test -f 'hdstream.cpp' || echo './'`hdstream.cpp
>  g++ -DHAVE_CONFIG_H -I. -I../include -pthread -g -O2 -g -Wall -O2 -c 
> hdstream.cpp  -fPIC -DPIC -o .libs/libcxxtools_la-hdstream.o
> hdstream.cpp: In member function 'virtual int 
> cxxtools::Hdstreambuf::underflow()':
> hdstream.cpp:65: error: 'EOF' was not declared in this scope
> hdstream.cpp: In member function 'virtual int cxxtools::Hdstreambuf::sync()':
> hdstream.cpp:70: error: 'EOF' was not declared in this scope
> make[3]: *** [libcxxtools_la-hdstream.lo] Error 1
> make[3]: Leaving directory `/build/tbm/cxxtools-1.4.8/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/build/tbm/cxxtools-1.4.8/src'

--- src/hdstream.cpp~   2008-11-08 08:25:07.000000000 +0000
+++ src/hdstream.cpp    2008-11-08 08:25:17.000000000 +0000
@@ -22,6 +22,7 @@
 #include "cxxtools/hdstream.h"
 #include <iomanip>
 #include <cctype>
+#include <cstdio>
 
 namespace cxxtools
 {

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