Package: fwbuilder
Version: 3.0.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 fwbuilder_3.0.1-1 on em64t by sbuild/amd64 0.53
...
> make[3]: Entering directory `/build/tbm/fwbuilder-3.0.1/src/parsers'
> g++ -c -pipe -g -Wno-unused-parameter -g -O2 -g -Wall -O2 -fPIC -Wall -W 
> -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui 
> -I/usr/include/qt4 -I.. -I../.. -I/usr/include/fwb-3 -I/usr/include/libxml2 
> -I../../src -I.moc -I.ui -o .obj/IOSCfgLexer.o IOSCfgLexer.cpp
> In file included from IOSCfgLexer.hpp:16,
>                  from IOSCfgLexer.cpp:8:
> ../antlr/CharScanner.hpp:476: error: 'EOF' was not declared in this scope
> make[3]: *** [.obj/IOSCfgLexer.o] Error 1
> make[3]: Leaving directory `/build/tbm/fwbuilder-3.0.1/src/parsers'

--- src/antlr/CharScanner.hpp~  2008-11-14 06:52:14.000000000 +0000
+++ src/antlr/CharScanner.hpp   2008-11-14 06:52:21.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