[cmucl-help] Re : Re : Re : Disabling the automated code deletion when compiling.
Rémy
remy_chretien at yahoo.fr
Thu Nov 4 17:58:40 CET 2010
Thank your for your advice. I'll try to find a way to figure out what happens in
my system.
Remy
----- Message d'origine ----
De : Raymond Toy <toy.raymond at gmail.com>
À : Rémy <remy_chretien at yahoo.fr>
Cc : cmucl-help at cmucl.cons.org
Envoyé le : Mer 3 novembre 2010, 16h 01min 47s
Objet : Re: [cmucl-help] Re : Re : Disabling the automated code deletion when
compiling.
On 11/3/10 3:08 PM, Rémy wrote:
> unfortunately). So, you don't have to waste your time tracking down this
> symbol/string type error for me. I'd just like to test my hypothesis before
> giving it up, by trying to disable the code deletion, if possible. If my
> hypothesis appears be wrong, I will check the release notes more carefully and
> hope to find out something interesting.
After a quick look through the compiler, the code deletion stuff seems
deeply embedded in the compiler and there does not appear to be a way to
turn it off easily.
> ---- PROMPT-READ
> (defmacro prompt-read (internal-var external-var initial-message
> argument-type default-value
> special-response-list)
> (declare (special *using-interface* *simple-interface-prompts*))
> `(if (and *using-interface* (not *simple-interface-prompts*) (not
> *executing*))
> (setq ,internal-var
> (do ((response nil))
> (nil)
> (let ((prompt-sym (intern (gensym "PROMPT"))))
Here is one problem. INTERN expects a string, but GENSYM returns a
symbol. You might get a little farther if you replaced it with
something like (intern (symbol-name (gensym "PROMPT"))), or perhaps
(gentemp "PROMPT"), but gentemp is deprecated.
I only looked at the compiler notes that you sent earlier. I didn't
investigate anything else in prompt-read.
Ray
_______________________________________________
cmucl-help mailing list
cmucl-help at cmucl.cons.org
http://lists.zs64.net/mailman/listinfo/cmucl-help
More information about the cmucl-help
mailing list