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

Avoid an unused-variable warning when POSIX_SIGNALS is not defined #11606

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

kit-ty-kate
Copy link
Member

Encountered this when porting ocaml-solo5 to OCaml 5, which compiles the OCaml runtime using -Werror

Copy link
Member

@gasche gasche left a comment

Choose a reason for hiding this comment

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

Clearly correct. I think this should be backported into 5.0 as well.

@Octachron Octachron merged commit 1c1e441 into ocaml:trunk Oct 6, 2022
Octachron added a commit that referenced this pull request Oct 6, 2022
Avoid an unused-variable warning when POSIX_SIGNALS is not defined

(cherry picked from commit 1c1e441)
@kit-ty-kate kit-ty-kate deleted the no-posix-signals-warnings branch October 13, 2022 14:04
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