Package: hydrogen
Version: 0.9.3-5.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 hydrogen_0.9.3-5.1 on em64t by sbuild/amd64 0.53
...
> g++ -c -pipe -g -g -w -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. 
> -Isrc -I/usr/include/qt3 -o src/Object.o src/lib/Object.cpp
> src/lib/Object.cpp: In function 'void* loggerThread_func(void*)':
> src/lib/Object.cpp:180: error: 'fopen' was not declared in this scope
> src/lib/Object.cpp:195: error: 'fprintf' was not declared in this scope
> src/lib/Object.cpp:202: error: 'fclose' was not declared in this scope
> make[2]: *** [src/Object.o] Error 1
> make[2]: Leaving directory 
> `/build/tbm/hydrogen-0.9.3/build-tree/hydrogen-0.9.3'

--- hydrogen-0.9.3/src/lib/Object.cpp~  2008-11-08 17:07:49.000000000 +0000
+++ hydrogen-0.9.3/src/lib/Object.cpp   2008-11-08 17:07:58.000000000 +0000
@@ -25,6 +25,7 @@
 #include "Object.h"
 #include "config.h"
 
+#include <cstdio>
 #include <pthread.h>
 
 #ifdef WIN32

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