Skip to content

change the Unicode string default char type to char32_t #3059

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

Merged
merged 1 commit into from
Feb 27, 2025

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