Package: libaqhbci-qt-tools Version: 1.0.4.99+1.0.5beta-2 Severity: normal Tags: patch
When building 'libaqhbci-qt-tools' on amd64/unstable with gcc-4.0, I get the following error: /usr/include/qt3/qfiledialog.h:78: warning: 'class QFilePreview' has virtual functions but non-virtual destructor wizard.cpp: In member function 'bool Wizard::_doPage(QWidget*)': wizard.cpp:337: error: cast from 'QWidget*' to 'unsigned int' loses precision wizard.cpp: In member function 'virtual void Wizard::reject()': wizard.cpp:403: error: cast from 'QWidget*' to 'unsigned int' loses precision make[7]: *** [wizard.lo] Error 1 make[7]: Leaving directory `/libaqhbci-qt-tools-1.0.4.99+1.0.5beta/src/libs/dialogs' With the attached patch 'libaqhbci-qt-tools' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/libaqhbci-qt-tools-1.0.4.99+1.0.5beta/src/libs/dialogs/wizard.cpp ./src/libs/dialogs/wizard.cpp --- ../tmp-orig/libaqhbci-qt-tools-1.0.4.99+1.0.5beta/src/libs/dialogs/wizard.cpp 2005-04-14 06:32:09.000000000 +0200 +++ ./src/libs/dialogs/wizard.cpp 2005-06-17 15:10:12.000000000 +0200 @@ -334,7 +334,7 @@ } if (rv) { - DBG_NOTICE(0, "Pushing page %08x", (unsigned int)p); + DBG_NOTICE(0, "Pushing page %lx", (unsigned long)p); _pagesDone.push_front(p); } return rv; @@ -400,7 +400,7 @@ bool rv; p=_pagesDone.front(); - DBG_NOTICE(0, "Undoing page %08x", (unsigned int)(p)); + DBG_NOTICE(0, "Undoing page %lx", (unsigned long)(p)); rv=_undoPage(p); if (!rv) _pagesDone.pop_front(); -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]