[Clg-devel] Clg won't compile with SBCL>= 1.0.35.15 and a patch
Brought to you by:
espen
|
From: Chisheng H. <cp...@ch...> - 2010-03-29 17:59:53
|
Hi,
Clg won't compile with SBCL of a version >= 1.0.35.15. This is because
SB-KERNEL:TYPE-EXPAND was replaced by SB-EXT:TYPEXPAND in SBCL 1.0.35.15.
Adding the following:
#?+(pkg-config:sbcl>= 1 0 35 15)
(sb-ext:without-package-locks
(defun type-expand (form)
(typexpand form)))
somewhere around the type expansion code in clg/gffi/interface.lisp will
get around this problem. SB-EXT:WITHOUT-PACKAGE-LOCKS is needed because
TYPE-EXPAND is still exported from the SB-KERNEL package for no reason.
Best,
-cph
|