[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] PyQt-3.13 for Python-2.4
From:       "Phil Thompson" <phil () riverbankcomputing ! co ! uk>
Date:       2004-12-14 9:36:54
Message-ID: 46488.82.68.80.137.1103017014.squirrel () 82 ! 68 ! 80 ! 137
[Download RAW message or body]

> I'm sorry. I've forgotten Qt-version.
>
> I encountered compile error.
>
> Linux + Python-2.4 + sip-4.1.1 + PyQt-3.13 with Qt-3.1.2
>
> $ make
>
> make[1]: Entering directory `/home/opensrc/PyQt-x11-gpl-3.13/qttable'
> g++ -c -pipe -fPIC -O2 -Wall -W -DQT_NO_DEBUG -I.
> -I/opt/python24/include/python2.4 -I/usr/lib/qt/include
> -I/usr/X11R6/include -o sipqttableQTable.o sipqttableQTable.cpp
> sipqttableQTable.cpp: In method `enum sipQTable::sipEditMode
> sipQTable::sipProtect_editMode()':
> sipqttableQTable.cpp:4413: static_cast from `QTable::EditMode' to
> `sipQTable::sipEditMode'
> sipqttableQTable.cpp:4414: warning: control reaches end of non-void
> function `sipQTable::sipProtect_editMode()'
> make[1]: *** [sipqttableQTable.o] Error 1
> make[1]: Leaving directory `/home/opensrc/PyQt-x11-gpl-3.13/qttable'
> make: *** [all] Error 2

Are you using an old compiler? You might try the current SIP snapshot
which has the change from using static_cast instead of a C style cast
backed out - there are too many old compilers out there. Or you can change
the offending line manually.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic