[PyKDE] Problems with sip snapshot 20060110

Phil Thompson phil at riverbankcomputing.co.uk
Wed Jan 11 08:19:10 GMT 2006


On Wednesday 11 January 2006 6:01 am, Douglas Andrade wrote:
> Hi,
>
> I cant build it.
>
> Error:
>
> gcc -c -pipe -fPIC -O2 -w -I. -I/usr/include/python2.4 -o siplib.o siplib.c
> siplib.c:3923: error: static declaration of 'addSingleEnumInstance'
> follows non-static declaration
> siplib.c:3908: error: previous implicit declaration of
> 'addSingleEnumInstance' was here
> make[1]: *** [siplib.o] Error 1
> make[1]: Leaving directory
> `/home/douglas/pacotes/pkgs/sip/src/sip-snapshot-20060110/siplib'
> make: *** [all] Error 2

Picky compiler. Just add the function prototype for addSingleEnumInstance() to 
the block of them at the start of siplib.c.

Phil




More information about the PyQt mailing list