[Ecls-list] bogus warning

Julian Stecklina der_julian at web.de
Tue Nov 2 16:49:00 UTC 2004


Hello,


(defconstant +foo+ 12)

(defun foo-reader ()
  +foo+)

...
;;; The variable +FOO+ is undefined.
;;; The compiler will assume this variable is a global.
...

Is there any particular reason for this? defvar works without
problems. Btw, is there a way to get constants inlined? 

Regards,

-- 
                    ____________________________
 Julian Stecklina  /  _________________________/
  ________________/  /
  \_________________/  LISP - truly beautiful





More information about the ecl-devel mailing list