-
Notifications
You must be signed in to change notification settings - Fork 553
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
Commit 996e6b9e17 breaks build with -Accflags="-DNO_LOCALE_NUMERIC" #19890
Labels
Comments
khwilliamson
added a commit
that referenced
this issue
Jun 25, 2022
This fixes GH #19890. This cleans up querying the current locale, which the blamed commit caused a compilation error for on platforms without LC_NUMERIC. That commit was written before we required C99, and being able to move declarations to not be at the beginning of a block made me realize that things could be simplified by a bit of refactoring, which this commit does.
khwilliamson
added a commit
that referenced
this issue
Jun 27, 2022
This fixes GH #19890. This cleans up querying the current locale, broken by 996e6b9 on platforms without LC_NUMERIC(*). That commit was written before we required C99, and being able to move declarations to not be at the beginning of a block made me realize that things could be simplified by a bit of refactoring, which this commit does. (*): Lack of LC_NUMERIC can be simulated by using './Configure -Accflags="-DNO_LOCALE_NUMERIC'
|
Fixed by 6a7aca8 |
scottchiefbaker
pushed a commit
to scottchiefbaker/perl5
that referenced
this issue
Nov 3, 2022
This fixes GH Perl#19890. This cleans up querying the current locale, broken by 996e6b9 on platforms without LC_NUMERIC(*). That commit was written before we required C99, and being able to move declarations to not be at the beginning of a block made me realize that things could be simplified by a bit of refactoring, which this commit does. (*): Lack of LC_NUMERIC can be simulated by using './Configure -Accflags="-DNO_LOCALE_NUMERIC'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I compile with this
./Configureswitch:... compilation fails on both OpenBSD and FreeBSD (using
clang10on both OSes) at this point:The above was observed on OpenBSD-6.9 at commit 7b92fe4. I have reproduced it on FreeBSD-12 as well. I originally spotted this problem in this smoke-test report: https://perl5.test-smoke.org/report/5019634. I customarily smoke-test on OpenBSD with
-Accflags="-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE"because that is closer to the "system perl" configuration options used by @afresh1.On an older Linux installation, with the same configuration I get:
The line in
locale.cat whichmakefailed was recently added:@khwilliamson, can you take a look?
The text was updated successfully, but these errors were encountered: