FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

BUG: Fix GCC error during build configuration by charris · Pull Request #21534 · numpy/numpy · GitHub

/ numpy Public

BUG: Fix GCC error during build configuration - #21534

Merged
seberg merged 1 commit into
numpy:mainfrom
charris:fix-gcc-config-error
May 18, 2022
Merged

seberg merged 1 commit into
numpy:mainfrom
charris:fix-gcc-config-error

Conversation

charris commented May 18, 2022

Copy link
Copy Markdown
Member

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 added 00 - Bug 09 - Backport-Candidate PRs tagged should be backported 36 - Build Build related PR labels May 18, 2022
charris added this to the 1.22.4 release milestone May 18, 2022

seberg commented May 18, 2022

Copy link
Copy Markdown
Member

OK, lets just do it. It seems plausible that clang also understands the pragma, and at least for long double MSVC should be a non-issue. Thanks Chuck!

seberg merged commit ad10968 into numpy:main May 18, 2022
charris removed the 09 - Backport-Candidate PRs tagged should be backported label May 18, 2022
charris removed this from the 1.22.4 release milestone May 18, 2022
charris deleted the fix-gcc-config-error branch May 18, 2022 22:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 36 - Build Build related PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Local build testing broken on Fedora 35 by #21154.

2 participants


Back | FazBrowse Home | New Git URL