Open
Bug 1928860
Opened 1 year ago
Updated 8 months ago
std::codecvt_utf8 was deprecated in C++17 and removed in C++26
Categories
(Core :: JavaScript Engine, task, P5)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: cpeterson, Unassigned)
References
(Blocks 1 open bug)
Details
std::codecvt_utf8 was deprecated in C++17 and removed in C++26, even though the standard library has no replacement yet.
"Remove Deprecated Unicode Conversion Facets from C++26"
https://isocpp.org/files/papers/P2871R3.pdf
https://en.cppreference.com/w/cpp/locale/codecvt_utf8
js/src/vm/CharacterEncoding.cpp:681:8 [-Wdeprecated-declarations] 'codecvt_utf8<wchar_t>' is deprecated
js/src/vm/CharacterEncoding.cpp:806:8 [-Wdeprecated-declarations] 'codecvt_utf8<wchar_t>' is deprecated
You need to log in
before you can comment on or make changes to this bug.
Description
•