Re: Help



C Y <smustudent1@yahoo.com> writes:

> --- Wolfgang Jenkner <wjenkner@inode.at> wrote:
>> This indicates that we should find the clue in the messages SBCL
>> produced while compiling the function GRAB-LINE-NUMBER in this file.
>> 
>> Wolfgang
>
> I think this is it:
>
> ; file: /home/user/maxima/src/mdebug.lisp
> ; in: DEFUN GRAB-LINE-NUMBER
> ;     (DEFUN MAXIMA::GRAB-LINE-NUMBER (MAXIMA::LI STREAM)
> ;     (DECLARE (TYPE (VECTOR #) MAXIMA::LI))
> ;     (COND ((AND # #) (MAXIMA::LET # #))))
> ; --> PROGN SB-IMPL::%DEFUN SB-IMPL::%DEFUN SB-INT:NAMED-LAMBDA
> ; ==>
> ;   #'(SB-INT:NAMED-LAMBDA MAXIMA::GRAB-LINE-NUMBER
> ;			   (MAXIMA::LI STREAM)
> ;			   (DECLARE (TYPE (VECTOR #) MAXIMA::LI))
> ;			   (BLOCK MAXIMA::GRAB-LINE-NUMBER (COND (# #))))
> ;
> ; caught ERROR:
> ;   bad thing to be a type specifier: (BASE-CHAR)

I think SBCL is right: the type specifier (BASE-CHAR) is not valid.
(this is indeed a recent change in SBCL).

I don't have maxima sources to hand: if there's a literal (base-char)
in the code, try changing it to simply base-char; if there doesn't
seem to be one, we might have to dig deeper.

Cheers,

Christophe
-- 
http://www-jcsu.jesus.cam.ac.uk/~csr21/       +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%")    (pprint #36rJesusCollegeCambridge)