Skip to content

BUG: Include Python-including headers first#28172

Merged
charris merged 1 commit intonumpy:mainfrom
DWesl:include-python-including-headers-first
Jan 17, 2025
Merged

BUG: Include Python-including headers first#28172
charris merged 1 commit intonumpy:mainfrom
DWesl:include-python-including-headers-first

Conversation

@DWesl
Copy link
Contributor

@DWesl DWesl commented Jan 17, 2025

Found while trying to get NumPy to compile on the Cygwin test release of Python 3.12

BUG: Include python-including headers first in npstd.hpp

BUG: Include Python-including headers first in fast_loop_macros.h

BUG: Include Python-including headers first in npy_hashtable.cpp

BUG: Import Python.h first in dispatching.cpp

BUG: Include Python.h first in _pocketfft_umath.cpp
@charris charris merged commit c17d30d into numpy:main Jan 17, 2025
68 checks passed
@charris
Copy link
Member

charris commented Jan 17, 2025

Thanks @DWesl . I think clang-format would have fixed some of those, but maybe not all.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants