Problem using VC6sp5 to compile extensions - PyObject_HEAD_INIT

John Machin sjmachin at lexicon.net
Tue May 14 16:41:22 EDT 2002


Richard Jones <rjones at ekit-inc.com> wrote in message news:<mailman.1021357343.26170.python-list at python.org>...
> I've had a bug report for the kjbuckets module:
>  
> http://sourceforge.net/tracker/?func=detail&atid=100662&aid=555391&group_id=662
> 
> In summary, trying to "python setup.py install" the kjbuckets module 
> distributed with the new Gadfly package results in:
> 
> """
> kjbucketsmodule.c(3301) : error C2099: initializer is not a constant
> kjbucketsmodule.c(3321) : error C2099: initializer is not a constant
> kjbucketsmodule.c(3341) : error C2099: initializer is not a constant
> 

Billy Gates don't lie, man! As the *MANUAL* points out, what you have
is not "strictly conforming C". Please read

   http://www.python.org/doc/current/ext/dnt-basics.html

and the *FAQ*:

   http://www.python.org/doc/FAQ.html#3.24



More information about the Python-list mailing list