@@ -57,13 +57,25 @@ endif
57
57
# deprecated-instance-without-locality:
58
58
# warning introduced in 8.14
59
59
# triggered by Menhir-generated files, to be solved upstream in Menhir
60
+ # deprecated-since-8.19
61
+ # deprecated-since-8.20
62
+ # renamings performed in Coq's standard library;
63
+ # using the new names would break compatibility with earlier Coq versions.
60
64
61
65
COQCOPTS ?= \
62
- -w -unused-pattern-matching-variable
66
+ -w -unused-pattern-matching-variable \
67
+ -w -deprecated-since-8.19 \
68
+ -w -deprecated-since-8.20
63
69
64
70
cparser/Parser.vo : COQCOPTS += -w -deprecated-instance-without-locality
65
71
MenhirLib/Interpreter.vo : COQCOPTS += -w -undeclared-scope
66
72
73
+ # Flocq and Menhirlib run into other renaming issues.
74
+ # These warnings can only be addressed upstream.
75
+
76
+ flocq/% .vo : COQCOPTS+=-w -deprecated-syntactic-definition
77
+ MenhirLib/% .vo : COQCOPTS+=-w -deprecated-syntactic-definition
78
+
67
79
ifneq ($(INSTALL_COQDEV ) ,true)
68
80
# Disable costly generation of .cmx files, which are not used locally
69
81
COQCOPTS += -w -deprecated-native-compiler-option -native-compiler no
@@ -219,12 +231,6 @@ endif
219
231
220
232
proof : $(FILES:.v=.vo )
221
233
222
- # Turn off some warnings for Flocq and Menhirlib
223
- # These warnings can only be addressed upstream
224
-
225
- flocq/% .vo : COQCOPTS+=-w -deprecated-syntactic-definition
226
- MenhirLib/% .vo : COQCOPTS+=-w -deprecated-syntactic-definition
227
-
228
234
extraction : extraction/STAMP
229
235
230
236
extraction/STAMP : $(FILES:.v=.vo ) extraction/extraction.v $(ARCH ) /extractionMachdep.v
0 commit comments