[PyQt] error: invalid conversion from ‘const char*’ to ‘char*’
Guðjón Guðjónsson
gudjon.i.gudjonsson at gmail.com
Fri Jun 26 09:48:13 BST 2009
Hi
I am trying to fix one of the packages I maintain in Debian. Recently I
get the following error message:
g++ -c -pipe -fPIC -g -O2 -Os -Wall -W -D_REENTRANT -DNDEBUG
-DGL2PS_HAVE_ZLIB -DHAS_NUMPY -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB
-DQT_OPENGL_LIB -I. -I/usr/include/qwtplot3d-qt4 -I/usr/include/python2.5
-I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/qt4/Qt
-I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4
-I/usr/X11R6/include -o sip_Qwt3Dcmodule.o sip_Qwt3Dcmodule.cpp
../sip/qwt3d_plot.sip: In function ‘const sipTypeDef*
sipSubClass_Plot3D(void**)’:
../sip/qwt3d_plot.sip:50: error: invalid conversion from ‘const char*’ to
‘char*’
../sip/qwt3d_plot.sip:50: error: invalid conversion from ‘const char*’ to
‘char*’
make[2]: *** [sip_Qwt3Dcmodule.o] Error 1
According to the information it may depend on that gcc and sip don't use the
same sip.h file but I don't think
that is the problem in my case.
Does anyone have a hint on how to solve this?
Thanks
Gudjon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090626/7a2dcd0e/attachment.html
More information about the PyQt
mailing list