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

Remove unnecessary use of RUBY_METHOD_FUNC #50

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

XrXr
Copy link

@XrXr XrXr commented Nov 27, 2024

rb_define_method etc. already take care arities. You don't have
to apply RUBY_METHOD_FUNC. This fixes build issues with clang-19, as
reported by the Gentoo folks.

See: https://bugs.ruby-lang.org/issues/20908
See: https://bugs.gentoo.org/943784

`rb_define_method` etc. already take care arities.  You don't have
to apply RUBY_METHOD_FUNC. This fixes build issues with clang-19, as
reported by the Gentoo folks.

See: https://bugs.ruby-lang.org/issues/20908
See: https://bugs.gentoo.org/943784
@graaff
Copy link

graaff commented Dec 1, 2024

Note that this can also be tested with gcc 14 with -std=gnu23 or with gcc15, if clang is not available.

@miyucy miyucy merged commit 062a9d3 into miyucy:master Dec 2, 2024
4 checks passed
@XrXr XrXr deleted the fix-c23 branch December 2, 2024 17:21
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.

4 participants