[PyQt] Fwd: compile errors
Ismail Dönmez
ismail at pardus.org.tr
Sun Jul 1 23:57:40 BST 2007
On Monday 02 July 2007 01:38:22 Thomas Kocourek wrote:
> Let's try the correct mailing list 8-)
Try the following patch from Fedora:
http://cvs.fedora.redhat.com/viewcvs/*checkout*/rpms/PyKDE/devel/PyKDE-3.16.0-python25.patch
/ismail
>
> ---------- Forwarded message ----------
> From: Thomas Kocourek <tkocou at gmail.com>
> Date: Sun, 1 Jul 2007 18:33:53 -0400
> Subject: compile errors
> To: PyKDE at mats.imk.fraunhofer.de
>
> I followed the instructions to compile PyKDE. The TROUBLESHOOTING
> instructions ask that compile errors get reported. I get the following
> compiler errors:
>
> g++ -c -Wno-deprecated-declarations -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -W
> -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde353
> -I/usr/include/kde -I/usr/include/python2.5
> -I/usr/lib64/qt-3.3/mkspecs/default -I/usr/lib64/qt-3.3/include -o
> sipkdecorepart0.o sipkdecorepart0.cpp
> sip/kdecore/ktimezones.sip: In function 'int
> convertTo_KTimezones_ZoneMap(PyObject*, void**, int*, PyObject*)':
> sip/kdecore/ktimezones.sip:247: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '2' to 'int PyDict_Next(PyObject*,
> Py_ssize_t*, PyObject**, PyObject**)'
> sip/kdecore/kmountpoint.sip: In function 'PyObject*
> convertFrom_KMountPoint_List(void*, PyObject*)':
> sip/kdecore/kmountpoint.sip:142: warning: taking address of temporary
> sipkdecorepart0.cpp: In function 'void release_Display(void*, int)':
> sipkdecorepart0.cpp:33440: warning: possible problem detected in
> invocation of delete operator:
> sipkdecorepart0.cpp:33440: warning: invalid use of undefined type
> 'struct _XDisplay'
> /usr/lib64/qt-3.3/include/qwindowdefs.h:141: warning: forward
> declaration of 'struct _XDisplay'
> sipkdecorepart0.cpp:33440: note: neither the destructor nor the
> class-specific operator delete will be called, even if they are
> declared when the class is defined.
> sipkdecorepart0.cpp: At global scope:
> sipkdecorepart0.cpp:33446: warning: unused parameter 'sipPy'
> sipkdecorepart0.cpp:33446: warning: unused parameter 'sipIsErr'
> sipkdecorepart0.cpp: In function 'PyObject* convertFrom_Display(void*,
> PyObject*)':
> sipkdecorepart0.cpp:33487: warning: unused variable 'sipCpp'
> sipkdecorepart0.cpp: At global scope:
> sipkdecorepart0.cpp:38302: warning: overflow in implicit constant
> conversion sip/kdecore/kurl.sip: In function 'PyObject*
> slot_KURL_List___getitem__(PyObject*, PyObject*)':
> sip/kdecore/kurl.sip:329: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '3' to 'int
> PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*,
> Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
> sip/kdecore/kurl.sip: In function 'int
> slot_KURL_List___delitem__(PyObject*, PyObject*)':
> sip/kdecore/kurl.sip:297: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '3' to 'int
> PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*,
> Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
> sip/kdecore/kurl.sip: In function 'int
> slot_KURL_List___setitem__(PyObject*, PyObject*)':
> sip/kdecore/kurl.sip:255: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '3' to 'int
> PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*,
> Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
> sip/kdecore/kconfigdata.sip: In function 'int
> convertTo_KEntryMap(PyObject*, void**, int*, PyObject*)':
> sip/kdecore/kconfigdata.sip:153: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '2' to 'int PyDict_Next(PyObject*,
> Py_ssize_t*, PyObject**, PyObject**)'
> sip/kdecore/kconfigbase.sip: In function 'PyObject*
> convertFrom_ulonglong(void*, PyObject*)':
> sip/kdecore/kconfigbase.sip:309: warning: unused variable 'LongLong'
> sip/kdecore/kcompletion.sip: In function 'int
> convertTo_KCompletionBase_KeyBindingMap(PyObject*, void**, int*,
> PyObject*)':
> sip/kdecore/kcompletion.sip:208: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '2' to 'int PyDict_Next(PyObject*,
> Py_ssize_t*, PyObject**, PyObject**)'
> sip/kdecore/kwinmodule.sip: In function 'int
> convertTo_QValueList_2100(PyObject*, void**, int*, PyObject*)':
> sip/kdecore/kwinmodule.sip:142: warning: dereferencing type-punned
> pointer will break strict-aliasing rules
> sip/kdecore/kwinmodule.sip: In function 'PyObject*
> convertFrom_QValueList_2100(void*, PyObject*)':
> sip/kdecore/kwinmodule.sip:111: warning: unused variable 'inst'
> sip/kdecore/kmacroexpander.sip: In function 'int
> convertTo_QMap_0200QChar_0200QStringList(PyObject*, void**, int*,
> PyObject*)':
> sip/kdecore/kmacroexpander.sip:341: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '2' to 'int PyDict_Next(PyObject*,
> Py_ssize_t*, PyObject**, PyObject**)'
> sip/kdecore/kmacroexpander.sip: In function 'int
> convertTo_QMap_0200QString_0200QStringList(PyObject*, void**, int*,
> PyObject*)':
> sip/kdecore/kmacroexpander.sip:258: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '2' to 'int PyDict_Next(PyObject*,
> Py_ssize_t*, PyObject**, PyObject**)'
> sip/kdecore/kmacroexpander.sip: In function 'int
> convertTo_QMap_0200QChar_0200QString(PyObject*, void**, int*,
> PyObject*)':
> sip/kdecore/kmacroexpander.sip:176: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '2' to 'int PyDict_Next(PyObject*,
> Py_ssize_t*, PyObject**, PyObject**)'
> sip/kdecore/kconfig.sip: In function 'int
> convertTo_QMap_0200QString_0200QString(PyObject*, void**, int*,
> PyObject*)':
> sip/kdecore/kconfig.sip:165: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '2' to 'int PyDict_Next(PyObject*,
> Py_ssize_t*, PyObject**, PyObject**)'
> sip/kdecore/kaccel.sip: In function 'int
> convertTo_QMap_1800_0200QString(PyObject*, void**, int*, PyObject*)':
> sip/kdecore/kaccel.sip:216: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '2' to 'int PyDict_Next(PyObject*,
> Py_ssize_t*, PyObject**, PyObject**)'
> sip/kdecore/bytearray.sip: In function 'int
> convertTo_QMap_0200QString_0200DCOPRef(PyObject*, void**, int*,
> PyObject*)':
> sip/kdecore/bytearray.sip:724: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '2' to 'int PyDict_Next(PyObject*,
> Py_ssize_t*, PyObject**, PyObject**)'
> sip/kdecore/bytearray.sip: In function 'int
> convertTo_QMap_0200QCString_0200DCOPRef(PyObject*, void**, int*,
> PyObject*)':
> sip/kdecore/bytearray.sip:640: error: cannot convert 'int*' to
> 'Py_ssize_t*' for argument '2' to 'int PyDict_Next(PyObject*,
> Py_ssize_t*, PyObject**, PyObject**)'
> make[1]: *** [sipkdecorepart0.o] Error 1
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
--
Perfect is the enemy of good
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070701/a6f40a0d/attachment.bin
More information about the PyQt
mailing list