[cffi-devel] Can't expand foreign-funcall

Liam M. Healy lnp at healy.washington.dc.us
Tue Mar 21 00:53:06 UTC 2006


A darcs pull today of CFFI leaves foreign-funcall unexpandable
in SBCL.  

; caught ERROR:
;   (during macroexpansion of (FOREIGN-FUNCALL ... ...))
;   A function with declared result type NIL returned:
;     CFFI::TRANSLATE-OBJECTS

Apparently this error message results from a function redefinition
http://www.lispworks.com/documentation/HyperSpec/Body/03_bbc.htm 

"A call within a file to a named function that is defined in the same
file refers to that function, unless that function has been declared
notinline. The consequences are unspecified if functions are redefined
individually at run time or multiply defined in the same file."

See discussion
http://meme.b9.com/cview.html?utime=3351855600&channel=lisp&start=3351855600&end=3351857520#utime_requested

Liam



More information about the cffi-devel mailing list