Skip to content

BUG: Fix GCC error during build configuration#21536

Merged
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-21534
May 19, 2022
Merged

BUG: Fix GCC error during build configuration#21536
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-21534

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented May 18, 2022

Backport of #21534.

GCC 11 fails the configuration test for detecting strtold_l when the
-Wall flag is present because -Werror=nonnull is activated. The fix
is to add a pragma to numpy/core/feature_detection_locale.h to ignore
that error.

Closes #21529.

GCC 11 fails the configuration test for detecting `strtold_l` when the
`-Wall` flag is present because `-Werror=nonnull` is activated. The fix
is to add a pragma to `numpy/core/feature_detection_locale.h` to ignore
that error.

Closes numpy#21529.
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs 36 - Build Build related PR labels May 18, 2022
@charris charris added this to the 1.22.4 release milestone May 18, 2022
@charris charris merged commit c0d84f1 into numpy:maintenance/1.22.x May 19, 2022
@charris charris deleted the backport-21534 branch May 19, 2022 00:07
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 36 - Build Build related PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant