Skip to content
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

silence "From Coq" warning #2095

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

Alizter
Copy link
Collaborator

@Alizter Alizter commented Sep 21, 2024

We can't fix this warning until we bump the minimal version to 8.21 so for now the best we can do is silence it.

@Alizter
Copy link
Collaborator Author

Alizter commented Sep 21, 2024

I can't be more specific with the warning category disabling since these categories don't exist in <= 8.20. deprecated was the finest category available. Alternatively we could have done -w for disabling all warnings, but I'm uncertain if that's a good idea.

@SkySkimmer
Copy link
Collaborator

I can't be more specific with the warning category disabling since these categories don't exist in <= 8.20.

There should be no warning for disabling an unknown warning so why not be specific?

<!-- ps-id: 835f7fa1-4876-47a8-8863-876c2cb1edef -->

Signed-off-by: Ali Caglayan <[email protected]>
@Alizter Alizter force-pushed the ps/rr/silence__from_coq__warning branch from cd3016b to 4958e65 Compare September 21, 2024 18:08
@Alizter
Copy link
Collaborator Author

Alizter commented Sep 21, 2024

I think I got confused with #[warnings="warning"] which warns but as you said #[warnings="-warning"], does not.

@Alizter Alizter merged commit f938ad0 into HoTT:master Sep 21, 2024
22 checks passed
@Alizter Alizter deleted the ps/rr/silence__from_coq__warning branch September 21, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants