Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ninja
- [1/4] Building CXX object ChessNetworking/CMakeFiles/ChessNetworking.dir/src/server_connection.cpp.o
- FAILED: ChessNetworking/CMakeFiles/ChessNetworking.dir/src/server_connection.cpp.o
- /usr/local/bin/clang++ -I/home/sha512sum/develop/ChessNetworking/include -g -O3 -Winvalid-pch -Xclang -include-pch -Xclang /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx -MD -MT ChessNetworking/CMakeFiles/ChessNetworking.dir/src/server_connection.cpp.o -MF ChessNetworking/CMakeFiles/ChessNetworking.dir/src/server_connection.cpp.o.d -o ChessNetworking/CMakeFiles/ChessNetworking.dir/src/server_connection.cpp.o -c /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp
- In file included from <built-in>:1:
- In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
- In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
- In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
- In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
- In file included from /usr/include/boost/asio/basic_socket.hpp:38:
- In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
- /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:162:9: error: no matching function for call to 'buffer_sequence_begin'
- 162 | boost::asio::buffer_sequence_begin(buffer_sequence),
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:64:22: note: in instantiation of member function 'boost::asio::detail::buffer_sequence_adapter<boost::asio::mutable_buffer, boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>>::first' requested here
- 64 | bufs_type::first(o->buffers_).data(),
- | ^
- /usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:44:40: note: in instantiation of member function 'boost::asio::detail::reactive_socket_recv_op_base<boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>>::do_perform' requested here
- 44 | &reactive_socket_recv_op_base::do_perform, complete_func),
- | ^
- /usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:107:7: note: in instantiation of member function 'boost::asio::detail::reactive_socket_recv_op_base<boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>>::reactive_socket_recv_op_base' requested here
- 107 | : reactive_socket_recv_op_base<MutableBufferSequence>(success_ec, socket,
- | ^
- /usr/include/boost/asio/detail/reactive_socket_service_base.hpp:405:21: note: in instantiation of member function 'boost::asio::detail::reactive_socket_recv_op<boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>, (lambda at /home/sha512sumq/develop/ChessNetworking/src/server_connection.cpp:7:69), boost::asio::any_io_executor>::reactive_socket_recv_op' requested here
- 405 | p.p = new (p.v) op(success_ec_, impl.socket_,
- | ^
- /usr/include/boost/asio/basic_stream_socket.hpp:1176:34: note: in instantiation of function template specialization 'boost::asio::detail::reactive_socket_service_base::async_receive<boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>, (lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), boost::asio::any_io_executor>' requested here
- 1176 | self_->impl_.get_service().async_receive(
- | ^
- /usr/include/boost/asio/async_result.hpp:482:5: note: in instantiation of function template specialization 'boost::asio::basic_stream_socket<boost::asio::ip::tcp>::initiate_async_receive::operator()<(lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>>' requested here
- 482 | BOOST_ASIO_MOVE_CAST(Initiation)(initiation)(
- | ^
- /usr/include/boost/asio/detail/config.hpp:135:37: note: expanded from macro 'BOOST_ASIO_MOVE_CAST'
- 135 | # define BOOST_ASIO_MOVE_CAST(type) static_cast<type&&>
- | ^
- /usr/include/boost/asio/async_result.hpp:896:21: note: in instantiation of function template specialization 'boost::asio::detail::completion_handler_async_result<(lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), void (boost::system::error_code, unsigned long)>::initiate<boost::asio::basic_stream_socket<boost::asio::ip::tcp>::initiate_async_receive, (lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>> &, int>' requested here
- 896 | Signatures...>::initiate(BOOST_ASIO_MOVE_CAST(Initiation)(initiation),
- | ^
- /usr/include/boost/asio/basic_stream_socket.hpp:1106:12: note: in instantiation of function template specialization 'boost::asio::async_initiate<(lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), void (boost::system::error_code, unsigned long), boost::asio::basic_stream_socket<boost::asio::ip::tcp>::initiate_async_receive, const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>> &, int>' requested here
- 1106 | return async_initiate<ReadToken,
- | ^
- /usr/include/boost/asio/registered_buffer.hpp:244:30: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const mutable_registered_buffer' for 1st argument
- 245 | inline const mutable_buffer* buffer_sequence_begin(
- | ^
- 246 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/registered_buffer.hpp:251:28: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const const_registered_buffer' for 1st argument
- 252 | inline const const_buffer* buffer_sequence_begin(
- | ^
- 253 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/buffer.hpp:390:30: note: candidate template ignored: substitution failure [with MutableBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 393 | inline const mutable_buffer* buffer_sequence_begin(const MutableBuffer& b,
- | ^
- 394 | typename constraint<
- 395 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
- 396 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:400:28: note: candidate template ignored: substitution failure [with ConstBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 403 | inline const const_buffer* buffer_sequence_begin(const ConstBuffer& b,
- | ^
- 404 | typename constraint<
- 405 | is_convertible<const ConstBuffer*, const const_buffer*>::value
- 406 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:412:13: note: candidate template ignored: substitution failure [with C = const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'begin' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 416 | inline auto buffer_sequence_begin(C& c,
- | ^
- 417 | typename constraint<
- 418 | !is_convertible<const C*, const mutable_buffer*>::value
- 419 | && !is_convertible<const C*, const const_buffer*>::value
- 420 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
- | ~~~~~
- /usr/include/boost/asio/buffer.hpp:423:13: note: candidate template ignored: substitution failure [with C = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'begin' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 427 | inline auto buffer_sequence_begin(const C& c,
- | ^
- 428 | typename constraint<
- 429 | !is_convertible<const C*, const mutable_buffer*>::value
- 430 | && !is_convertible<const C*, const const_buffer*>::value
- 431 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
- | ~~~~~
- In file included from <built-in>:1:
- In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
- In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
- In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
- In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
- In file included from /usr/include/boost/asio/basic_socket.hpp:38:
- In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
- /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:163:9: error: no matching function for call to 'buffer_sequence_end'
- 163 | boost::asio::buffer_sequence_end(buffer_sequence));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/registered_buffer.hpp:261:30: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const mutable_registered_buffer' for 1st argument
- 262 | inline const mutable_buffer* buffer_sequence_end(
- | ^
- 263 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/registered_buffer.hpp:268:28: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const const_registered_buffer' for 1st argument
- 269 | inline const const_buffer* buffer_sequence_end(
- | ^
- 270 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/buffer.hpp:467:30: note: candidate template ignored: substitution failure [with MutableBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 470 | inline const mutable_buffer* buffer_sequence_end(const MutableBuffer& b,
- | ^
- 471 | typename constraint<
- 472 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
- 473 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:477:28: note: candidate template ignored: substitution failure [with ConstBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 480 | inline const const_buffer* buffer_sequence_end(const ConstBuffer& b,
- | ^
- 481 | typename constraint<
- 482 | is_convertible<const ConstBuffer*, const const_buffer*>::value
- 483 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:489:13: note: candidate template ignored: substitution failure [with C = const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'end' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 493 | inline auto buffer_sequence_end(C& c,
- | ^
- 494 | typename constraint<
- 495 | !is_convertible<const C*, const mutable_buffer*>::value
- 496 | && !is_convertible<const C*, const const_buffer*>::value
- 497 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
- | ~~~
- /usr/include/boost/asio/buffer.hpp:500:13: note: candidate template ignored: substitution failure [with C = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'end' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 504 | inline auto buffer_sequence_end(const C& c,
- | ^
- 505 | typename constraint<
- 506 | !is_convertible<const C*, const mutable_buffer*>::value
- 507 | && !is_convertible<const C*, const const_buffer*>::value
- 508 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
- | ~~~
- In file included from <built-in>:1:
- In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
- In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
- In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
- In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
- In file included from /usr/include/boost/asio/basic_socket.hpp:38:
- In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
- /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:116:9: error: no matching function for call to 'buffer_sequence_begin'
- 116 | boost::asio::buffer_sequence_begin(buffer_sequence),
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:71:17: note: in instantiation of member function 'boost::asio::detail::buffer_sequence_adapter<boost::asio::mutable_buffer, boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>>::buffer_sequence_adapter' requested here
- 71 | bufs_type bufs(o->buffers_);
- | ^
- /usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:44:40: note: in instantiation of member function 'boost::asio::detail::reactive_socket_recv_op_base<boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>>::do_perform' requested here
- 44 | &reactive_socket_recv_op_base::do_perform, complete_func),
- | ^
- /usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:107:7: note: in instantiation of member function 'boost::asio::detail::reactive_socket_recv_op_base<boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>>::reactive_socket_recv_op_base' requested here
- 107 | : reactive_socket_recv_op_base<MutableBufferSequence>(success_ec, socket,
- | ^
- /usr/include/boost/asio/detail/reactive_socket_service_base.hpp:405:21: note: in instantiation of member function 'boost::asio::detail::reactive_socket_recv_op<boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>, (lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), boost::asio::any_io_executor>::reactive_socket_recv_op' requested here
- 405 | p.p = new (p.v) op(success_ec_, impl.socket_,
- | ^
- /usr/include/boost/asio/basic_stream_socket.hpp:1176:34: note: in instantiation of function template specialization 'boost::asio::detail::reactive_socket_service_base::async_receive<boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>, (lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), boost::asio::any_io_executor>' requested here
- 1176 | self_->impl_.get_service().async_receive(
- | ^
- /usr/include/boost/asio/async_result.hpp:482:5: note: in instantiation of function template specialization 'boost::asio::basic_stream_socket<boost::asio::ip::tcp>::initiate_async_receive::operator()<(lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>>' requested here
- 482 | BOOST_ASIO_MOVE_CAST(Initiation)(initiation)(
- | ^
- /usr/include/boost/asio/detail/config.hpp:135:37: note: expanded from macro 'BOOST_ASIO_MOVE_CAST'
- 135 | # define BOOST_ASIO_MOVE_CAST(type) static_cast<type&&>
- | ^
- /usr/include/boost/asio/async_result.hpp:896:21: note: in instantiation of function template specialization 'boost::asio::detail::completion_handler_async_result<(lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), void (boost::system::error_code, unsigned long)>::initiate<boost::asio::basic_stream_socket<boost::asio::ip::tcp>::initiate_async_receive, (lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>> &, int>' requested here
- 896 | Signatures...>::initiate(BOOST_ASIO_MOVE_CAST(Initiation)(initiation),
- | ^
- /usr/include/boost/asio/basic_stream_socket.hpp:1106:12: note: in instantiation of function template specialization 'boost::asio::async_initiate<(lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), void (boost::system::error_code, unsigned long), boost::asio::basic_stream_socket<boost::asio::ip::tcp>::initiate_async_receive, const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>> &, int>' requested here
- 1106 | return async_initiate<ReadToken,
- | ^
- /usr/include/boost/asio/registered_buffer.hpp:244:30: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const mutable_registered_buffer' for 1st argument
- 245 | inline const mutable_buffer* buffer_sequence_begin(
- | ^
- 246 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/registered_buffer.hpp:251:28: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const const_registered_buffer' for 1st argument
- 252 | inline const const_buffer* buffer_sequence_begin(
- | ^
- 253 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/buffer.hpp:390:30: note: candidate template ignored: substitution failure [with MutableBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 393 | inline const mutable_buffer* buffer_sequence_begin(const MutableBuffer& b,
- | ^
- 394 | typename constraint<
- 395 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
- 396 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:400:28: note: candidate template ignored: substitution failure [with ConstBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 403 | inline const const_buffer* buffer_sequence_begin(const ConstBuffer& b,
- | ^
- 404 | typename constraint<
- 405 | is_convertible<const ConstBuffer*, const const_buffer*>::value
- 406 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:412:13: note: candidate template ignored: substitution failure [with C = const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'begin' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 416 | inline auto buffer_sequence_begin(C& c,
- | ^
- 417 | typename constraint<
- 418 | !is_convertible<const C*, const mutable_buffer*>::value
- 419 | && !is_convertible<const C*, const const_buffer*>::value
- 420 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
- | ~~~~~
- /usr/include/boost/asio/buffer.hpp:423:13: note: candidate template ignored: substitution failure [with C = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'begin' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 427 | inline auto buffer_sequence_begin(const C& c,
- | ^
- 428 | typename constraint<
- 429 | !is_convertible<const C*, const mutable_buffer*>::value
- 430 | && !is_convertible<const C*, const const_buffer*>::value
- 431 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
- | ~~~~~
- In file included from <built-in>:1:
- In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
- In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
- In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
- In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
- In file included from /usr/include/boost/asio/basic_socket.hpp:38:
- In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
- /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:117:9: error: no matching function for call to 'buffer_sequence_end'
- 117 | boost::asio::buffer_sequence_end(buffer_sequence));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/registered_buffer.hpp:261:30: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const mutable_registered_buffer' for 1st argument
- 262 | inline const mutable_buffer* buffer_sequence_end(
- | ^
- 263 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/registered_buffer.hpp:268:28: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const const_registered_buffer' for 1st argument
- 269 | inline const const_buffer* buffer_sequence_end(
- | ^
- 270 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/buffer.hpp:467:30: note: candidate template ignored: substitution failure [with MutableBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 470 | inline const mutable_buffer* buffer_sequence_end(const MutableBuffer& b,
- | ^
- 471 | typename constraint<
- 472 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
- 473 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:477:28: note: candidate template ignored: substitution failure [with ConstBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 480 | inline const const_buffer* buffer_sequence_end(const ConstBuffer& b,
- | ^
- 481 | typename constraint<
- 482 | is_convertible<const ConstBuffer*, const const_buffer*>::value
- 483 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:489:13: note: candidate template ignored: substitution failure [with C = const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'end' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 493 | inline auto buffer_sequence_end(C& c,
- | ^
- 494 | typename constraint<
- 495 | !is_convertible<const C*, const mutable_buffer*>::value
- 496 | && !is_convertible<const C*, const const_buffer*>::value
- 497 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
- | ~~~
- /usr/include/boost/asio/buffer.hpp:500:13: note: candidate template ignored: substitution failure [with C = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'end' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 504 | inline auto buffer_sequence_end(const C& c,
- | ^
- 505 | typename constraint<
- 506 | !is_convertible<const C*, const mutable_buffer*>::value
- 507 | && !is_convertible<const C*, const const_buffer*>::value
- 508 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
- | ~~~
- In file included from <built-in>:1:
- In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
- In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
- In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
- In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
- In file included from /usr/include/boost/asio/basic_socket.hpp:38:
- In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
- /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:148:9: error: no matching function for call to 'buffer_sequence_begin'
- 148 | boost::asio::buffer_sequence_begin(buffer_sequence),
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/detail/reactive_socket_service_base.hpp:426:37: note: in instantiation of member function 'boost::asio::detail::buffer_sequence_adapter<boost::asio::mutable_buffer, boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>>::all_empty' requested here
- 426 | MutableBufferSequence>::all_empty(buffers)));
- | ^
- /usr/include/boost/asio/basic_stream_socket.hpp:1176:34: note: in instantiation of function template specialization 'boost::asio::detail::reactive_socket_service_base::async_receive<boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>, (lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), boost::asio::any_io_executor>' requested here
- 1176 | self_->impl_.get_service().async_receive(
- | ^
- /usr/include/boost/asio/async_result.hpp:482:5: note: in instantiation of function template specialization 'boost::asio::basic_stream_socket<boost::asio::ip::tcp>::initiate_async_receive::operator()<(lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>>' requested here
- 482 | BOOST_ASIO_MOVE_CAST(Initiation)(initiation)(
- | ^
- /usr/include/boost/asio/detail/config.hpp:135:37: note: expanded from macro 'BOOST_ASIO_MOVE_CAST'
- 135 | # define BOOST_ASIO_MOVE_CAST(type) static_cast<type&&>
- | ^
- /usr/include/boost/asio/async_result.hpp:896:21: note: in instantiation of function template specialization 'boost::asio::detail::completion_handler_async_result<(lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), void (boost::system::error_code, unsigned long)>::initiate<boost::asio::basic_stream_socket<boost::asio::ip::tcp>::initiate_async_receive, (lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>> &, int>' requested here
- 896 | Signatures...>::initiate(BOOST_ASIO_MOVE_CAST(Initiation)(initiation),
- | ^
- /usr/include/boost/asio/basic_stream_socket.hpp:1106:12: note: in instantiation of function template specialization 'boost::asio::async_initiate<(lambda at /home/sha512sum/develop/ChessNetworking/src/server_connection.cpp:7:69), void (boost::system::error_code, unsigned long), boost::asio::basic_stream_socket<boost::asio::ip::tcp>::initiate_async_receive, const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>> &, int>' requested here
- 1106 | return async_initiate<ReadToken,
- | ^
- /usr/include/boost/asio/registered_buffer.hpp:244:30: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const mutable_registered_buffer' for 1st argument
- 245 | inline const mutable_buffer* buffer_sequence_begin(
- | ^
- 246 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/registered_buffer.hpp:251:28: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const const_registered_buffer' for 1st argument
- 252 | inline const const_buffer* buffer_sequence_begin(
- | ^
- 253 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/buffer.hpp:390:30: note: candidate template ignored: substitution failure [with MutableBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 393 | inline const mutable_buffer* buffer_sequence_begin(const MutableBuffer& b,
- | ^
- 394 | typename constraint<
- 395 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
- 396 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:400:28: note: candidate template ignored: substitution failure [with ConstBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 403 | inline const const_buffer* buffer_sequence_begin(const ConstBuffer& b,
- | ^
- 404 | typename constraint<
- 405 | is_convertible<const ConstBuffer*, const const_buffer*>::value
- 406 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:412:13: note: candidate template ignored: substitution failure [with C = const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'begin' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 416 | inline auto buffer_sequence_begin(C& c,
- | ^
- 417 | typename constraint<
- 418 | !is_convertible<const C*, const mutable_buffer*>::value
- 419 | && !is_convertible<const C*, const const_buffer*>::value
- 420 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
- | ~~~~~
- /usr/include/boost/asio/buffer.hpp:423:13: note: candidate template ignored: substitution failure [with C = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'begin' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 427 | inline auto buffer_sequence_begin(const C& c,
- | ^
- 428 | typename constraint<
- 429 | !is_convertible<const C*, const mutable_buffer*>::value
- 430 | && !is_convertible<const C*, const const_buffer*>::value
- 431 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
- | ~~~~~
- In file included from <built-in>:1:
- In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
- In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
- In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
- In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
- In file included from /usr/include/boost/asio/basic_socket.hpp:38:
- In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
- /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:149:9: error: no matching function for call to 'buffer_sequence_end'
- 149 | boost::asio::buffer_sequence_end(buffer_sequence));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/registered_buffer.hpp:261:30: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const mutable_registered_buffer' for 1st argument
- 262 | inline const mutable_buffer* buffer_sequence_end(
- | ^
- 263 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/registered_buffer.hpp:268:28: note: candidate function not viable: no known conversion from 'const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>' to 'const const_registered_buffer' for 1st argument
- 269 | inline const const_buffer* buffer_sequence_end(
- | ^
- 270 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/boost/asio/buffer.hpp:467:30: note: candidate template ignored: substitution failure [with MutableBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 470 | inline const mutable_buffer* buffer_sequence_end(const MutableBuffer& b,
- | ^
- 471 | typename constraint<
- 472 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
- 473 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:477:28: note: candidate template ignored: substitution failure [with ConstBuffer = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no type named 'type' in 'boost::asio::constraint<false>'
- 480 | inline const const_buffer* buffer_sequence_end(const ConstBuffer& b,
- | ^
- 481 | typename constraint<
- 482 | is_convertible<const ConstBuffer*, const const_buffer*>::value
- 483 | >::type = 0) BOOST_ASIO_NOEXCEPT
- | ~~~~
- /usr/include/boost/asio/buffer.hpp:489:13: note: candidate template ignored: substitution failure [with C = const boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'end' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 493 | inline auto buffer_sequence_end(C& c,
- | ^
- 494 | typename constraint<
- 495 | !is_convertible<const C*, const mutable_buffer*>::value
- 496 | && !is_convertible<const C*, const const_buffer*>::value
- 497 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
- | ~~~
- /usr/include/boost/asio/buffer.hpp:500:13: note: candidate template ignored: substitution failure [with C = boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>]: no member named 'end' in 'boost::asio::dynamic_vector_buffer<unsigned char, std::allocator<unsigned char>>'
- 504 | inline auto buffer_sequence_end(const C& c,
- | ^
- 505 | typename constraint<
- 506 | !is_convertible<const C*, const mutable_buffer*>::value
- 507 | && !is_convertible<const C*, const const_buffer*>::value
- 508 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
- | ~~~
- 6 errors generated.
- [2/4] Building CXX object ChessNetworking/CMakeFiles/ChessNetworking.dir/src/router.cpp.o
- ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement