Package: atlas-cpp
Version: 0.6.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 atlas-cpp_0.6.1-2 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H  -I..    -g 
> -O2 -g -Wall -O2 -Wall -Werror -DNDEBUG -c -o Filter.lo Filter.cpp
>  g++ -DHAVE_CONFIG_H -I.. -g -O2 -g -Wall -O2 -Wall -Werror -DNDEBUG -c 
> Filter.cpp  -fPIC -DPIC -o .libs/Filter.o
> Filter.cpp: In member function 'virtual Atlas::int_type 
> Atlas::filterbuf::overflow(int)':
> Filter.cpp:28: error: 'EOF' was not declared in this scope
> Filter.cpp:32: error: 'EOF' was not declared in this scope
> Filter.cpp: In member function 'virtual Atlas::int_type 
> Atlas::filterbuf::underflow()':
> Filter.cpp:65: error: 'EOF' was not declared in this scope
> Filter.cpp: In member function 'virtual int Atlas::filterbuf::sync()':
> Filter.cpp:76: error: 'EOF' was not declared in this scope
> make[4]: *** [Filter.lo] Error 1
> make[4]: Leaving directory `/build/tbm/atlas-cpp-0.6.1/Atlas'

--- Atlas/Filter.cpp~   2008-11-09 17:51:55.000000000 +0000
+++ Atlas/Filter.cpp    2008-11-09 17:52:02.000000000 +0000
@@ -4,6 +4,7 @@
 
 #include <Atlas/Filter.h>
 
+#include <cstdio>
 #include <string.h>
 
 namespace Atlas {

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