aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4a9f3772..2bc39c33 100644
--- a/Makefile
+++ b/Makefile
@@ -53,11 +53,21 @@ endif
# deprecated-ident-entry:
# warning introduced in 8.13
# suggested change (use `name` instead of `ident`) supported since 8.13
+# deprecated-hint-rewrite-without-locality:
+# warning introduced in 8.14
+# suggested change (add Global or Local or [#export] modifier)
+# is not supported in 8.13 nor in 8.11, but was supported in 8.9 (go figure)
+# deprecated-instance-without-locality:
+# warning introduced in 8.14
+# triggered by Menhir-generated files, to be solved upstream in Menhir
COQCOPTS ?= \
-w -undeclared-scope \
-w -unused-pattern-matching-variable \
- -w -deprecated-ident-entry
+ -w -deprecated-ident-entry \
+ -w -deprecated-hint-rewrite-without-locality
+
+cparser/Parser.vo: COQCOPTS += -w -deprecated-instance-without-locality
COQC="$(COQBIN)coqc" -q $(COQINCLUDES) $(COQCOPTS)
COQDEP="$(COQBIN)coqdep" $(COQINCLUDES)