Package: geresh
Version: 0.6.3-9
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Hi Lior,

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 geresh_0.6.3-9 on em64t by sbuild/amd64 0.53
...
> c++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" 
> -DPKGDATADIR=\"/usr/share/geresh\"    -g -O2 -c basemenu.cc
> c++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" 
> -DPKGDATADIR=\"/usr/share/geresh\"    -g -O2 -c converters.cc
> converters.cc: In member function 'virtual int 
> ISO88598Converter::convert(char**, unichar**, int)':
> converters.cc:172: error: 'EOF' was not declared in this scope
> make[1]: *** [converters.o] Error 1
> make[1]: Leaving directory `/build/tbm/geresh-0.6.3'

--- converters.cc~      2008-11-07 18:01:11.000000000 +0000
+++ converters.cc       2008-11-07 18:01:19.000000000 +0000
@@ -16,6 +16,7 @@
 
 #include <config.h>
 
+#include <cstdio>
 #include <ctype.h> // toupper
 
 #include "converters.h"
--- iso88598.cc~        2008-11-07 18:02:08.000000000 +0000
+++ iso88598.cc 2008-11-07 18:02:18.000000000 +0000
@@ -16,6 +16,8 @@
 
 #include <config.h>
 
+#include <cstdio>
+
 #include "iso88598.h"
 
 #include "univalues.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