Next: Warnings about possible inst incorrectness, Up: Warnings about possible incorrectness [Contents][Index]
--no-warn-nothing-exportedDo not warn about modules which export nothing.
--warn-unused-importsWarn about modules that are imported but not used.
--no-warn-interface-importsDo not warn about modules imported in the interface, but which are not used in the interface.
--warn-interface-imports-in-parentsWarn about modules that are imported in the interface of a parent module, but not used in the interface of that module.
--no-warn-stdlib-shadowingDo not generate warnings for module names that either duplicate the name of a module in the Mercury standard library, or contain a subsequence of name components that do so.
--no-warn-duplicate-abstract-instancesDo not warn about duplicate abstract typeclass instances. (Duplicate concrete typeclass instances are errors, and are always reported.)
--warn-too-private-instancesAn instance declaration has to be private if it is for a private type class (meaning a type class that is not visible outside the current module), if some of its member types refer to private type constructors, or if its class constraints refer to private type classes or private type constructors. Such instances can only be relevant in the current module. Generate a warning if an instance declaration that can be relevant outside the current module is not exported.
--no-warn-subtype-ctor-orderDo not warn about a subtype definition that lists its data constructors in a different order than its supertype.