Package: qdacco
Version: 0.8-2
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 qdacco_0.8-2 on em64t by sbuild/amd64 0.53
...
> [  1%] Building CXX object lib/CMakeFiles/qdaccolib.dir/auxiliar.o
> /build/tbm/qdacco-0.8/lib/auxiliar.cpp: In static member function 'static 
> void Auxiliar::debug(QString)':
> /build/tbm/qdacco-0.8/lib/auxiliar.cpp:78: error: 'printf' was not declared 
> in this scope
> make[3]: *** [lib/CMakeFiles/qdaccolib.dir/auxiliar.o] Error 1
> make[3]: Leaving directory `/build/tbm/qdacco-0.8'
> make[2]: *** [lib/CMakeFiles/qdaccolib.dir/all] Error 2

--- lib/auxiliar.cpp~   2008-11-12 07:43:26.000000000 +0000
+++ lib/auxiliar.cpp    2008-11-12 07:43:40.000000000 +0000
@@ -25,6 +25,8 @@
 
 #include <qdacco/auxiliar.h>
 
+#include <cstdio>
+
 //Variables to adjust
 int Auxiliar::debugLevel=1;
 QString Auxiliar::version = "0.7.0";
--- lib/worddata.cpp~   2008-11-12 07:44:03.000000000 +0000
+++ lib/worddata.cpp    2008-11-12 07:44:08.000000000 +0000
@@ -21,6 +21,8 @@
 
 #include <qdacco/worddata.h>
 
+#include <cstdio>
+
 WordData::WordData() {
        num=0;
 }

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