[comp.lang.lisp] suppressing compiler warnings in Franz Allegro Common Lisp

pazzani@pan.ics.uci.edu (Michael Pazzani) (05/02/91)

I've searched the manuals, but can't find a way to suppress compiler
warnings in Franz Allegro Common Lisp.  Does anyone know whether this
is possible?

The specifics are that the warnings to be suppressed are those that
occur in calls to compile (rather than compile-file).  I've tried
reading the manual and (apropos 'warn) to no avail.

I've been able to do this in Lucid, Macintosh Common Lisp, and
Symbolics Common Lisp, so I suspect its possible.

Thanks
Mike
(pazzani@ics.uci.edu)

harrisr@cs.rpi.edu (Richard Harris) (05/03/91)

It is easy to completely suppress all compiler messages,
if you aren't worried about warnings or error messages:
(let ((*error-output* (make-broadcast-stream)))
  (compile-file file))

(You might need to rebind other output streams as well.)

  Richard Harris