[Ecls-list] Macro+segfault insight appreciated

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sat May 1 21:30:35 UTC 2010


On Sat, May 1, 2010 at 9:18 PM, Matthew Mondor <mm_lists at pulsar-zone.net>wrote:

> Hmm after doing more tests, I noticed that interestingly, replacing the
> unix-error call by:
>
> (unix-error ,cfunction err (list ,@(mapcar #'identity args)))
>
> Appears to finally work fine


FFI:C-INLINE is destructively manipulating the source code it gets through
the compiler. I have a fix, but I cannot commit it until I finish some other
stuff. In the mean time you can use COPY-LIST in the args list that is
passed to C-INLINE2.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100501/7a0392a1/attachment.html>


More information about the ecl-devel mailing list