Re: [Cython] Constant pointers not working

2013-04-02 Thread Robert Bradshaw
Looks good to me. On Tue, Apr 2, 2013 at 10:20 AM, Volker Mische wrote: > On 03/22/2013 02:47 PM, Volker Mische wrote: >> Hi all, >> >> I was excited to see that 'const' is finally supported, but constant >> pointers are not. Here's an example with the corresponding error: >> >> Error compiling C

Re: [Cython] [cython-users] ANN: XDress v0.1 -- Automatic Code Generator and C/C++ Wrapper

2013-04-02 Thread Anthony Scopatz
On Tue, Apr 2, 2013 at 2:17 PM, Dag Sverre Seljebotn < d.s.seljeb...@astro.uio.no> wrote: > [Crossing over to cython-devel to discuss further development] > > Wow, my first impression is this looks great! > Thanks Dag! > It's a shame that clang wasn't able to give a good enough parse tree for >

Re: [Cython] Constant pointers not working

2013-04-02 Thread Volker Mische
On 03/22/2013 02:47 PM, Volker Mische wrote: > Hi all, > > I was excited to see that 'const' is finally supported, but constant > pointers are not. Here's an example with the corresponding error: > > Error compiling Cython file: > > ...

Re: [Cython] Bug: Returning real value crashes the code, complex value does not

2013-04-02 Thread Nikita Nemkin
Hi, For your information, I was not able to reproduce the crash in the following environment: * Python 2.7.3 (x86, download from python.org) * gcc (GCC) 4.7.2 (download from mingw.org) * Windows 7 x64 The immediate fix for your problem seems to be upgrading gcc. Note: using gcc 4.7 on Windows