[PyKDE] More on GCC 2.96

Jesper Eskilson jojo at virtutech.se
Wed Oct 11 13:54:49 BST 2000


When compiling PyQt using 2.96, I get the following error messages:

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/python2.0 -I/usr/local/include/sip -I/usr/local/qt-2.2.1/include -I/usr/X11R6/include -fno-exceptions -O2 -Wp,-MD,.deps/sipqtQWhatsThis.pp -c  -fPIC -DPIC sipqtQWhatsThis.cpp -o sipqtQWhatsThis.lo
sipqtQWhatsThis.cpp: In function `PyObject *sipNew_QWhatsThis (PyObject 
*, PyObject *)':
sipqtQWhatsThis.cpp:1020: cannot convert `sipProxy *(*) ()' to `void *' 
in initialization

One workaround is to add an explicit cast to (void *), but there seems to
be a lot of places where this needs to be done, and most of them are in
automaticall generated code (by sip). I tried to hack sip to emit the
void-cast directly, but the files above does not seem to be re-generated
when building PyQt.

Any ideas?

/Jesper
-- 
-------------------------------------------------------------------------
Jesper Eskilson                                         jojo at virtutech.se
Virtutech                                         http://www.virtutech.se
-------------------------------------------------------------------------





More information about the PyQt mailing list