Skip to content
Snippets Groups Projects
Commit ccc5ddf9 authored by Ralf Jung's avatar Ralf Jung
Browse files

reject warnings on Coq 8.13

parent 37945115
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,7 @@ build-coq.8.13.0: ...@@ -36,6 +36,7 @@ build-coq.8.13.0:
<<: *template <<: *template
variables: variables:
OPAM_PINS: "coq version 8.13.0" OPAM_PINS: "coq version 8.13.0"
DENY_WARNINGS: "1"
build-coq.8.12.2: build-coq.8.12.2:
<<: *template <<: *template
......
...@@ -15,7 +15,7 @@ test: $(TESTFILES:.v=.vo) ...@@ -15,7 +15,7 @@ test: $(TESTFILES:.v=.vo)
# Make sure everything imports the options, and all Instance/Argument/Hint are qualified. # Make sure everything imports the options, and all Instance/Argument/Hint are qualified.
$(HIDE)for FILE in $(VFILES); do \ $(HIDE)for FILE in $(VFILES); do \
if ! fgrep -q 'From iris.prelude Require Import options.' "$$FILE"; then echo "ERROR: $$FILE does not import 'options'."; echo; exit 1; fi ; \ if ! fgrep -q 'From iris.prelude Require Import options.' "$$FILE"; then echo "ERROR: $$FILE does not import 'options'."; echo; exit 1; fi ; \
if egrep '^\s*(Instance|Arguments|Hint (Extern|Constructors|Resolve|Immediate|Mode|Opaque|Transparent|Unfold))\s' "$$FILE"; then echo "ERROR: $$FILE contains unqualified 'Instance'/'Arguments'/'Hint'."; echo; exit 1; fi \ if egrep '^\s*(Instance|Arguments|Remove|Hint (Extern|Constructors|Resolve|Immediate|Mode|Opaque|Transparent|Unfold))\s' "$$FILE"; then echo "ERROR: $$FILE contains unqualified 'Instance'/'Arguments'/'Hint'."; echo; exit 1; fi \
done done
.PHONY: test .PHONY: test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment