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-blockGenerate 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-orderGenerate 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-procsGenerate 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.