Messages

How do I turn off compiler warning messages?

Setting the flag

  Compiler.Control.printWarnings : bool ref
to false will suppress all warning messages. This is generally not a good idea. One situation where you might want to do this is when using the "next-error" ("^C`") command in the emacs sml-mode to step through compiler error messages.

How do I turn off garbage collection messages?

The function

  SMLofNJ.Internals.GC.messages : bool -> unit
will turn off garbage collection messages if it is applied to false. Applying it to true turns them back on. See the documentation for the GC signature.

Dave MacQueen
Last modified: Fri Feb 19 16:02:39 EST 1999