Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove glpk warnings and strengthen mccs code #41

Merged
merged 3 commits into from
Aug 5, 2024

Conversation

MisterDA
Copy link
Contributor

@MisterDA MisterDA commented May 3, 2023

No description provided.

@rjbou
Copy link
Contributor

rjbou commented Jul 4, 2023

Thanks for the PR! Can you separate into 2 PRs, one for whitespaces, another fro compilation fixes ?

@MisterDA
Copy link
Contributor Author

Thanks for the PR! Can you separate into 2 PRs, one for whitespaces, and another for compilation fixes?

Done, whitespace removal is now #46.

@MisterDA
Copy link
Contributor Author

Some of the warnings raised will be fixed in an upcoming version of glpk.

@kit-ty-kate kit-ty-kate self-assigned this Jul 29, 2024
MisterDA and others added 3 commits August 5, 2024 20:29
and not a toplevel file. Helps with Dune/merlin integration.
The former are deprecated, the second are more secure because they
bound-check where they write.
@kit-ty-kate kit-ty-kate changed the title Compilation fixes Remove glpk warnings and strengthen mccs code Aug 5, 2024
Copy link
Contributor

@kit-ty-kate kit-ty-kate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of trying to detect the current C compiler i changed the code to simply disable every warnings in glpk as it's not section of the code we (should) change given it is a simple vendor. The previous version with -Wall would show a wall off warnings that we wouldn't be able to fix.

LGTM now

@kit-ty-kate
Copy link
Contributor

Thanks!

@kit-ty-kate kit-ty-kate merged commit 5e25675 into ocaml-opam:master Aug 5, 2024
12 checks passed
@MisterDA MisterDA deleted the fixes branch August 5, 2024 23:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants