Clg won't compile with SBCL>= 1.0.35.15 and a patch

Chisheng Huang <[email protected]> Mon, 29 Mar 2010 10:30:50 -0700 (PDT)
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
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











------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev