-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Compatibility issues between Boost1.76 and websocketpp0.8.2 #1080
Comments
warning C4996: 'std::codecvt_utf8<wchar_t,1114111,(std::codecvt_mode)0>': warning STL4017: std::wbuffer_convert, std::wstring_convert, and the 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> C:\apps\MVS16117\VC\Tools\MSVC\14.29.30133\include\xutility(151): note: A non-const reference may only be bound to an lvalue |
Sorry, I check that I used 0.8.1 instead of 0.8.2 |
Hello, sorry to bother you, can Boost 1.76 + Websocketpp 0.8.2 work properly? When I tested it, I found that Websocketpp does not seem to work properly in Boost 1.74+, and it seems that there are some asio-related interface changes. |
For me, Boost 1.76 + Websocketpp 0.8.2 work correctly. You may have a try of 1.76 or websocketpp 0.8.1 |
I will try it, thanks. |
There is no issue when use boost1.64 and websocketpp0.8.2. However, if change to boost1.76, It seems that boost::basic_stream_socket abolish non-const boost::asio::io_context constructor. The error log as below.
The text was updated successfully, but these errors were encountered: