Skip to content

BUG: fix PyArray_ImportNumPyAPI under -Werror=strict-prototypes#26837

Merged
charris merged 1 commit into
numpy:maintenance/2.0.xfrom
charris:backport-26771
Jul 3, 2024
Merged

BUG: fix PyArray_ImportNumPyAPI under -Werror=strict-prototypes#26837
charris merged 1 commit into
numpy:maintenance/2.0.xfrom
charris:backport-26771

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jul 3, 2024

Backport of #26771.

Complete the prototype of PyArray_ImportNumPyAPI() by adding void to the argument list so that this header does not cause errors when the user is compiling with -Werror=strict-prototypes.

Complete the prototype of `PyArray_ImportNumPyAPI()` by adding
`void` to the argument list so that this header does not cause
errors when the user is compiling with `-Werror=strict-prototypes`.
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jul 3, 2024
@charris charris added this to the 2.0.1 release milestone Jul 3, 2024
@charris charris merged commit 44789a8 into numpy:maintenance/2.0.x Jul 3, 2024
@charris charris deleted the backport-26771 branch July 3, 2024 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants