[Ecls-list] Spurious unused variable warnings in defmacro

Stas Boukarev stassats at gmail.com
Sun Nov 25 23:58:25 UTC 2012


(defmacro with ((&rest _))
  (declare (ignore _)))
;;; Compiling (DEFMACRO WITH ...).
;;; Warning:
;;;   in file ecl-swank-tmpfile-YmZUGu, position 0
;;;   at (FSET 'WITH ...)
;;;   ! The variable #:G8 is not used.

Incidentally
(defmacro with ((&rest _))
  (declare (ignore _))
  _)
doesn't give any warnings, even about using an ignored variable.

-- 
With best regards, Stas.




More information about the ecl-devel mailing list