Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix warnings for multi-byte character conversions #28

Open
michab66 opened this issue Jul 5, 2021 · 0 comments
Open

Fix warnings for multi-byte character conversions #28

michab66 opened this issue Jul 5, 2021 · 0 comments
Labels
hygiene Keep the project clean and tidy

Comments

@michab66
Copy link
Owner

michab66 commented Jul 5, 2021

Warnings remain in mod_util.hpp transfrom functions:

// C4996 'std::codecvt_utf8<wchar_t,1114111,(std::codecvt_mode)0>': warning STL4017 : std::wbuffer_convert, std::wstring_convert, and the <codecvt> header(containing std::codecvt_mode, std::codecvt_utf8, std::codecvt_utf16, and std::codecvt_utf8_utf16) are deprecated in C++17. (The std::codecvt class template is NOT deprecated.) The C++ Standard doesn't provide equivalent non-deprecated functionality; consider using MultiByteToWideChar() and WideCharToMultiByte() from <Windows.h> instead. You can define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.	jlgen	github\jlaunch\jlgen\mod_util.hpp

Fix, follow the hint in the warning.

@michab66 michab66 added the hygiene Keep the project clean and tidy label Sep 26, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
hygiene Keep the project clean and tidy
Projects
None yet
Development

No branches or pull requests

1 participant