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

BUG: Reorder extern "C" to only apply to function declarations in npy_math.h #21946

Merged
merged 1 commit into from Jul 8, 2022

Conversation

serge-sans-paille
Copy link
Contributor

That way incompatible included headers are not affected.

Fix #21802

That way incompatible included headers are not affected.

Fix numpy#21802
@serge-sans-paille serge-sans-paille changed the title Reorder extern "C" to only apply to function declarations in npy_math.h [WIP] Reorder extern "C" to only apply to function declarations in npy_math.h Jul 7, 2022
@charris charris added this to the 1.23.1 release milestone Jul 8, 2022
@charris charris changed the title [WIP] Reorder extern "C" to only apply to function declarations in npy_math.h BUG: Reorder extern "C" to only apply to function declarations in npy_math.h Jul 8, 2022
@charris charris merged commit c9b5893 into numpy:main Jul 8, 2022
@charris
Copy link
Member

charris commented Jul 8, 2022

Thanks @serge-sans-paille. I went ahead and merged this for backport to the 1.23.1 release. If you have further improvements open another PR.

@serge-sans-paille
Copy link
Contributor Author

@charris: I added the WIP label on this PR because I didn't have the opportunity to reproduce #21802 locally, so that fix was "in the dark" on my side. Did you manage to make sure it actually fixed the original issue?

@charris
Copy link
Member

charris commented Jul 8, 2022

Did you manage to make sure it actually fixed the original issue?

No, I went with @tacaswell 's comment in #21802.

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jul 8, 2022
@charris charris removed this from the 1.23.1 release milestone Jul 8, 2022
@tacaswell
Copy link
Contributor

I can also confirm that the main branch now builds on the system where it was not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compilation failure with py311 (and py312) on OSX 12.4 with M1
3 participants