[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: bogus compiler warnings in GCL 2.7.0
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Re: bogus compiler warnings in GCL 2.7.0 |
Date: |
25 Feb 2006 14:06:29 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings, and thanks! OK, this should be fixed now.
Take care,
Matt Kaufmann <address@hidden> writes:
> Hi, Camm --
>
> The following illustrates a compiler warning that I get using a (recent, I
> think) GCL 2.7.0. I don't see it in a (probably less recent) GCL 2.6.8pre.
>
> >(defmacro my-setq (key value)
> (let ((v (gensym)))
> `(let ((,v ,value))
> (declare (special ,key))
> (setq ,key ,v))))
>
> MY-SETQ
>
> >(compile (defun foo ()
> (my-setq xyz t)))
>
> ;; Compiling /tmp/gazonk_12637_0.lsp.
> ; (DEFUN FOO ...) is being compiled.
> ;; The variable XYZ is undefined.
> ;; The compiler will assume this variable is a global.
> ;; End of Pass 1.
> ;; End of Pass 2.
> ;; OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3,
> (Debug quality ignored)
> ;; Finished compiling /tmp/gazonk_12637_0.o.
> Loading /tmp/gazonk_12637_0.o
> start address -T 0x9f05ff0 Finished loading /tmp/gazonk_12637_0.o
> #<compiled-function FOO>
> NIL
> NIL
>
> >
>
> Thanks --
> -- Matt
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gcl-devel] Re: bogus compiler warnings in GCL 2.7.0,
Camm Maguire <=