[slime-devel] AllegroCL compiler notes

Helmut Eller e9626484 at stud3.tuwien.ac.at
Tue Feb 22 22:15:25 UTC 2005

Edi Weitz <edi at agharta.de> writes:

> If I compile ASDF systems in AllegroCL using SLIME I frequently see
> compiler optimization notes about closures which are being
> stack-allocated.  I don't see these notes if I compile these systems
> without SLIME.  Is the compiler made chatty by SLIME on purpose or are
> some optimization settings from SWANK spilled?
> Either way, I'd rather not see these notes if the compilation went
> through without problems otherwise.  Is there a way to turn this off?

You could disable the handler for compiler-notes and only keep
warnings.  But I don't know if there are other, perhaps important,
notes.  Use the following patch at your own risk:

--- swank-allegro.lisp	22 Feb 2005 06:27:17 -0000	1.69
+++ swank-allegro.lisp	22 Feb 2005 21:33:07 -0000
@@ -271,7 +271,8 @@ (defun handle-undefined-functions-warnin
 (defimplementation call-with-compilation-hooks (function)
   (handler-bind ((warning #'handle-compiler-warning)
-                 (compiler-note #'handle-compiler-warning))
+                 ;;(compiler-note #'handle-compiler-warning)
+                 )
     (funcall function)))

More information about the slime-devel mailing list