Re: Example with sprintf & %f from cffi manual crashes clisp on cygwin

2013-07-01 Thread Mirko Vukovic
On Mon, Jul 1, 2013 at 11:27 AM, Luís Oliveira wrote: > Mirko Vukovic writes: > > > Your comment brings to mind another issue I had. I was trying to > > fetch a signed integer 32 variable that contained error codes. But I > > was getting large negative numbers. I only got reasonable results >

Re: Example with sprintf & %f from cffi manual crashes clisp on cygwin

2013-07-01 Thread Luís Oliveira
Mirko Vukovic writes: > Your comment brings to mind another issue I had.  I was trying to > fetch a signed integer 32 variable that contained error codes.  But I > was getting large negative numbers.  I only got reasonable results > when I set the cffi code to look for an unsigned integer 32 > va

Re: Example with sprintf & %f from cffi manual crashes clisp on cygwin

2013-07-01 Thread Mirko Vukovic
On Mon, Jul 1, 2013 at 9:24 AM, Mirko Vukovic wrote: > On Mon, Jul 1, 2013 at 9:04 AM, Luís Oliveira wrote: > >> Mirko Vukovic writes: >> >> > The following example from section 10 of the cffi documentation is >> > causing a segmentation fault on clisp on cygwin: >> >> The varargs support in CFF

Re: Example with sprintf & %f from cffi manual crashes clisp on cygwin

2013-07-01 Thread Mirko Vukovic
On Mon, Jul 1, 2013 at 9:04 AM, Luís Oliveira wrote: > Mirko Vukovic writes: > > > The following example from section 10 of the cffi documentation is > > causing a segmentation fault on clisp on cygwin: > > The varargs support in CFFI makes some assumptions that might not be > true on Windows, I

Re: Example with sprintf & %f from cffi manual crashes clisp on cygwin

2013-07-01 Thread Luís Oliveira
Mirko Vukovic writes: > The following example from section 10 of the cffi documentation is > causing a segmentation fault on clisp on cygwin: The varargs support in CFFI makes some assumptions that might not be true on Windows, I suppose. Is this x86 or x86-64? Cheers, Luís