Package: toshset
Version: 1.73-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 toshset_1.73-3 on em64t by sbuild/amd64 0.53
...
> g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS \
>               -DVERSION=\"1.73\" -DBINDIR=\"/usr/bin\" -c ../cdsString.cc
> In file included from ../cdsString.cc:16:
> ../cdsSStream.hh:37: error: 'EOF' was not declared in this scope
> ../cdsSStream.hh:38: error: 'EOF' was not declared in this scope
> ../cdsString.cc: In function 'std::istream& operator>>(std::istream&, 
> CDSString<CHAR>&)':
> ../cdsString.cc:511: error: 'EOF' was not declared in this scope
> ../cdsString.cc: In function 'void read(std::istream&, CDSString<CHAR>&)':
> ../cdsString.cc:551: error: 'EOF' was not declared in this scope
> make[2]: *** [cdsString.o] Error 1
> make[2]: Leaving directory 
> `/build/tbm/toshset-1.73/bin.Linux_2.6.26-1-amd64x86_64'

--- cdsSStream.hh~      2008-11-11 20:07:23.000000000 +0000
+++ cdsSStream.hh       2008-11-11 20:07:28.000000000 +0000
@@ -3,6 +3,7 @@
 #ifndef __cdsSStream_hh__
 #define __cdsSStream_hh__
 
+#include <cstdio>
 #include <iostream> 
 #include <cdsString.hh>
 using namespace std;

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