Skip to content

Conversation

@khwilliamson
Copy link
Contributor

The previous code was generating bunches of uninitialized variable warnings, due to 1) not checking for definedness early; 2) the loop termination needs to be reevaluated each time because there is a potential splice, shortening the array.

This only happens, I believe, on MingW not using UCRT.

@jkeenan jkeenan added type-locale build-time-warnings Replaces [META] Build-time warnings RT #133556 labels Nov 24, 2023
The previous code was generating bunches of uninitialized variable
warnings, due to 1) not checking for definedness early; 2) the loop
termination needs to be reevaluated each time because there is a
potential splice, shortening the array.

This only happens, I believe, on MingW not using UCRT.
@jkeenan
Copy link
Contributor

jkeenan commented Dec 31, 2023

The previous code was generating bunches of uninitialized variable warnings, due to 1) not checking for definedness early; 2) the loop termination needs to be reevaluated each time because there is a potential splice, shortening the array.

This only happens, I believe, on MingW not using UCRT.

Could we get someone who can build this branch on Windows/MingW without using UCRT and give us a shout-out? Thanks.

@jkeenan jkeenan added type-win32build build issue on Win32 distro-mswin32 and removed type-win32build build issue on Win32 labels Dec 31, 2023
@khwilliamson khwilliamson deleted the mingw_locale_threads branch February 6, 2024 16:36
@khwilliamson khwilliamson restored the mingw_locale_threads branch February 6, 2024 16:37
@khwilliamson khwilliamson reopened this Feb 6, 2024
@khwilliamson
Copy link
Contributor Author

I have tried it on MingW, and they no longer appear

@khwilliamson khwilliamson merged commit cfc8e8a into Perl:blead Feb 12, 2024
@khwilliamson khwilliamson deleted the mingw_locale_threads branch February 12, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-time-warnings Replaces [META] Build-time warnings RT #133556 distro-mswin32 type-locale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants