Package: plptools
Version: 1.0.4-4
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 plptools_1.0.4-4 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. 
> -I../intl    -g -O2 -MT log.lo -MD -MP -MF .deps/log.Tpo -c -o log.lo log.cc
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../intl -g -O2 -MT log.lo -MD -MP -MF 
> .deps/log.Tpo -c log.cc  -fPIC -DPIC -o .libs/log.o
> In file included from log.cc:24:
> log.h:103: error: 'EOF' was not declared in this scope
> log.cc: In member function 'virtual int logbuf::overflow(int)':
> log.cc:49: error: 'EOF' was not declared in this scope
> make[3]: *** [log.lo] Error 1

--- lib/log.h~  2008-11-14 13:51:46.000000000 +0000
+++ lib/log.h   2008-11-14 13:51:51.000000000 +0000
@@ -24,6 +24,7 @@
 #ifndef _LOG_H_
 #define _LOG_H_
 
+#include <cstdio>
 #include <iostream>
 
 #include <syslog.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