-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rm warnings 8.11 #43
Rm warnings 8.11 #43
Conversation
@palmskog can you help me? I don't understand why no CI check have been performed for this PR |
@ybertot there was a GitHub outage this Friday that affected CI. The CI will run again if you do a new push (or I can do it if you want). |
Only a push can trigger it? |
To my knowledge, there is no other way. But recall that you can do the following locally to do a "no-operation" push in the branch: git commit --amend
git push -f The first command changes the SHA of the last commit without changing its content, and then you push the new state to the upstream branch. |
thks, I just discovered I had modification I had forgotten to push anyway. |
@ybertot this PR looks good now in CI. However, I think we should also stop to ignore the warnings that you fixed here, for example, the following should be removed in
|
I don't understand. these lines do not appear in _CoqProject, and there is no dune file. |
Ah, my mistake, I saw some changes I had done locally. But then we may actually want to add the following into
... to make the project warning-free during local compilation, and then remove those as more warnings are fixed. |
I had the same interrogations myself. What should be the policy: strive for a warning free compilation at the risk of forgetting the work that needs to be done as deprecation looms, or leave the deprecation warnings (and only these) as a reminder? I would prefer to silence only the ambiguous-path warning. Would you agree? |
My personal preference is for a warning-free build, with carefully curated GitHub issues and/or draft pull requests to document why some warnings are not addressed (likely due to Coq version compatibility). The main reason is that contributors to a project will not be distracted by irrelevant warnings locally or in the CI. Still, silencing just the ambiguous-path warning is good as well. |
This made me discover a couple of bugs in the current setup:
|
I don't know why Makefile.coq.local is not on the master branch, but it is on both my warning removal branches. |
…etains compatibility with coq-8.11 and math-comp 1.11
fbb7dcf
to
e8dc629
Compare
09d0985
to
a1609c6
Compare
a1609c6
to
224fde6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now looks ready to merge to me, it's a strict improvement given our current bounds on Coq and MathComp.
This takes a subset of the changes in #41 and preserves compatibility with coq-8.11 and math-comp 1.11