[PyQt] SIP_STATIC_MODULE bug?
phil at riverbankcomputing.com
Mon Mar 30 12:49:47 BST 2009
On Mon, 30 Mar 2009 13:20:53 +0200, Oliver Heyme <olihey at googlemail.com>
> 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()
> PyMODINIT_FUNC SIP_MODULE_ENTRY()
> 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
It's a SIP bug in the Python v3 support - it will be fixed in tonight's
More information about the PyQt