[PyQt] Error compiling siplib.c 4.8.1, visual c++ 7 (.net), python 2.4.4

Jim Crowell jaclists at mailbolt.com
Thu Jul 9 17:07:18 BST 2009


The initializers for the PyNumberMethods on line 6940 of siplib.c:

/* The number methods data structure. */
static PyNumberMethods sipVoidPtr_NumberMethods = {

...contains an item that isn't present in c:\python24\include\object.h:

    0                       /* nb_index */

...which causes visual c++ 7 to barf, although MinGW g++ is OK with it.
When I comment this line out, it builds.

-Jim C.


More information about the PyQt mailing list