Package: qbankmanager Version: 0.9.38-2 Usertags: ftbfs-gcc-4.3 Tags: patch
Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080 You can reproduce this problem with gcc-snapshot (20070326-1 or higher) from unstable. > Automatic build of qbankmanager_0.9.38-2 on coconut0 by sbuild/ia64 0.49 ... > g++ -DHAVE_CONFIG_H -DQT3_SUPPORT -I. -I. -I../../../.. -I./.. -I./../prg > -I./../dialogs -I./../views -I.. -I../prg -I../dialogs -I../views > -I/usr/include -I/usr/include/qt3 -I/usr/include -I/usr/include > -I/usr/include/qt3 -g -Wall -O2 -g -Wall -c txlist.cpp -fPIC -DPIC -o > .libs/txlist.o > In file included from rtlist.h:16, > from txlist.h:18, > from txlist.cpp:18: > ./../prg/refpointer.h: In member function 'void > RefPointerBase::_attach(RefPointerObject&)': > ./../prg/refpointer.h:114: error: 'abort' was not declared in this scope > ./../prg/refpointer.h: In member function 'void > RefPointerBase::_attach(RefPointerObject*)': > ./../prg/refpointer.h:128: error: 'abort' was not declared in this scope > ./../prg/refpointer.h: In member function 'void > RefPointerBase::setAutoDelete(bool)': > ./../prg/refpointer.h:391: error: 'abort' was not declared in this scope > ./../prg/refpointer.h: In member function 'T& RefPointer<T>::ref() const': > ./../prg/refpointer.h:550: error: there are no arguments to 'abort' that > depend on a template parameter, so a declaration of 'abort' must be available > ./../prg/refpointer.h:550: error: (if you use '-fpermissive', G++ will accept > your code, but allowing the use of an undeclared name is deprecated) > ./../prg/refpointer.h: In static member function 'static RefPointer<T> > RefPointerCast<T, U>::cast(const RefPointer<U>&)': > ./../prg/refpointer.h:758: error: there are no arguments to 'abort' that > depend on a template parameter, so a declaration of 'abort' must be available > make[8]: *** [txlist.lo] Error 1 --- src/kbanking/libs/prg/refpointer.h~ 2007-04-02 21:34:55.000000000 +0000 +++ src/kbanking/libs/prg/refpointer.h 2007-04-02 21:35:09.000000000 +0000 @@ -32,6 +32,7 @@ * * @short Smart pointer RefPointer with helper classes. No C wrappers.*/ +#include <cstdlib> #include <assert.h> #include <gwenhywfar/debug.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

