2007年6月6日 星期三、Stephen Compall さんは書きました:
On Wed, 2007-05-23 at 12:33 +0800, Chun Tian (binghe) wrote:
I'll ask LW support if it's possible to support (signed-byte 64) and (unsigned-byte 64).
Did you ever hear back about this?
Yes, I asked LispWorks Support and got this answer:
On Wed, 23 May 2007 13:43:54 +0800, Chun Tian (binghe) said:
Hi,
Recently I found the CFFI package cannot use in LW 5.0 on 64bit Linux. Follow code cannot compile:
(in-package :cffi)
(defcstruct c-type (c-long :long))
(defvar a (foreign-alloc 'c-type))
(with-foreign-slots ((c-long) a c-type) (setf c-long 0))
A CFFI developers said, because LW's foreign-typed-aref doesn't support (signed-byte 64) and (unsigned-byte 64) now, I've checked LW's Foreign Language Interface User Guide and Reference Manual, and found that's true:
http://www.lispworks.com/documentation/lw50/FLI/html/fli-98.htm#pgfId-114 9659
So this is a CFFI bug, but I wonder if it's possible that LW will support this?
Yes, we will add support for this in a future release.
Regards,
Martin Simmons LispWorks Technical Support http://www.lispworks.com/support/
So, LispWorks will support this in "a future release", no useful patch for current release available...