-
Notifications
You must be signed in to change notification settings - Fork 30
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
Functionalities in <codecvt> are deprecated since C++ 17/20 #28
Comments
An easy way to ignore that is to add diagnostic pragmas around the entire implement: #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
...
#pragma GCC diagnostic pop Since Clang could recognize GCC, we just put GCC here in the pragmas. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some functionalities in
<codecvt>
(e.g.std::codecvt<char16_t, char, std::mbstate_t>
) are being deprecated since C++ 17/20. Please refer to https://en.cppreference.com/w/cpp/locale/codecvt for more details. Compiling with these usages may throw annoying warnings.The text was updated successfully, but these errors were encountered: