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

xml: make error struct constant #880

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Conversation

russelltg
Copy link
Contributor

As of https://gitlab.gnome.org/GNOME/libxml2/-/commit/61034116d0a3c8b295c6137956adc3ae55720711, the error struct in the callback is const

I could also add a cast to xmlStructuredErrorFunc on the use sites so it compiles against both new and old versions of libxml without warnings/errors.

@EmmanuelP EmmanuelP merged commit e4d362d into AravisProject:main Mar 11, 2024
7 checks passed
@EmmanuelP
Copy link
Contributor

Thanks.

EmmanuelP pushed a commit that referenced this pull request Mar 12, 2024
#880 introduced compatibility with libxml 2.12, but also caused compilation errors on systems with only 2.11.
This fixes compilation for systems with older libxml versions.
EmmanuelP pushed a commit that referenced this pull request Mar 12, 2024
#880 introduced compatibility with libxml 2.12, but also caused compilation errors on systems with only 2.11.
This fixes compilation for systems with older libxml versions.
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.

2 participants