-
Notifications
You must be signed in to change notification settings - Fork 456
disable warnings on windows and macos #12750
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
Conversation
79fb17f to
d90f49a
Compare
25e647f to
694042e
Compare
| (foreign_stubs | ||
| (language c) | ||
| (names blake3_stubs) | ||
| (flags :standard -O3))) |
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.
Is this relevant to this PR? If not, I suggest move it to a separate PR
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.
Yes, it is relevant. First we don't even set -O3 in the bootstrap so the development build is simply different. Secondly MSVC doesn't understand -O3 and emits a warning when it encounters it. -O2 as found in :standard however is fine.
| (flags | ||
| (-w -3-6-27-32-33-35-50))) |
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.
These don't actually do anything but I won't touch them here.
694042e to
bf4a6b2
Compare
Signed-off-by: Ali Caglayan <[email protected]>
This disables the warnings during the compilation of ocaml-notify on Windows mingw and macos. Signed-off-by: Ali Caglayan <[email protected]>
We don't use -O3 in the bootstrap so there is little point passing it here. O3 also doesn't make sense for MSVC which would warn about this. Signed-off-by: Ali Caglayan <[email protected]>
bf4a6b2 to
87ea22b
Compare
This PR disables the specific warnings we get when compiling lmdb and it's OCaml stubs on Windows (msvc and mingw only). We don't intend to fix them so they are just noise for our CI.