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

List:       pykde
Subject:    Re: [PyQt] SIP_STATIC_MODULE bug?
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2009-03-30 11:49:47
Message-ID: 3b4b17994150d6485c0cc9a3bd973853 () localhost
[Download RAW message or body]

On Mon, 30 Mar 2009 13:20:53 +0200, Oliver Heyme <olihey@googlemail.com>
wrote:
> Hi,
> 
> I compile my modules with the SIP_STATIC_MODULES flag!
> 
> But I get a lot of errors!
> When I checked the generated sources and it seems like there is a bug
> in the following lines.
> 
> #if defined(SIP_STATIC_MODULE)
> extern "C" void SIP_MODULE_ENTRY()
> #else
> PyMODINIT_FUNC SIP_MODULE_ENTRY()
> #endif
> 
> If SIP_STATIC_MODULE is defined it uses "void" and if not PyMODINIT_FUNC.
> When I change the void to PyMODEINIT_FUNC it works allright.
> 
> Is that a bug or do I need to do something else when using
> SIP_STATIC_MODULES

It's a SIP bug in the Python v3 support - it will be fixed in tonight's
snapshot.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

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