Describe your problem here.
Hello there~. I encountered a problem when compiling the reposity in vs2017
git clone --recurse-submodules xxx
to access your repositymsvc14/log4cplus.sln
1>d:\gitwork\log4cplus\src\property.cxx(146): error C4996: 'std::codecvt_mode': 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.
1>d:\software\visualstudio\2017\community\vc\tools\msvc\14.16.27023\include\codecvt(24): note: reference to “std::codecvt_mode” declaration
1>d:\gitwork\log4cplus\src\property.cxx(146): error C4996: 'std::codecvt_utf8<log4cplus::tchar,1114111,5>': 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.
1>d:\gitwork\log4cplus\src\property.cxx(145): note: reference to “std::codecvt_utf8<log4cplus::tchar,1114111,5>” declaration
1>d:\gitwork\log4cplus\src\property.cxx(155): error C4996: 'std::codecvt_mode': 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.
1>d:\software\visualstudio\2017\community\vc\tools\msvc\14.16.27023\include\codecvt(24): note: reference to “std::codecvt_mode” declaration
1>d:\gitwork\log4cplus\src\property.cxx(155): error C4996: 'std::codecvt_utf16<log4cplus::tchar,1114111,5>': 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.
1>d:\gitwork\log4cplus\src\property.cxx(154): note: reference to “std::codecvt_utf16<log4cplus::tchar,1114111,5>” declaration
1>d:\gitwork\log4cplus\src\property.cxx(145): error C4996: 'std::codecvt_utf8<log4cplus::tchar,1114111,5>::codecvt_utf8': 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.
1>d:\software\visualstudio\2017\community\vc\tools\msvc\14.16.27023\include\codecvt(48): note: reference to “std::codecvt_utf8<log4cplus::tchar,1114111,5>::codecvt_utf8” declaration
1>d:\gitwork\log4cplus\src\property.cxx(154): error C4996: 'std::codecvt_utf16<log4cplus::tchar,1114111,5>::codecvt_utf16': 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.
I don't what went wrong~
Also, provide the following information:
configure
script, or CMake, etc., flags and settings: using vs2017RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4