Hello. I'm getting the following compile errors in cffi-lispworks.lisp from the newtypes branch under LW 5.0.1 (WinXP):
**++++ Error in CFFI-SYS:%FOREIGN-STRING-LENGTH: Undefined operator CONVERT-FOREIGN-TYPED-AREF-TYPE in form (CONVERT-FOREIGN-TYPED-AREF-TYPE TYPE).
**++++ Error in CFFI-SYS:%LISP-STRING-INTO-FOREIGN: Undefined operator CONVERT-FOREIGN-TYPED-AREF-TYPE in form (CONVERT-FOREIGN-TYPED-AREF-TYPE TYPE).
I see that there are compiler macros defined for %MEM-REF and %MEM-SET which call CONVERT-FOREIGN-TYPED-AREF-TYPE. With a copy&paste into the REPL, I'm able to define that function manually. Also (cl:find-symbol "FOREIGN-TYPED-AREF" "FLI") returns T on my machine.
And that's about where my expertise with compiler macros drops off into the abyss. Any idea what's going wrong?
Thanks.
On 28/03/07, Jack Unrue jdunrue@gmail.com wrote:
**++++ Error in CFFI-SYS:%FOREIGN-STRING-LENGTH: Undefined operator CONVERT-FOREIGN-TYPED-AREF-TYPE in form (CONVERT-FOREIGN-TYPED-AREF-TYPE TYPE).
[...]
And that's about where my expertise with compiler macros drops off into the abyss. Any idea what's going wrong?
Missing a few EVAL-WHENs. Should be fixed now. Thanks!
On 3/27/07, Luís Oliveira luismbo@gmail.com wrote:
Missing a few EVAL-WHENs. Should be fixed now. Thanks!
Yep, looks good here.