-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix most warnings (especially in 8.13) #18
Conversation
@Casteran indeed this seems like a very nitpicky warning, and it was only introduced in 8.13. Perhaps we should simply suppress/ignore it? This is quite simple to do by editing Perhaps @Zimmi48 knows why this warning was introduced. |
See coq/coq#12762 for the rationale. Feel free to ignore this warning if you do not find it useful. Maybe the warning message should explain why it is considered a bad practice though. |
@Casteran what do you think of the rationale in coq/coq#12762? I'm fine with either suppressing the warning or changing the code to use underscores. |
I understand the rationale. Tomorrow, I can replace in master the catch-all variables with underscores.
… Le 5 janv. 2021 à 17:13, Karl Palmskog ***@***.***> a écrit :
@Casteran <https://github.com/Casteran> what do you think of the rationale in coq/coq#12762 <coq/coq#12762>? I'm fine with either suppressing the warning or changing the code to use underscores.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJW6FCTW3F2WUFZIGLBBYJLSYM3ELANCNFSM4VVCD3MA>.
|
OK, since the variable name change is orthogonal to this PR, I will then take the liberty to merge. The only remaining warnings were those related to the Coq issue. |
In fact, there were only three occurrences of the « unused variable » issue (but signaled many times).
I fixed that (hope so) and pushed into master.
… Le 5 janv. 2021 à 17:58, Karl Palmskog ***@***.***> a écrit :
Merged #18 <#18> into master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJW6FCVLC6SJMXG6VXZYIFTSYNAKXANCNFSM4VVCD3MA>.
|
I used Pierre-Marie Pédrot's script to add explicit locality to hints (otherwise, there is a warning in 8.13). I also fix or ignore some other warnings that are standard. This lessens the noise generated in CI considerably.