Files
mercury/STANDARD_MCFLAGS
Zoltan Somogyi 3aca14b385 Compile the Mercury system with --warn-unused-types.
configure.ac:
    Require the installed compiler to support that option.

STANDARD_MCFLAGS:
    Specify that option.

compiler/canonicalize_interface.m:
compiler/comp_unit_interface.m:
compiler/inst_user.m:
compiler/parse_module.m:
compiler/switch_util.m:
compiler/type_ctor_info.m:
deep_profiler/mdprof_dump.m:
library/digraph.m:
slice/mcov.m:
    Delete unused equivalence types that were picked up by the option.
2026-03-09 03:07:51 +11:00

24 lines
643 B
Plaintext

--halt-at-warn
--no-allow-ho-insts-as-modes
--no-detect-libgrades
--no-halt-at-warn-make-int
--no-halt-at-warn-make-opt
--no-infer-all
--no-libgrade-install-check
--no-mercury-stdlib-dir
--warn-dead-preds
--warn-implicit-stream-calls
--warn-include-and-non-include
--warn-inconsistent-pred-order-clauses
--warn-insts-with-functors-without-type
--warn-interface-imports-in-parents
--warn-known-bad-format-calls
--warn-non-contiguous-clauses
--warn-non-contiguous-foreign-procs
--warn-potentially-ambiguous-pragma
--warn-suspicious-foreign-code
--warn-unknown-format-calls
--warn-unsorted-import-blocks
--warn-unused-imports
--warn-unused-types