Bug 153344

Summary: kdebindings 3.96.2 fails to compile
Product: [Developer tools] bindings Reporter: Tobias Powalowski <t.powa>
Component: generalAssignee: kde-bindings
Status: RESOLVED FIXED    
Severity: normal CC: avelten, crazy
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tobias Powalowski 2007-12-03 14:11:07 UTC
Version:           3.96.2 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.2 
OS:                Linux

while compiling kdebindings 3.96.2 this error appears:
 [  4%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_6.o
/usr/bin/c++   -Dsmokeqt_EXPORTS -march=x86-64 -mtune=generic -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -fPIC -I/home/tobias/Arch/devel/kde4/kdebindings/src/build/smoke/qt -I/home/tobias/Arch/devel/kde4/kdebindings/src/kdebindings-3.96.2/smoke/qt -I/home/tobias/Arch/devel/kde4/kdebindings/src/kdebindings-3.96.2 -I/home/tobias/Arch/devel/kde4/kdebindings/src/build -I/home/tobias/Arch/devel/kde4/kdebindings/src/kdebindings-3.96.2/smoke/qt/.. -I/home/tobias/Arch/devel/kde4/kdebindings/src/kdebindings-3.96.2/smoke -I/usr/include/Qt -I/usr/share/qt/mkspecs/default -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtAssistant -I/usr/include/QtDesigner -I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtSql -I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtScript -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtDBus -I/usr/include/KDE -I/usr/include/Qsci -I/usr/include/qwt   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DQT_3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -o smoke/qt/CMakeFiles/smokeqt.dir/x_6.o -c /home/tobias/Arch/devel/kde4/kdebindings/src/build/smoke/qt/x_6.cpp
/home/tobias/Arch/devel/kde4/kdebindings/src/build/smoke/qt/x_6.cpp: In static member function 'static void x_QGlobalSpace::x_411(Smoke::StackItem*)':
/home/tobias/Arch/devel/kde4/kdebindings/src/build/smoke/qt/x_6.cpp:5844: error: call of overloaded 'qHash(double)' is ambiguous
/usr/include/QtCore/qhash.h:58: note: candidates are: uint qHash(char)
/usr/include/QtCore/qhash.h:59: note:                 uint qHash(uchar)
/usr/include/QtCore/qhash.h:60: note:                 uint qHash(signed char)
/usr/include/QtCore/qhash.h:61: note:                 uint qHash(ushort)
/usr/include/QtCore/qhash.h:62: note:                 uint qHash(short int)
/usr/include/QtCore/qhash.h:63: note:                 uint qHash(uint)
/usr/include/QtCore/qhash.h:64: note:                 uint qHash(int)
/usr/include/QtCore/qhash.h:65: note:                 uint qHash(ulong)
/usr/include/QtCore/qhash.h:73: note:                 uint qHash(long int)
/usr/include/QtCore/qhash.h:74: note:                 uint qHash(quint64)
/usr/include/QtCore/qhash.h:82: note:                 uint qHash(qint64)
/usr/include/QtCore/qhash.h:83: note:                 uint qHash(QChar)
make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/x_6.o] Error 1
make[2]: Leaving directory `/home/tobias/Arch/devel/kde4/kdebindings/src/build'
make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2
make[1]: Leaving directory `/home/tobias/Arch/devel/kde4/kdebindings/src/build'
make: *** [all] Error 2
Comment 1 Pino Toscano 2007-12-03 22:49:37 UTC
*** Bug 153318 has been marked as a duplicate of this bug. ***
Comment 2 Armin Berres 2007-12-14 11:19:49 UTC
I just to tried build the rc2 bindings on Debian and it failed with the above error (just a slightly different line number 5814).
Comment 3 Gabriel C 2007-12-14 11:47:32 UTC
Without Qwt builds fine for me.
Comment 4 Andreas Velten 2010-01-06 18:15:30 UTC
I get almost the same error trying to compile qwt 5.2.0 with qt 4.6 under windows with qmake (same error in a different place within qwt). So this seems to be a qwt/qt problem.
Comment 5 Andrew Crouthamel 2018-11-02 22:57:42 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-11-16 05:35:51 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!