Hi, > Strange--it looks like this was fixed months ago: > > http://hg.cython.org/cython-devel/diff/8b6d42d16c99/Cython/Compiler/ > ExprNodes.py
It looks like for some reason Cython wasn't being upgraded correctly; after sudo python setup.py install, cython --version still reported 0.10.3. I had to manually delete the Cython directory in site-packages and reinstall to get it to report 0.11.2. But it works now! > 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?) I think all major compilers have a strict-ansi mode, although I'm sure the switch is different for VC++. I currently only use it with gcc on OS X for compatibility with another package that looks for __STRICT_ANSI__. However, if Cython is intended to generate pure C89 code it might be worth adding this as a test. At the moment it seems this is already the case; my large-ish (9k line) Cython project now compiles fine with -ansi. Thanks! Andrew _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
