[PyKDE] Error compiling PyQt 3.13

Fredrik Juhlin laz at strakt.com
Mon Oct 4 13:00:53 BST 2004


Hi,

I'm having problems compiling the latest PyQt on a Debian stable box.

When compiling the QTable wrapper I get the following output:

make[2]: Entering directory 
`/usr/local/capsenv/compile/release/PyQt-commercial-3.13/qttable'
g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
-I. -I/usr/local/capsenv/release/include/python2.3 
-I/usr/local/capsenv/compile/release/qt-x11-commercial-3.3.3/include 
-I/usr/X11R6/include -o sipqttablepart0.o sipqttablepart0.cpp
sipqttablepart0.cpp: In method `enum sipQTable::sipEditMode 
sipQTable::sipProtect_editMode()':
sipqttablepart0.cpp:7857: static_cast from `QTable::EditMode' to 
`sipQTable::sipEditMode'
sipqttablepart0.cpp:7858: warning: control reaches end of non-void function 
`sipQTable::sipProtect_editMode()'
make[2]: *** [sipqttablepart0.o] Error 1
make[2]: Leaving directory 
`/usr/local/capsenv/compile/release/PyQt-commercial-3.13/qttable'
make[1]: *** [all] Error 2

There is a slight delay (>4 seconds) between the warning and Make reporting an 
error.
However, when I compile on a Gentoo box, I dont get an error.
I'm using:

PyQt 3.13
SIP 4.1.1
Qt 3.3.3 
Python 2.3.3
GCC 2.95.4 (Debian) 3.3.4 (Gentoo)

Could this be a problem with the GCC version?

//Fredrik




More information about the PyQt mailing list