Skip to content

Conversation

@mvidner
Copy link

@mvidner mvidner commented Jan 14, 2025

Depending on the numeric argument, the function pointer passed is expected to have different signatures. Up go gcc-13, it is only a warning (and the called method would have raised anyway), but with gcc-14 it becomes a compilation error.

See also:
https://docs.ruby-lang.org/en/master/extension_rdoc.html#label-Method+and+singleton+method+definition

Depending on the numeric argument, the function pointer passed is expected to have different signatures. Up go gcc-13, it is only a warning (and the called method would have raised anyway), but with gcc-14 it becomes a compilation error.

See also:
https://docs.ruby-lang.org/en/master/extension_rdoc.html#label-Method+and+singleton+method+definition
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.

1 participant