Package: libaqbanking
Version: 3.7.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 libaqbanking_3.7.2-1 on em64t by sbuild/amd64 0.53
...
>  g++ -DHAVE_CONFIG_H 
> -DAQHBCI_DATAFOLDER=\"/usr/share/aqbanking/backends/aqhbci\" -DQT3_SUPPORT 
> -I. -I. -I../../../../../../../.. -I../../../../../../../../headers 
> -I./../widgets -I./.. -I../widgets -I.. -I/usr/include/gwenhywfar3 
> -I/usr/include/qt3 -g -O2 -g -Wall -O2 -g -Wall -c error.cpp  -fPIC -DPIC -o 
> .libs/error.o
> error.cpp: In member function 'std::string HBCI::Error::errorString() const':
> error.cpp:99: error: 'snprintf' was not declared in this scope
> make[12]: *** [error.lo] Error 1
> make[12]: Leaving directory 
> `/build/tbm/libaqbanking-3.7.2/src/plugins/backends/aqhbci/ui/qt3/libs/logmanager'
> make[11]: *** [all] Error 2

--- src/plugins/backends/aqhbci/ui/qt3/libs/logmanager/error.cpp~       
2008-11-07 19:14:52.000000000 +0000
+++ src/plugins/backends/aqhbci/ui/qt3/libs/logmanager/error.cpp        
2008-11-07 19:15:07.000000000 +0000
@@ -30,6 +30,8 @@
 #include <config.h>
 #endif
 
+#include <cstdio>
+
 #include "assert.h"
 #include "error.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