Re: [Cython] Cython 0.16 issue Windows with Mingw32

2012-04-24 Thread Stefan Behnel
Nathan Dunfield, 24.04.2012 14:22: > On Apr 23, 2012, at 1:28 PM, Stefan Behnel wrote: >> Hmm, that line basically just says "PyCFunction_Call", which is a >> function exported by CPython. I wonder why gcc would consider this >> "not a constant". >> >> Could you check if the preprocessor (gcc -E,

Re: [Cython] Cython 0.16 issue Windows with Mingw32

2012-04-24 Thread Nathan Dunfield
On Apr 23, 2012, at 1:28 PM, Stefan Behnel wrote: > Hmm, that line basically just says "PyCFunction_Call", which is a function > exported by CPython. I wonder why gcc would consider this "not a constant". > > Could you check if the preprocessor (gcc -E, with all the above includes) > also sees tha

Re: [Cython] Cython 0.16 issue Windows with Mingw32

2012-04-24 Thread Vitja Makarov
2012/4/24 Stefan Behnel : > Stefan Behnel, 23.04.2012 20:28: >> Nathan Dunfield, 23.04.2012 17:58: >>> I've encountered the following issue with Cython 0.16 on Windows with >>> using the Mingw32 compiler (I'm using Python 3.2 here, but I don't think >>> that's the issue): >>> >>> $ python3 setup.py

Re: [Cython] Cython 0.16 issue Windows with Mingw32

2012-04-24 Thread Stefan Behnel
Stefan Behnel, 23.04.2012 20:28: > Nathan Dunfield, 23.04.2012 17:58: >> I've encountered the following issue with Cython 0.16 on Windows with >> using the Mingw32 compiler (I'm using Python 3.2 here, but I don't think >> that's the issue): >> >> $ python3 setup.py build -c mingw32 >> running build