[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ignored variables in symbolics and lucid



I have a function the following type of function which works fine in
Symbolics common-lisp:

(defun foo ()
 (multiple-value-setq (x () y)(bar))
 (list x y))

Porting it to Lucid gives me a "can't set nil" error.
Adding a variable and declaration as follows makes Symbolics give a
The variable NOTUSED is unknown and has been assumed SPECIAL

(defun foo ()
 (declare (ignore notused))
 (multiple-value-setq (x notused y)(bar))
 (list x y))

Adding the variable as follows gives
The ignored variable NOTUSED was referenced

(defun foo (&aux notused)
 (declare (ignore notused))
 (multiple-value-setq (x notused y)(bar))
 (list x y))

Anyone know of a way to keep both happy?
(short of #+symbolics one-way #-symolics other-way)

-Bill Long