Package: bookmarkbridge
Version: 0.76-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 bookmarkbridge_0.76-2.1 on em64t by sbuild/amd64 0.53
...
> if x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE=\"bookmarkbridge\" -DVERSION=\"0.76\" -DHAVE_LIBXML2=1 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_VPRINTF=1 
> -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_STRCHR=1  -I. -I.    
> -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore 
> -I/usr/include/qt4/QtGui -I/usr/include/libxml2 -DDATADIR='"/usr/share/doc"' 
> -g -O2 -I/usr/include/libxml2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o 
> main.o main.cpp; \
>       then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f 
> ".deps/main.Tpo"; exit 1; fi
> main.cpp: In function 'bool ParseCmdLine()':
> main.cpp:150: error: 'EOF' was not declared in this scope
> make[3]: *** [main.o] Error 1
> make[3]: Leaving directory `/build/tbm/bookmarkbridge-0.76/bookmarkbridge'

--- bookmarkbridge/main.cpp~    2008-11-07 18:22:34.000000000 +0000
+++ bookmarkbridge/main.cpp     2008-11-07 18:22:46.000000000 +0000
@@ -35,6 +35,8 @@
 #include <unistd.h>
 #endif
 
+#include <cstdio>
+
 #include "dlgmain.h"
 #include "bkutil.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