Skip to content

Conversation

@bnbarham
Copy link
Contributor

libxml2 added const to xmlHashScanner in v2.9.8. Wrap the call in a version check and cast for the non-const case.

libxml2 added `const` to `xmlHashScanner` in v2.9.8. Wrap the call in a
version check and cast for the non-const case.
@bnbarham
Copy link
Contributor Author

@shahmishal the other option is to update libxml2 on whatever CI jobs are currently failing with this. Not sure if that's an option, so have put this up just in case.

@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham
Copy link
Contributor Author

@compnerd and @etcwilde if you have time 🙏

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

This seems like the best approach here. I can just be grumpy at libxml2 changing signatures though right?

@compnerd
Copy link
Member

I think that we should go ahead and merge this for now. If we update the CI builders, we can remove this, it will be a bit of technical debt that we are carrying around, but it won't break anything.

@compnerd compnerd merged commit dfb2d54 into swiftlang:main Jan 28, 2023
@bnbarham bnbarham deleted the fix-const branch January 30, 2023 06:34
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