Enable --warn-insts-with-functors-without-type.

configure.ac:
    Require that the installed compiler support this option (which I added
    about two weeks ago).

browser/MDB_FLAGS.in:
compiler/COMP_FLAGS.in:
deep_profiler/DEEP_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 by default for every directory that contains
    Mercury code.
This commit is contained in:
Zoltan Somogyi
2017-11-22 01:48:36 +11:00
parent 2b3bd96396
commit 014ca2144b
10 changed files with 10 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
--warn-unknown-format-calls
--warn-unused-imports
--warn-inconsistent-pred-order-clauses
--warn-insts-with-functors-without-type
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir

View File

@@ -3,6 +3,7 @@
--warn-known-bad-format-calls
--warn-unknown-format-calls
--warn-unused-imports
--warn-insts-with-functors-without-type
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir

View File

@@ -554,7 +554,7 @@ EOF
--halt-at-warn \
$link_static_opt conftest \
--erlang-native-code \
--trace-goal-only-locals-2017-07-05 \
--warn-insts-with-functors-without-type \
--no-ssdb \
</dev/null >&AC_FD_CC 2>&1 &&
test "`./conftest 2>&1 | tr -d '\015'`" = "Hello, world" &&

View File

@@ -4,6 +4,7 @@
--warn-unknown-format-calls
--warn-unused-imports
--warn-inconsistent-pred-order-clauses
--warn-insts-with-functors-without-type
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir

View File

@@ -5,6 +5,7 @@
--warn-known-bad-format-calls
--warn-unknown-format-calls
--warn-unused-imports
--warn-insts-with-functors-without-type
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir

View File

@@ -4,6 +4,7 @@
--warn-unknown-format-calls
--warn-unused-imports
--warn-inconsistent-pred-order-clauses
--warn-insts-with-functors-without-type
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir

View File

@@ -3,6 +3,7 @@
--warn-known-bad-format-calls
--warn-unknown-format-calls
--warn-unused-imports
--warn-insts-with-functors-without-type
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir

View File

@@ -3,6 +3,7 @@
--warn-known-bad-format-calls
--warn-unknown-format-calls
--warn-unused-imports
--warn-insts-with-functors-without-type
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir

View File

@@ -3,6 +3,7 @@
--warn-known-bad-format-calls
--warn-unknown-format-calls
--warn-unused-imports
--warn-insts-with-functors-without-type
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir

View File

@@ -3,6 +3,7 @@
--warn-known-bad-format-calls
--warn-unknown-format-calls
--warn-unused-imports
--warn-insts-with-functors-without-type
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir