Re: Error in >= 5.0.4?

Nathan Bird <[email protected]>
Newsgroups gmane.lisp.clsql.general
Message-ID <[email protected]>
On 3/16/2010 1:55 PM, Liam Healy wrote:
> I get an error when I try to compile (with SBCL 1.0.36.25):
>
> ; file: /home/healy/languages/lisp/clbuild/source/clsql/uffi/clsql-uffi.lisp
> ; in: DEFUN CONVERT-RAW-FIELD
> ;     (CFFI-UFFI-COMPAT:CONVERT-FROM-FOREIGN-STRING CLSQL-UFFI::CHAR-PTR
> ;                                                   :NULL-TERMINATED-P
> NIL :LENGTH
> ;                                                   LENGTH :ENCODING
> ;                                                   CLSQL-UFFI::ENCODING)
> ;
> ; caught ERROR:
> ;   (in macroexpansion of (CONVERT-FROM-FOREIGN-STRING CHAR-PTR
> :NULL-TERMINATED-P ...))
> ;   (hint: For more precise location, try *BREAK-ON-SIGNALS*.)
> ;   error while parsing arguments to DEFMACRO CONVERT-FROM-FOREIGN-STRING:
> ;     unknown keyword: :ENCODING; expected one of :NULL-TERMINATED-P,
> :LOCALE, :LENGTH
>
> v5.0.0 will compile and load; v5.0.4 will not.
>
> Liam
>   

This is because the UFFI interface has changed recently and we have not
yet gotten the cffi-uffi-compat layer in CFFI up to date.

-- 
Nathan Bird
[email protected]
http://www.acceleration.net/ 
Custom Programming, Design, Hosting, and Broadband.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.