KEMBAR78
`<xlocale>`: Use `static_cast` to eliminate implicit conversions between different `charN_t` types by YexuanXiao · Pull Request #5653 · microsoft/STL · GitHub
Skip to content

Conversation

@YexuanXiao
Copy link
Contributor

The merged PR #138708 in Clang will generate warnings for implicit conversions between different charN_t types. This PR eliminates the implicit conversions that would produce warnings in <xlocale>. Some tests will fail due to this reason, such as GH_002769_handle_deque_block_pointers (though not all).

@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Aug 2, 2025
@StephanTLavavej StephanTLavavej moved this from Initial Review to Ready To Merge in STL Code Reviews Aug 2, 2025
@StephanTLavavej
Copy link
Member

Perfect, thanks! 😻

@StephanTLavavej StephanTLavavej moved this from Ready To Merge to Merging in STL Code Reviews Aug 7, 2025
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit a0168f1 into microsoft:main Aug 8, 2025
39 checks passed
@github-project-automation github-project-automation bot moved this from Merging to Done in STL Code Reviews Aug 8, 2025
@StephanTLavavej
Copy link
Member

Thanks for scouting out this new version of Clang and improving our warning resistance! 🎉 🐈 🐈‍⬛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants