Problem using VC6sp5 to compile extensions - PyObject_HEAD_INIT

Richard Jones rjones at ekit-inc.com
Tue May 14 23:19:06 EDT 2002


On Wed, 15 May 2002 06:41, John Machin wrote:
> 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

I have already apologised once for not performing a web search before posting. 
I had inherited the module from another programmer, and assumed that the 
problem I had run into was unique, or it would already have been fixed. I 
will not make that assumption again.

Thanks to all who responded.


   Richard






More information about the Python-list mailing list