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

Mirko Vukovic mirko.vukovic at gmail.com
Mon Jul 1 15:50:37 UTC 2013


On Mon, Jul 1, 2013 at 11:27 AM, Luís Oliveira <luismbo at gmail.com> wrote:

> 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
>
>
> Good idea.  I have a long weekend coming.  Perfect relaxation :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20130701/88a7ad88/attachment.html>


More information about the cffi-devel mailing list