Package: gpt
Version: 1.0.2-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 gpt_1.0.2-1 on em64t by sbuild/amd64 0.53
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../. -I../../../src/parser 
> -I../../../src/modules -I../../../src/modules/parser -I/usr/include -O2 -c 
> MismatchedUnicodeCharException.cpp  -fPIC -DPIC -o 
> .libs/MismatchedUnicodeCharException.o
> In file included from MismatchedUnicodeCharException.cpp:9:
> UnicodeCharScanner.hpp:495: error: 'EOF' was not declared in this scope
> make[6]: *** [MismatchedUnicodeCharException.lo] Error 1
> make[6]: Leaving directory `/build/tbm/gpt-1.0.2/src/modules/parser'

--- src/modules/parser/UnicodeCharScanner.hpp~  2008-11-12 07:49:36.000000000 
+0000
+++ src/modules/parser/UnicodeCharScanner.hpp   2008-11-12 07:49:45.000000000 
+0000
@@ -1,6 +1,7 @@
 #ifndef INC_UnicodeCharScanner_hpp__
 #define INC_UnicodeCharScanner_hpp__
 
+#include <cstdio>
 #include <map>
 #include <cctype>
 
--- src/modules/parser/UnicodeCharBuffer.hpp~   2008-11-12 07:50:04.000000000 
+0000
+++ src/modules/parser/UnicodeCharBuffer.hpp    2008-11-12 07:50:09.000000000 
+0000
@@ -1,6 +1,7 @@
 #ifndef INC_UnicodeCharBuffer_hpp__
 #define INC_UnicodeCharBuffer_hpp__
 
+#include <cstdio>
 #include <istream>
 #include <cassert>
 #include <antlr/config.hpp>

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