How do I disable all warnings in sbcl
? The extra output is rather annoying.
views:
85answers:
3Where are the different conditions which can be muffled? I want to muffle all style warnings, and the this documentation is weak.
Stefan Kendall
2010-03-29 02:55:04
+5
A:
You can either use SB-EXT:MUFFLE-CONDITIONS
as Pillsy said, the other alternative is to read through the warnings and use them to modify your code to remove the warnings. Especially if they're actually warnings (rather than, say, optimization notes).
Vatine
2010-03-29 07:37:55
+1
A:
this is what i use to muffle both compile-time and runtime (load-time) redefinition warnings:
(locally
(declare #+sbcl(sb-ext:muffle-conditions sb-kernel:redefinition-warning))
(handler-bind
(#+sbcl(sb-kernel:redefinition-warning #'muffle-warning))
;; stuff that emits redefinition-warning's
))
following this pattern you can install these handlers on superclasses like cl:style-warning to muffle all style warnings.
Attila Lendvai
2010-03-31 18:34:39