On Mon, 30 Mar 2009 13:20:53 +0200, Oliver Heyme <[email protected]> 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 [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
