Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 25483cf1 authored by Xavier Leroy's avatar Xavier Leroy
Browse files

Silence some new warnings of Coq 8.13

Either because the code change that would silence the warning is not
desirable, or because it would break compatibility with earlier versions
of Coq.

Explain the silenced warnings as comments in the Makefile.
parent fc82b6c8
......@@ -41,7 +41,23 @@ DIRS += MenhirLib
COQINCLUDES += -R MenhirLib MenhirLib
endif
COQCOPTS ?= -w -undeclared-scope
# Notes on silenced Coq warnings:
#
# undeclared-scope:
# warning introduced in 8.12
# suggested change (use `Declare Scope`) supported since 8.12
# unused-pattern-matching-variable:
# warning introduced in 8.13
# the code rewrite that avoids the warning is not desirable
# deprecated-ident-entry:
# warning introduced in 8.13
# suggested change (use `name` instead of `ident`) supported since 8.13
COQCOPTS ?= \
-w -undeclared-scope \
-w -unused-pattern-matching-variable \
-w -deprecated-ident-entry
COQC="$(COQBIN)coqc" -q $(COQINCLUDES) $(COQCOPTS)
COQDEP="$(COQBIN)coqdep" $(COQINCLUDES)
COQDOC="$(COQBIN)coqdoc"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment