Package: antlr
Version: 2.7.7-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 antlr_2.7.7-9 on em64t by sbuild/amd64 0.53
...
> *** compiling 
> /build/tbm/antlr-2.7.7/lib/cpp/src/../../../lib/cpp/src/CharScanner.cpp
> In file included from 
> /build/tbm/antlr-2.7.7/lib/cpp/src/../../../lib/cpp/src/CharScanner.cpp:10:
> /build/tbm/antlr-2.7.7/scripts/../lib/cpp/antlr/CharScanner.hpp:475: error: 
> 'EOF' was not declared in this scope

--- lib/cpp/antlr/CharScanner.hpp~      2008-11-11 21:24:02.000000000 +0000
+++ lib/cpp/antlr/CharScanner.hpp       2008-11-11 21:24:33.000000000 +0000
@@ -10,6 +10,7 @@
 
 #include <antlr/config.hpp>
 
+#include <cstdio>
 #include <map>
 
 #ifdef HAS_NOT_CCTYPE_H

-- 
Martin Michlmayr
http://www.cyrius.com/



_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to