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

Luís Oliveira luismbo at gmail.com
Mon Jul 1 15:27:24 UTC 2013


Mirko Vukovic <mirko.vukovic at gmail.com> 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
> variable.  Maybe the two issues are related.

Running the test suite should be a good way to weed out basic (possibly
platform-specific) bugs in CLISP or CFFI. You'll have to manually
compile libtest, I think. (Haven't tested with cygwin in several years.)

Cheers,
Luís




More information about the cffi-devel mailing list