Package: synopsis
Version: 0.8.0-5.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 synopsis_0.8.0-5.3 on em64t by sbuild/amd64 0.53
...
> g++ -I/usr/include/gc -I . -I /build/tbm/synopsis-0.8.0/src -pthread -g -O2 
> -fPIC -c -o Synopsis/PTree/Node.o 
> /build/tbm/synopsis-0.8.0/src/Synopsis/PTree/Node.cc
> In file included from /build/tbm/synopsis-0.8.0/src/Synopsis/PTree/Node.hh:13,
>                  from /build/tbm/synopsis-0.8.0/src/Synopsis/PTree/Node.cc:9:
> /build/tbm/synopsis-0.8.0/src/Synopsis/PTree/Encoding.hh: In static member 
> function 'static long unsigned int 
> Synopsis::PTree::Encoding::char_traits::eof()':
> /build/tbm/synopsis-0.8.0/src/Synopsis/PTree/Encoding.hh:91: error: 'EOF' was 
> not declared in this scope
> make[1]: *** [Synopsis/PTree/Node.o] Error 1
> make[1]: Leaving directory 
> `/build/tbm/synopsis-0.8.0/build/ctemp.linux-x86_64/src'

--- src/Synopsis/PTree/Encoding.hh~     2008-11-09 17:34:16.000000000 +0000
+++ src/Synopsis/PTree/Encoding.hh      2008-11-09 17:34:23.000000000 +0000
@@ -10,6 +10,7 @@
 
 #include <string>
 #include <iostream>
+#include <cstdio>
 #include <cstring>
 
 namespace Synopsis

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