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

fix and reject warnings on Coq 8.13

parent 8407f2ca
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ build-coq.8.13.0: ...@@ -38,6 +38,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 stdpp Require Import options.' "$$FILE"; then echo "ERROR: $$FILE does not import 'options'."; echo; exit 1; fi ; \ if ! fgrep -q 'From stdpp 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
......
...@@ -31,7 +31,7 @@ Instance: Params (@drop) 1 := {}. ...@@ -31,7 +31,7 @@ Instance: Params (@drop) 1 := {}.
Global Arguments Permutation {_} _ _ : assert. Global Arguments Permutation {_} _ _ : assert.
Global Arguments Forall_cons {_} _ _ _ _ _ : assert. Global Arguments Forall_cons {_} _ _ _ _ _ : assert.
Remove Hints Permutation_cons : typeclass_instances. Global Remove Hints Permutation_cons : typeclass_instances.
Notation "(::)" := cons (only parsing) : list_scope. Notation "(::)" := cons (only parsing) : list_scope.
Notation "( x ::.)" := (cons x) (only parsing) : list_scope. Notation "( x ::.)" := (cons x) (only parsing) : list_scope.
......
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