Package: gnudatalanguage
Version: 0.9~rc1-1.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 gnudatalanguage_0.9~rc1-1.1 on em64t by sbuild/amd64 0.53
...
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src     -g -O2 -MT 
> libantlr_a-CharScanner.o -MD -MP -MF .deps/libantlr_a-CharScanner.Tpo -c -o 
> libantlr_a-CharScanner.o `test -f 'CharScanner.cpp' || echo 
> './'`CharScanner.cpp
> In file included from CharScanner.cpp:12:
> ../../src/antlr/CharScanner.hpp:449: error: 'EOF' was not declared in this 
> scope
> make[4]: *** [libantlr_a-CharScanner.o] Error 1
> make[4]: Leaving directory `/build/tbm/gnudatalanguage-0.9~rc1/src/antlr'

--- src/antlr/CharScanner.hpp~  2008-11-07 17:21:24.000000000 +0000
+++ src/antlr/CharScanner.hpp   2008-11-07 17:21:30.000000000 +0000
@@ -10,6 +10,7 @@
 
 #include <antlr/config.hpp>
 
+#include <cstdio>
 #include <map>
 #include <cstring>
 

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