Specify --warn-potentially-ambiguous-pragma ...

as the default for the Mercury system.

configure.ac:
    Require the installed compiler to support this option.

browser/MDB_FLAGS.in:
compiler/COMP_FLAGS.in:
deep_profiler/DEEP_FLAGS.in:
grade_lib/GRADE_LIB_FLAGS.in:
library/LIB_FLAGS.in:
mdbcomp/MDBCOMP_FLAGS.in:
mfilterjavac/MFILTERJAVAC_FLAGS.in:
profiler/PROF_FLAGS.in:
slice/SLICE_FLAGS.in:
ssdb/SSDB_FLAGS.in:
    Specify this option as the default in their directories.
This commit is contained in:
Zoltan Somogyi
2021-06-23 18:33:59 +10:00
parent 998c1a86af
commit d854949a9c
11 changed files with 11 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
--warn-inconsistent-pred-order-clauses
--warn-unused-imports
--warn-insts-with-functors-without-type
--warn-potentially-ambiguous-pragma
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir