Package: hammerhead
Version: 2.1.3-9
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 hammerhead_2.1.3-9 on em64t by sbuild/amd64 0.53
...
> g++ -O2 -fomit-frame-pointer -DHAMMER_VSN=\"2.1.3\"  -c -D_REENTRANT -DLinux 
> -g -Wall -I/usr/include/openssl -I/usr/include cmdline.cc -o 
> obj/Linux/cmdline.o
> cmdline.cc: In constructor 'Cmdline::Cmdline(int, char**)':
> cmdline.cc:57: error: 'EOF' was not declared in this scope
> make[3]: *** [obj/Linux/cmdline.o] Error 1
> make[3]: Leaving directory `/build/tbm/hammerhead-2.1.3/src'

--- src/cmdline.cc~     2008-11-09 08:08:49.000000000 +0000
+++ src/cmdline.cc      2008-11-09 08:08:59.000000000 +0000
@@ -13,6 +13,7 @@
 //
 
 #include <unistd.h>
+#include <stdio.h>
 #include <stdlib.h>
 #ifdef Linux
 #include <getopt.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