Version: (using KDE KDE 3.1.4) Installed from: Gentoo Packages `x_QFont.cpp x_QFont.cpp: In static member function `static void x_QFont::x_75(Smoke::StackItem*)': x_QFont.cpp:236: `HanX11' is not a member of type `QFont' x_QFont.cpp: In static member function `static void x_QFont::x_76(Smoke::StackItem*)': x_QFont.cpp:239: `LatinBasic' is not a member of type `QFont' x_QFont.cpp: In static member function `static void x_QFont::x_77(Smoke::StackItem*)': x_QFont.cpp:242: `LatinExtendedA_2' is not a member of type `QFont' x_QFont.cpp: In static member function `static void x_QFont::x_78(Smoke::StackItem*)': x_QFont.cpp:245: `LatinExtendedA_3' is not a member of type `QFont' x_QFont.cpp: In static member function `static void x_QFont::x_79(Smoke::StackItem*)': x_QFont.cpp:248: `LatinExtendedA_4' is not a member of type `QFont' x_QFont.cpp: In static member function `static void x_QFont::x_80(Smoke::StackItem*)': x_QFont.cpp:251: `LatinExtendedA_14' is not a member of type `QFont' x_QFont.cpp: In static member function `static void x_QFont::x_81(Smoke::StackItem*)': x_QFont.cpp:254: `LatinExtendedA_15' is not a member of type `QFont' make[3]: *** [x_QFont.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebindings-3.1.4/work/kdebindings-3.1.4/smoke/qt' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebindings-3.1.4/work/kdebindings-3.1.4/smoke' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebindings-3.1.4/work/kdebindings-3.1.4' make: *** [all] Error 2 gcc-3.2.3 CFLAGS="-O2 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -funroll-loops -fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387"
*** Bug 63878 has been marked as a duplicate of this bug. ***
I can confirm that this bug exists:- Solaris 8, GCC 3.3.1, QT 3.2.1, KDE 3.1.4
Subject: KDE_3_1_BRANCH: kdebindings/smoke/qt CVS commit by ggarand: fix libsmokeqt compilation with Qt-3.2.1 CCMAIL:64504-done@bugs.kde.org M +37 -6 x_QFont.cpp 1.13.2.2 M +8 -0 x_QHBox.cpp 1.17.2.3 M +5 -1 x_Qt.cpp 1.13.2.3 --- kdebindings/smoke/qt/x_QFont.cpp #1.13.2.1:1.13.2.2 @@ -234,23 +234,54 @@ public: } static void x_75(Smoke::Stack x) { +#if QT_VERSION < 0x030200 x[0].s_enum = (long)QFont::HanX11; +#else + x[0].s_enum = 0L; +#endif } static void x_76(Smoke::Stack x) { +#if QT_VERSION < 0x030200 x[0].s_enum = (long)QFont::LatinBasic; +#else + x[0].s_enum = 0L; +#endif + } static void x_77(Smoke::Stack x) { +#if QT_VERSION < 0x030200 x[0].s_enum = (long)QFont::LatinExtendedA_2; +#else + x[0].s_enum = 0L; +#endif + } static void x_78(Smoke::Stack x) { +#if QT_VERSION < 0x030200 x[0].s_enum = (long)QFont::LatinExtendedA_3; +#else + x[0].s_enum = 0L; +#endif + } static void x_79(Smoke::Stack x) { +#if QT_VERSION < 0x030200 x[0].s_enum = (long)QFont::LatinExtendedA_4; +#else + x[0].s_enum = 0L; +#endif } static void x_80(Smoke::Stack x) { +#if QT_VERSION < 0x030200 x[0].s_enum = (long)QFont::LatinExtendedA_14; +#else + x[0].s_enum = 0L; +#endif } static void x_81(Smoke::Stack x) { +#if QT_VERSION < 0x030200 x[0].s_enum = (long)QFont::LatinExtendedA_15; +#else + x[0].s_enum = 0L; +#endif } static void x_82(Smoke::Stack x) { --- kdebindings/smoke/qt/x_QHBox.cpp #1.17.2.2:1.17.2.3 @@ -144,5 +144,9 @@ public: x[0].s_class = (void*)xret; } +#if QT_VERSION < 0x030200 x_QHBox(bool x1, QWidget* x2) : QHBox(x1, x2) { +#else + x_QHBox(bool x1, QWidget* x2) : QHBox(x1, x2, 0) { +#endif } static void x_22(Smoke::Stack x) { @@ -151,5 +155,9 @@ public: x[0].s_class = (void*)xret; } +#if QT_VERSION < 0x030200 x_QHBox(bool x1) : QHBox(x1) { +#else + x_QHBox(bool x1) : QHBox(x1, 0, 0) { +#endif } void x_23(Smoke::Stack x) { --- kdebindings/smoke/qt/x_Qt.cpp #1.13.2.2:1.13.2.3 @@ -156,5 +156,9 @@ public: } static void x_49(Smoke::Stack x) { - x[0].s_enum = (long)Qt::WState_Reserved2; +#if QT_VERSION < 0x030200 + x[0].s_enum = (long) Qt::WState_Reserved2; +#else + x[0].s_enum = (long) Qt::WState_OwnSizePolicy; +#endif } static void x_50(Smoke::Stack x) {
Thx, Germain, this patch helped, but now I get another error. Can someone please validate whether this is a general bug or whether it's a local bug on my machine? Here's the error i get now: kde_KBindingPropsPlugin.cpp:43: warning: deprecated conversion from string constant to `char*' if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I../../../qtc/clib -I../../../qtc/clib/qtc -I/opt/kde-3.1.4/include -I/opt/qt-3.2.1/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -MT kde_KAutoUnmount.lo -MD -MP -MF ".deps/kde_KAutoUnmount.Tpo" \ -c -o kde_KAutoUnmount.lo `test -f 'kde_KAutoUnmount.cpp' || echo './'`kde_KAutoUnmount.cpp; \ then mv ".deps/kde_KAutoUnmount.Tpo" ".deps/kde_KAutoUnmount.Plo"; \ else rm -f ".deps/kde_KAutoUnmount.Tpo"; exit 1; \ fi kde_KAutoUnmount.cpp:26: error: base `KAutoUnmount' with only non-default constructor in class without a constructor kde_KAutoUnmount.cpp: In member function `virtual void KAutoUnmountBridge::customEvent(QCustomEvent*)': kde_KAutoUnmount.cpp:34: warning: deprecated conversion from string constant to `char*' kde_KAutoUnmount.cpp:34: warning: deprecated conversion from string constant to `char*' kde_KAutoUnmount.cpp: In member function `virtual void KAutoUnmountBridge::timerEvent(QTimerEvent*)': kde_KAutoUnmount.cpp:40: warning: deprecated conversion from string constant to `char*' kde_KAutoUnmount.cpp:40: warning: deprecated conversion from string constant to `char*' kde_KAutoUnmount.cpp: In member function `virtual void KAutoUnmountBridge::childEvent(QChildEvent*)': kde_KAutoUnmount.cpp:46: warning: deprecated conversion from string constant to `char*' kde_KAutoUnmount.cpp:46: warning: deprecated conversion from string constant to `char*' make[4]: *** [kde_KAutoUnmount.lo] Error 1 make[4]: Leaving directory `/var/quad/qbs/kde/kdebindings/kdebindings_3.1.4/src/kdebindings-3.1.4/kdec/clib/kdec' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/quad/qbs/kde/kdebindings/kdebindings_3.1.4/src/kdebindings-3.1.4/kdec/clib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/quad/qbs/kde/kdebindings/kdebindings_3.1.4/src/kdebindings-3.1.4/kdec' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/quad/qbs/kde/kdebindings/kdebindings_3.1.4/src/kdebindings-3.1.4' make: *** [all] Error 2
I got the same errors as Roman, so it's not his local bug.