Package: genparse
Version: 0.5.2-11.1
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 genparse_0.5.2-11.1 on em64t by sbuild/amd64 0.53
...
> c++ -DHAVE_CONFIG_H -I. -I. -I..    -Wstrict-prototypes  -g -O2 -c parse_cl.cc
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
> Ada/C/ObjC but not for C++
> parse_cl.cc: In constructor 'Cmdline::Cmdline(int, char**)':
> parse_cl.cc:64: error: 'EOF' was not declared in this scope
> make[3]: *** [parse_cl.o] Error 1
> make[3]: Leaving directory `/build/tbm/genparse-0.5.2/src'

--- src/parse_cl.cc~    2008-11-07 16:32:13.000000000 +0000
+++ src/parse_cl.cc     2008-11-07 16:32:21.000000000 +0000
@@ -14,6 +14,7 @@
 **
 ******************************************************************************/
 
+#include <cstdio>
 #include <iostream>
 #include <getopt.h>
 #include <stdlib.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