Skip to content

change the Unicode string default char type to char32_t#3059

Merged
davisking merged 1 commit intodavisking:masterfrom
wenbingl:char32_t
Feb 27, 2025
Merged

change the Unicode string default char type to char32_t#3059
davisking merged 1 commit intodavisking:masterfrom
wenbingl:char32_t

Conversation

@wenbingl
Copy link
Contributor

@wenbingl wenbingl commented Feb 25, 2025

Motivation: in some LLVM 19 based compiler (like emsdk v4.x), The base template for std::char_traits has been removed in LLVM 19. and the std::char_traits can only work with types other than char, wchar_t, char8_t, char16_t, char32_t. More discussion can be found in #3045

Validation:
1. dlib unit test build pass, cannot run full test with or without the changes.
2. emsdk 4.0.3 build pass

@davisking
Copy link
Owner

Awesome, thanks for the update :D

@davisking davisking merged commit d352013 into davisking:master Feb 27, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants