-
Notifications
You must be signed in to change notification settings - Fork 72
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
bundle exec rake compile
gets `error: incompatible function pointer types
#213
Comments
yahonda
changed the title
Mar 11, 2024
bundle exec rake compile
gets error: incompatible function pointer types passing 'void (void *, const xmlError *)' (aka 'void (void *, const struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, struct _xmlError *)') [-Wincompatible-function-pointer-types]
bundle exec rake compile
gets `error: incompatible function pointer types
I've found https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248824&action=diff addresses this issue for macOS also. |
Hmm, did libxml change this definition? https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-xmlerror.html#xmlStructuredErrorFunc
|
I see. Do you have time to create a PR? |
Sure. |
Opened #214 |
CodingItWrong
added a commit
to CodingItWrong/rails
that referenced
this issue
Mar 28, 2024
4 tasks
fractaledmind
pushed a commit
to fractaledmind/rails
that referenced
this issue
May 13, 2024
xjunior
pushed a commit
to xjunior/rails
that referenced
this issue
Jun 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bundle exec rake compile gets `error: incompatible function pointer types.
Steps to reproduce
Expected behavior
It should build libxml-ruby
Actual behavior
It gets
../../../../ext/libxml/ruby_xml_error.c:123:35: error: incompatible function pointer types passing 'void (void *, const xmlError *)' (aka 'void (void *, const struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, struct _xmlError *)') [-Wincompatible-function-pointer-types]
Environment
The text was updated successfully, but these errors were encountered: