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

Fix compilation with -Wincompatible-function-pointer-types #16924

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

hoodmane
Copy link
Contributor

The latest LLVM has gotten more strict when compiling with -Wincompatible-function-pointer-types. It gets unhappy that void* and FILE* are mixed up in this file.

hoodmane added a commit to pyodide/pyodide that referenced this pull request Aug 30, 2022
@tylerjereddy tylerjereddy added maintenance Items related to regular maintenance tasks scipy.spatial labels Aug 30, 2022
Copy link
Contributor

@tylerjereddy tylerjereddy left a comment

Choose a reason for hiding this comment

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

LGTM, it is a better match to the vendored function prototype we have from Qhull for qh_eachvoronoi_all as well.

The one CI failure is because the base branch you're using for this pull request is a bit old--it is missing the new pooch dependency needed for the doc build to succeed without warnings: git grep -E -i "pooch" | grep -E "circleci". So, that's not related.

@tylerjereddy tylerjereddy added this to the 1.10.0 milestone Aug 30, 2022
@tylerjereddy tylerjereddy merged commit cc63003 into scipy:main Aug 30, 2022
@hoodmane hoodmane deleted the incompatible-fptypes branch August 30, 2022 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.spatial
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants