[Stackless] Python 2.5 & Strange Compilation Warning

Richard Tew richard.m.tew at gmail.com
Fri Mar 30 09:16:58 CEST 2007

On 3/30/07, Benjamin Tolputt <bjt at pmp.com.au> wrote:
> Looking at the source code in question, it would appear that
> 'PyEval_EvalFrameEx_slp' is the only function without a PyAPI_FUNC(...)
> wrapper around the return value. I do not know enough about the
> internals of Stackless to know whether I should change this or not.
> Given that the rest of Stackless has no warnings associated with the
> compilation - I am curious as to what makes this function special or why
> (if it is not special) the warning is raised?

Sloppy programming by me! :-)

As you can see, the prototype in ceval.h has the PyAPI_FUNC.  This
just needs to be cleaned up.  It is interesting that my compiler (Visual
Studio) doesn't pick up on a few things people are pointing out now.

I'll clean this up when I get home.


Stackless mailing list
Stackless at stackless.com

More information about the Stackless mailing list