You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/text.cpp: In member function'text::TextTexture text::FontShaper::renderText(const string&)':src/text.cpp:86:10: error: 'wstring_convert' is not a member of 'std' 86 | std::wstring_convert<std::codecvt_utf8<char32_t>, char32_t> conv; | ^~~~~~~~~~~~~~~src/text.cpp:86:53: error: expected primary-expression before ',' token 86 | std::wstring_convert<std::codecvt_utf8<char32_t>, char32_t> conv; | ^src/text.cpp:86:55: error: expected primary-expression before 'char32_t' 86 | std::wstring_convert<std::codecvt_utf8<char32_t>, char32_t> conv; | ^~~~~~~~src/text.cpp:87:23: error: 'conv' was not declared in this scope; did you mean 'lconv'? 87 | return renderText(conv.from_bytes(s)); | ^~~~ | lconv
It seems that the compiler compatiable question. The wstring_convert is discarded from C++20.
The text was updated successfully, but these errors were encountered:
When I try to build this program, I get this
It seems that the compiler compatiable question. The
wstring_convert
is discarded from C++20.The text was updated successfully, but these errors were encountered: