Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- slithercc_boost.cpp: In function ‘int main(int, const char**)’:
- slithercc_boost.cpp:237:71: error: use of deleted function ‘boost::beast::websocket::stream< <template-parameter-1-1>, <anonymous> >& boost::beast::websocket::stream< <template-parameter-1-1>, <anonymous> >::operator=(boost::beast::websocket::stream< <template-parameter-1-1>, <anonymous> >&&) [with NextLayer = boost::asio::basic_stream_socket<boost::asio::ip::tcp>; bool deflateSupported = true]’
- 237 | ws = connect_ws(config.test_server.c_str(), skin_config, test_server);
- | ^
- In file included from /usr/include/boost/beast/websocket.hpp:18,
- from websocket_boost.h:16,
- from slithercc_boost.cpp:1:
- /usr/include/boost/beast/websocket/stream.hpp:195:13: note: declared here
- 195 | stream& operator=(stream&&) = delete;
- | ^~~~~~~~
- slithercc_boost.cpp:262:53: error: use of deleted function ‘boost::beast::websocket::stream< <template-parameter-1-1>, <anonymous> >& boost::beast::websocket::stream< <template-parameter-1-1>, <anonymous> >::operator=(boost::beast::websocket::stream< <template-parameter-1-1>, <anonymous> >&&) [with NextLayer = boost::asio::basic_stream_socket<boost::asio::ip::tcp>; bool deflateSupported = true]’
- 262 | ws = connect_ws(config.server.c_str(), skin_config);
- | ^
- In file included from /usr/include/boost/beast/websocket.hpp:18,
- from websocket_boost.h:16,
- from slithercc_boost.cpp:1:
- /usr/include/boost/beast/websocket/stream.hpp:195:13: note: declared here
- 195 | stream& operator=(stream&&) = delete;
- | ^~~~~~~~
- make: *** [Makefile:31: slithercc_boost.o] Error 1
- websocket_boost.cpp: In function ‘size_t ws_read(boost::beast::websocket::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >&, ws_buf_t&)’:
- websocket_boost.cpp:30:45: error: ‘buf’ is not a constant expression
- 30 | boost::beast::flat_static_buffer<buf.size()> buffer;
- | ^
- websocket_boost.cpp:30:43: note: in template argument for type ‘long unsigned int’
- 30 | boost::beast::flat_static_buffer<buf.size()> buffer;
- | ~~~~~~~~^~
- websocket_boost.cpp:41:28: error: request for member ‘data’ in ‘buffer’, which is of non-class type ‘int’
- 41 | memcpy(buf.data(), buffer.data().data(), size);
- | ^~~~
- In file included from /usr/include/boost/beast/websocket/stream.hpp:2644,
- from /usr/include/boost/beast/websocket.hpp:18,
- from websocket_boost.h:16,
- from websocket_boost.cpp:1:
- /usr/include/boost/beast/websocket/impl/read.hpp: In instantiation of ‘std::size_t boost::beast::websocket::stream< <template-parameter-1-1>, <anonymous> >::read(DynamicBuffer&) [with DynamicBuffer = int; NextLayer = boost::asio::basic_stream_socket<boost::asio::ip::tcp>; bool deflateSupported = true; std::size_t = long unsigned int]’:
- websocket_boost.cpp:34:24: required from here
- /usr/include/boost/beast/websocket/impl/read.hpp:875:48: error: static assertion failed: DynamicBuffer type requirements not met
- 875 | net::is_dynamic_buffer<DynamicBuffer>::value,
- | ^~~~~
- make: *** [Makefile:31: websocket_boost.o] Error 1
- connect.cpp: In function ‘bool connect_ws_ptc(boost::beast::websocket::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >&, const char*)’:
- connect.cpp:179:6: error: ‘class boost::beast::websocket::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >’ has no member named ‘handshake_ex’; did you mean ‘template<class> class boost::beast::websocket::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >::handshake_op’? (not accessible from this context)
- 179 | ws.handshake_ex(res, host, target, ws_handshake_req_modify);
- | ^~~~~~~~~~~~
- In file included from /usr/include/boost/beast/websocket.hpp:18,
- from websocket_boost.h:16,
- from connect.cpp:1:
- /usr/include/boost/beast/websocket/stream.hpp:2543:35: note: declared private here
- 2543 | template<class> class handshake_op;
- | ^~~~~~~~~~~~
- connect.cpp: In function ‘bool connect_ws(boost::beast::websocket::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >&, const char*, const skin_config_t&, bool)’:
- connect.cpp:220:6: error: ‘class boost::beast::websocket::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >’ has no member named ‘handshake_ex’; did you mean ‘template<class> class boost::beast::websocket::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >::handshake_op’? (not accessible from this context)
- 220 | ws.handshake_ex(res, host, target, ws_handshake_req_modify);
- | ^~~~~~~~~~~~
- In file included from /usr/include/boost/beast/websocket.hpp:18,
- from websocket_boost.h:16,
- from connect.cpp:1:
- /usr/include/boost/beast/websocket/stream.hpp:2543:35: note: declared private here
- 2543 | template<class> class handshake_op;
- | ^~~~~~~~~~~~
- make: *** [Makefile:31: connect.o] Error 1
- make: Target 'all' not remade because of errors.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement