[PyQt] PyQt 4.6 build wanings

Mads Ipsen mpi at comxnet.dk
Sat Oct 17 11:04:17 BST 2009


Dear Phil,

Here's a little something for the purist

System:
========
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
Ubuntu 8.04
Qt 4.6-beta

Warnings:
==========
g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG 
-DQT_CORE_LIB -I. 
-I/home/mpi/tmp/Python/PyQt-x11-gpl-4.6.1-snapshot-20091014/qpy/QtCore 
-I/home/mpi/usr/include/python2.6 
-I/home/mpi/usr/Trolltech/Qt-4.6.0/mkspecs/default 
-I/home/mpi/usr/Trolltech/Qt-4.6.0/include/QtCore 
-I/home/mpi/usr/Trolltech/Qt-4.6.0/include -I/usr/X11R6/include -o 
sipQtCoreQDateTime.o sipQtCoreQDateTime.cpp
sip/QtCore/qdatetime.sip: In function ‘PyObject* 
meth_QDateTime_toPyDateTime(PyObject*, PyObject*)’:
sip/QtCore/qdatetime.sip:488: warning: deprecated conversion from string 
constant to ‘char*’
sip/QtCore/qdatetime.sip:488: warning: deprecated conversion from string 
constant to ‘char*’
sip/QtCore/qdatetime.sip: In function ‘int 
convertTo_QDateTime(PyObject*, void**, int*, PyObject*)’:
sip/QtCore/qdatetime.sip:360: warning: deprecated conversion from string 
constant to ‘char*’
sip/QtCore/qdatetime.sip:360: warning: deprecated conversion from string 
constant to ‘char*’
g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG 
-DQT_CORE_LIB -I. 
-I/home/mpi/tmp/Python/PyQt-x11-gpl-4.6.1-snapshot-20091014/qpy/QtCore 
-I/home/mpi/usr/include/python2.6 
-I/home/mpi/usr/Trolltech/Qt-4.6.0/mkspecs/default 
-I/home/mpi/usr/Trolltech/Qt-4.6.0/include/QtCore 
-I/home/mpi/usr/Trolltech/Qt-4.6.0/include -I/usr/X11R6/include -o 
sipQtCoreQTime.o sipQtCoreQTime.cpp
sip/QtCore/qdatetime.sip: In function ‘PyObject* 
meth_QTime_toPyTime(PyObject*, PyObject*)’:
sip/QtCore/qdatetime.sip:302: warning: deprecated conversion from string 
constant to ‘char*’
sip/QtCore/qdatetime.sip:302: warning: deprecated conversion from string 
constant to ‘char*’
sip/QtCore/qdatetime.sip: In function ‘int convertTo_QTime(PyObject*, 
void**, int*, PyObject*)’:
sip/QtCore/qdatetime.sip:214: warning: deprecated conversion from string 
constant to ‘char*’
sip/QtCore/qdatetime.sip:214: warning: deprecated conversion from string 
constant to ‘char*’
g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG 
-DQT_CORE_LIB -I. 
-I/home/mpi/tmp/Python/PyQt-x11-gpl-4.6.1-snapshot-20091014/qpy/QtCore 
-I/home/mpi/usr/include/python2.6 
-I/home/mpi/usr/Trolltech/Qt-4.6.0/mkspecs/default 
-I/home/mpi/usr/Trolltech/Qt-4.6.0/include/QtCore 
-I/home/mpi/usr/Trolltech/Qt-4.6.0/include -I/usr/X11R6/include -o 
sipQtCoreQDate.o sipQtCoreQDate.cpp
sip/QtCore/qdatetime.sip: In function ‘PyObject* 
meth_QDate_toPyDate(PyObject*, PyObject*)’:
sip/QtCore/qdatetime.sip:119: warning: deprecated conversion from string 
constant to ‘char*’
sip/QtCore/qdatetime.sip:119: warning: deprecated conversion from string 
constant to ‘char*’
sip/QtCore/qdatetime.sip: In function ‘int convertTo_QDate(PyObject*, 
void**, int*, PyObject*)’:
sip/QtCore/qdatetime.sip:55: warning: deprecated conversion from string 
constant to ‘char*’
sip/QtCore/qdatetime.sip:55: warning: deprecated conversion from string 
constant to ‘char*’

-- 
+-------------------------------------------------------------+
| Mads Ipsen, Scientific developer                            |
+-------------------------------+-----------------------------+
| QuantumWise A/S               | phone:         +45-29716388 |
| Nørre Søgade 27A              | www:    www.quantumwise.com |
| DK-1370 Copenhagen K, Denmark | email:  mpi at quantumwise.com |
+-------------------------------+-----------------------------+




More information about the PyQt mailing list