Setting the flag
Compiler.Control.printWarnings : bool refto 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.
The function
SMLofNJ.Internals.GC.messages : bool -> unitwill 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.