Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adam
stdpp
Commits
e7a7f588
Commit
e7a7f588
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
fix and reject warnings on Coq 8.13
parent
8407f2ca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
Makefile.coq.local
+1
-1
1 addition, 1 deletion
Makefile.coq.local
theories/list.v
+1
-1
1 addition, 1 deletion
theories/list.v
with
3 additions
and
2 deletions
.gitlab-ci.yml
+
1
−
0
View file @
e7a7f588
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Makefile.coq.local
+
1
−
1
View file @
e7a7f588
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
theories/list.v
+
1
−
1
View file @
e7a7f588
...
@@ -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
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment