On Jun 3, 2009, at 12:07 AM, Andrew Collette wrote:

> Hi,
>
> I noticed there's an errant C99-style comment in the generated C code
> for the method __Pyx_PyObject_Append:
>
> return Py_None; // this is just to have an accurate signature
>
> Unfortunately this breaks compilation with the -ansi option, which is
> currently how my project is compiled on OS X.  This is with the
> current public version of Cython (0.11.2).  As a temporary workaround
> I'm using the += operator instead of append().

Strange--it looks like this was fixed months ago:

http://hg.cython.org/cython-devel/diff/8b6d42d16c99/Cython/Compiler/ 
ExprNodes.py

Maybe you need to touch the .pyx to re-generate the sources. It is  
gratifying to hear that is the only issue--should we be running our  
tests with this option? (Or is it gcc only?)

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to