Build error with boost 1.63 (error converting from boost::system::error_code to td::error_code) #813
Closed
Description
opened on Jul 23, 2018
Bug
Casablanca/Release/libs/websocketpp/websocketpp/transport/asio/security/tls.hpp:315:39: error: could not convert ‘boost::asio::ssl::error::make_error_code((boost::asio::ssl::error::stream_errors)1)’ from ‘boost::system::error_code’ to ‘std::error_code’
return make_error_code(boost::asio::ssl::error::stream_truncated);
system specifications
os = fedora 26
c++ compiler = g++ (GCC) 7.3.1 20180130 (Red Hat 7.3.1-2)
ssl = openssl 1:1.1.0
zlib 1.2.11-2
Fix
if (ERR_GET_REASON(ec.value()) == boost::asio::ssl::error::stream_truncated) { return make_error_code(static_cast<std::errc>(boost::asio::ssl::error::stream_truncated));
Metadata
Assignees
Labels
No labels
Activity