Re: [Cython] A bug when declare array.

2013-08-27 Thread yi huang
I just chooses a large enough buffer size, there is not much to waste anyway. On Tue, Aug 27, 2013 at 3:43 PM, Sturla Molden wrote: > > > > Den 22. aug. 2013 kl. 06:01 skrev Robert Bradshaw : > >> On Sat, Aug 17, 2013 at 3:31 AM, yi huang wrote: >>> I use cython 0.19.1, when compile following co

Re: [Cython] A bug when declare array.

2013-08-27 Thread Sturla Molden
Den 22. aug. 2013 kl. 06:01 skrev Robert Bradshaw : > On Sat, Aug 17, 2013 at 3:31 AM, yi huang wrote: >> I use cython 0.19.1, when compile following code: >> >> cdef void some_function(): >>cdef char buf[sizeof(long)*8/3+6] >> >> Got error message: >> >> Error compiling Cython file: >>

Re: [Cython] A bug when declare array.

2013-08-21 Thread Robert Bradshaw
On Sat, Aug 17, 2013 at 3:31 AM, yi huang wrote: > I use cython 0.19.1, when compile following code: > > cdef void some_function(): > cdef char buf[sizeof(long)*8/3+6] > > Got error message: > > Error compiling Cython file: > > ... >

[Cython] A bug when declare array.

2013-08-19 Thread yi huang
I use cython 0.19.1, when compile following code: cdef void some_function(): cdef char buf[sizeof(long)*8/3+6] Got error message: Error compiling Cython file: ... cdef void some_function(): cdef char buf[sizeof(long)*8/3+6]