Next: Warnings about missing contiguity, Previous: Warnings about style issues with goals, Up: Warnings about programming style [Contents][Index]
--warn-unsorted-import-blocks
--warn-unsorted-import-block
Generate a warning if two import_module
and/or use_module
declarations occur on the same line, or if a sequence of such
declarations on consecutive lines are not sorted on module name.
--warn-inconsistent-pred-order-clauses
--warn-inconsistent-pred-order
Generate a warning if the order of the definitions does not match the order of the declarations for either the exported predicates and functions of the module, or for the nonexported predicates and functions of the module. Applies for definitions by Mercury clauses.
--warn-inconsistent-pred-order-foreign-procs
Generate a warning if the order of the definitions does not match the order of the declarations for either the exported predicates and functions of the module, or for the nonexported predicates and functions of the module. Applies for definitions by either Mercury clauses or foreign_proc pragmas.