Advertisement
Guest User

Untitled

a guest
Aug 11th, 2023
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.44 KB | None | 0 0
  1. ninja
  2. [1/4] Building CXX object ChessNetworking/CMakeFiles/ChessNetworking.dir/src/server_connection.cpp.o
  3. FAILED: ChessNetworking/CMakeFiles/ChessNetworking.dir/src/server_connection.cpp.o
  4. /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
  5. In file included from <built-in>:1:
  6. In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
  7. In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
  8. In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
  9. In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
  10. In file included from /usr/include/boost/asio/basic_socket.hpp:38:
  11. In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
  12. /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:162:9: error: no matching function for call to 'buffer_sequence_begin'
  13. 162 | boost::asio::buffer_sequence_begin(buffer_sequence),
  14. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. /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
  16. 64 | bufs_type::first(o->buffers_).data(),
  17. | ^
  18. /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
  19. 44 | &reactive_socket_recv_op_base::do_perform, complete_func),
  20. | ^
  21. /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
  22. 107 | : reactive_socket_recv_op_base<MutableBufferSequence>(success_ec, socket,
  23. | ^
  24. /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
  25. 405 | p.p = new (p.v) op(success_ec_, impl.socket_,
  26. | ^
  27. /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
  28. 1176 | self_->impl_.get_service().async_receive(
  29. | ^
  30. /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
  31. 482 | BOOST_ASIO_MOVE_CAST(Initiation)(initiation)(
  32. | ^
  33. /usr/include/boost/asio/detail/config.hpp:135:37: note: expanded from macro 'BOOST_ASIO_MOVE_CAST'
  34. 135 | # define BOOST_ASIO_MOVE_CAST(type) static_cast<type&&>
  35. | ^
  36. /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
  37. 896 | Signatures...>::initiate(BOOST_ASIO_MOVE_CAST(Initiation)(initiation),
  38. | ^
  39. /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
  40. 1106 | return async_initiate<ReadToken,
  41. | ^
  42. /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
  43. 245 | inline const mutable_buffer* buffer_sequence_begin(
  44. | ^
  45. 246 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  46. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  47. /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
  48. 252 | inline const const_buffer* buffer_sequence_begin(
  49. | ^
  50. 253 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  51. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  52. /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>'
  53. 393 | inline const mutable_buffer* buffer_sequence_begin(const MutableBuffer& b,
  54. | ^
  55. 394 | typename constraint<
  56. 395 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
  57. 396 | >::type = 0) BOOST_ASIO_NOEXCEPT
  58. | ~~~~
  59. /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>'
  60. 403 | inline const const_buffer* buffer_sequence_begin(const ConstBuffer& b,
  61. | ^
  62. 404 | typename constraint<
  63. 405 | is_convertible<const ConstBuffer*, const const_buffer*>::value
  64. 406 | >::type = 0) BOOST_ASIO_NOEXCEPT
  65. | ~~~~
  66. /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>>'
  67. 416 | inline auto buffer_sequence_begin(C& c,
  68. | ^
  69. 417 | typename constraint<
  70. 418 | !is_convertible<const C*, const mutable_buffer*>::value
  71. 419 | && !is_convertible<const C*, const const_buffer*>::value
  72. 420 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
  73. | ~~~~~
  74. /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>>'
  75. 427 | inline auto buffer_sequence_begin(const C& c,
  76. | ^
  77. 428 | typename constraint<
  78. 429 | !is_convertible<const C*, const mutable_buffer*>::value
  79. 430 | && !is_convertible<const C*, const const_buffer*>::value
  80. 431 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
  81. | ~~~~~
  82. In file included from <built-in>:1:
  83. In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
  84. In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
  85. In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
  86. In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
  87. In file included from /usr/include/boost/asio/basic_socket.hpp:38:
  88. In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
  89. /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:163:9: error: no matching function for call to 'buffer_sequence_end'
  90. 163 | boost::asio::buffer_sequence_end(buffer_sequence));
  91. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  92. /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
  93. 262 | inline const mutable_buffer* buffer_sequence_end(
  94. | ^
  95. 263 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  96. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  97. /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
  98. 269 | inline const const_buffer* buffer_sequence_end(
  99. | ^
  100. 270 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  101. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  102. /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>'
  103. 470 | inline const mutable_buffer* buffer_sequence_end(const MutableBuffer& b,
  104. | ^
  105. 471 | typename constraint<
  106. 472 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
  107. 473 | >::type = 0) BOOST_ASIO_NOEXCEPT
  108. | ~~~~
  109. /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>'
  110. 480 | inline const const_buffer* buffer_sequence_end(const ConstBuffer& b,
  111. | ^
  112. 481 | typename constraint<
  113. 482 | is_convertible<const ConstBuffer*, const const_buffer*>::value
  114. 483 | >::type = 0) BOOST_ASIO_NOEXCEPT
  115. | ~~~~
  116. /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>>'
  117. 493 | inline auto buffer_sequence_end(C& c,
  118. | ^
  119. 494 | typename constraint<
  120. 495 | !is_convertible<const C*, const mutable_buffer*>::value
  121. 496 | && !is_convertible<const C*, const const_buffer*>::value
  122. 497 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
  123. | ~~~
  124. /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>>'
  125. 504 | inline auto buffer_sequence_end(const C& c,
  126. | ^
  127. 505 | typename constraint<
  128. 506 | !is_convertible<const C*, const mutable_buffer*>::value
  129. 507 | && !is_convertible<const C*, const const_buffer*>::value
  130. 508 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
  131. | ~~~
  132. In file included from <built-in>:1:
  133. In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
  134. In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
  135. In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
  136. In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
  137. In file included from /usr/include/boost/asio/basic_socket.hpp:38:
  138. In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
  139. /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:116:9: error: no matching function for call to 'buffer_sequence_begin'
  140. 116 | boost::asio::buffer_sequence_begin(buffer_sequence),
  141. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  142. /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
  143. 71 | bufs_type bufs(o->buffers_);
  144. | ^
  145. /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
  146. 44 | &reactive_socket_recv_op_base::do_perform, complete_func),
  147. | ^
  148. /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
  149. 107 | : reactive_socket_recv_op_base<MutableBufferSequence>(success_ec, socket,
  150. | ^
  151. /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
  152. 405 | p.p = new (p.v) op(success_ec_, impl.socket_,
  153. | ^
  154. /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
  155. 1176 | self_->impl_.get_service().async_receive(
  156. | ^
  157. /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
  158. 482 | BOOST_ASIO_MOVE_CAST(Initiation)(initiation)(
  159. | ^
  160. /usr/include/boost/asio/detail/config.hpp:135:37: note: expanded from macro 'BOOST_ASIO_MOVE_CAST'
  161. 135 | # define BOOST_ASIO_MOVE_CAST(type) static_cast<type&&>
  162. | ^
  163. /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
  164. 896 | Signatures...>::initiate(BOOST_ASIO_MOVE_CAST(Initiation)(initiation),
  165. | ^
  166. /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
  167. 1106 | return async_initiate<ReadToken,
  168. | ^
  169. /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
  170. 245 | inline const mutable_buffer* buffer_sequence_begin(
  171. | ^
  172. 246 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  173. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  174. /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
  175. 252 | inline const const_buffer* buffer_sequence_begin(
  176. | ^
  177. 253 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  178. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  179. /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>'
  180. 393 | inline const mutable_buffer* buffer_sequence_begin(const MutableBuffer& b,
  181. | ^
  182. 394 | typename constraint<
  183. 395 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
  184. 396 | >::type = 0) BOOST_ASIO_NOEXCEPT
  185. | ~~~~
  186. /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>'
  187. 403 | inline const const_buffer* buffer_sequence_begin(const ConstBuffer& b,
  188. | ^
  189. 404 | typename constraint<
  190. 405 | is_convertible<const ConstBuffer*, const const_buffer*>::value
  191. 406 | >::type = 0) BOOST_ASIO_NOEXCEPT
  192. | ~~~~
  193. /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>>'
  194. 416 | inline auto buffer_sequence_begin(C& c,
  195. | ^
  196. 417 | typename constraint<
  197. 418 | !is_convertible<const C*, const mutable_buffer*>::value
  198. 419 | && !is_convertible<const C*, const const_buffer*>::value
  199. 420 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
  200. | ~~~~~
  201. /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>>'
  202. 427 | inline auto buffer_sequence_begin(const C& c,
  203. | ^
  204. 428 | typename constraint<
  205. 429 | !is_convertible<const C*, const mutable_buffer*>::value
  206. 430 | && !is_convertible<const C*, const const_buffer*>::value
  207. 431 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
  208. | ~~~~~
  209. In file included from <built-in>:1:
  210. In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
  211. In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
  212. In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
  213. In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
  214. In file included from /usr/include/boost/asio/basic_socket.hpp:38:
  215. In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
  216. /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:117:9: error: no matching function for call to 'buffer_sequence_end'
  217. 117 | boost::asio::buffer_sequence_end(buffer_sequence));
  218. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  219. /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
  220. 262 | inline const mutable_buffer* buffer_sequence_end(
  221. | ^
  222. 263 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  223. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  224. /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
  225. 269 | inline const const_buffer* buffer_sequence_end(
  226. | ^
  227. 270 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  228. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  229. /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>'
  230. 470 | inline const mutable_buffer* buffer_sequence_end(const MutableBuffer& b,
  231. | ^
  232. 471 | typename constraint<
  233. 472 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
  234. 473 | >::type = 0) BOOST_ASIO_NOEXCEPT
  235. | ~~~~
  236. /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>'
  237. 480 | inline const const_buffer* buffer_sequence_end(const ConstBuffer& b,
  238. | ^
  239. 481 | typename constraint<
  240. 482 | is_convertible<const ConstBuffer*, const const_buffer*>::value
  241. 483 | >::type = 0) BOOST_ASIO_NOEXCEPT
  242. | ~~~~
  243. /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>>'
  244. 493 | inline auto buffer_sequence_end(C& c,
  245. | ^
  246. 494 | typename constraint<
  247. 495 | !is_convertible<const C*, const mutable_buffer*>::value
  248. 496 | && !is_convertible<const C*, const const_buffer*>::value
  249. 497 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
  250. | ~~~
  251. /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>>'
  252. 504 | inline auto buffer_sequence_end(const C& c,
  253. | ^
  254. 505 | typename constraint<
  255. 506 | !is_convertible<const C*, const mutable_buffer*>::value
  256. 507 | && !is_convertible<const C*, const const_buffer*>::value
  257. 508 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
  258. | ~~~
  259. In file included from <built-in>:1:
  260. In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
  261. In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
  262. In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
  263. In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
  264. In file included from /usr/include/boost/asio/basic_socket.hpp:38:
  265. In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
  266. /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:148:9: error: no matching function for call to 'buffer_sequence_begin'
  267. 148 | boost::asio::buffer_sequence_begin(buffer_sequence),
  268. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  269. /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
  270. 426 | MutableBufferSequence>::all_empty(buffers)));
  271. | ^
  272. /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
  273. 1176 | self_->impl_.get_service().async_receive(
  274. | ^
  275. /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
  276. 482 | BOOST_ASIO_MOVE_CAST(Initiation)(initiation)(
  277. | ^
  278. /usr/include/boost/asio/detail/config.hpp:135:37: note: expanded from macro 'BOOST_ASIO_MOVE_CAST'
  279. 135 | # define BOOST_ASIO_MOVE_CAST(type) static_cast<type&&>
  280. | ^
  281. /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
  282. 896 | Signatures...>::initiate(BOOST_ASIO_MOVE_CAST(Initiation)(initiation),
  283. | ^
  284. /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
  285. 1106 | return async_initiate<ReadToken,
  286. | ^
  287. /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
  288. 245 | inline const mutable_buffer* buffer_sequence_begin(
  289. | ^
  290. 246 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  291. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  292. /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
  293. 252 | inline const const_buffer* buffer_sequence_begin(
  294. | ^
  295. 253 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  296. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  297. /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>'
  298. 393 | inline const mutable_buffer* buffer_sequence_begin(const MutableBuffer& b,
  299. | ^
  300. 394 | typename constraint<
  301. 395 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
  302. 396 | >::type = 0) BOOST_ASIO_NOEXCEPT
  303. | ~~~~
  304. /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>'
  305. 403 | inline const const_buffer* buffer_sequence_begin(const ConstBuffer& b,
  306. | ^
  307. 404 | typename constraint<
  308. 405 | is_convertible<const ConstBuffer*, const const_buffer*>::value
  309. 406 | >::type = 0) BOOST_ASIO_NOEXCEPT
  310. | ~~~~
  311. /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>>'
  312. 416 | inline auto buffer_sequence_begin(C& c,
  313. | ^
  314. 417 | typename constraint<
  315. 418 | !is_convertible<const C*, const mutable_buffer*>::value
  316. 419 | && !is_convertible<const C*, const const_buffer*>::value
  317. 420 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
  318. | ~~~~~
  319. /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>>'
  320. 427 | inline auto buffer_sequence_begin(const C& c,
  321. | ^
  322. 428 | typename constraint<
  323. 429 | !is_convertible<const C*, const mutable_buffer*>::value
  324. 430 | && !is_convertible<const C*, const const_buffer*>::value
  325. 431 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.begin())
  326. | ~~~~~
  327. In file included from <built-in>:1:
  328. In file included from /home/sha512sum/develop/ChessNetworking/CMakeFiles/ChessNetworking.dir/cmake_pch.hxx:5:
  329. In file included from /home/sha512sum/develop/ChessNetworking/include/ChessNetworking/stdafx.h:1:
  330. In file included from /usr/include/boost/asio/ip/tcp.hpp:19:
  331. In file included from /usr/include/boost/asio/basic_socket_acceptor.hpp:20:
  332. In file included from /usr/include/boost/asio/basic_socket.hpp:38:
  333. In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:27:
  334. /usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:149:9: error: no matching function for call to 'buffer_sequence_end'
  335. 149 | boost::asio::buffer_sequence_end(buffer_sequence));
  336. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  337. /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
  338. 262 | inline const mutable_buffer* buffer_sequence_end(
  339. | ^
  340. 263 | const mutable_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  341. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  342. /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
  343. 269 | inline const const_buffer* buffer_sequence_end(
  344. | ^
  345. 270 | const const_registered_buffer& b) BOOST_ASIO_NOEXCEPT
  346. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  347. /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>'
  348. 470 | inline const mutable_buffer* buffer_sequence_end(const MutableBuffer& b,
  349. | ^
  350. 471 | typename constraint<
  351. 472 | is_convertible<const MutableBuffer*, const mutable_buffer*>::value
  352. 473 | >::type = 0) BOOST_ASIO_NOEXCEPT
  353. | ~~~~
  354. /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>'
  355. 480 | inline const const_buffer* buffer_sequence_end(const ConstBuffer& b,
  356. | ^
  357. 481 | typename constraint<
  358. 482 | is_convertible<const ConstBuffer*, const const_buffer*>::value
  359. 483 | >::type = 0) BOOST_ASIO_NOEXCEPT
  360. | ~~~~
  361. /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>>'
  362. 493 | inline auto buffer_sequence_end(C& c,
  363. | ^
  364. 494 | typename constraint<
  365. 495 | !is_convertible<const C*, const mutable_buffer*>::value
  366. 496 | && !is_convertible<const C*, const const_buffer*>::value
  367. 497 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
  368. | ~~~
  369. /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>>'
  370. 504 | inline auto buffer_sequence_end(const C& c,
  371. | ^
  372. 505 | typename constraint<
  373. 506 | !is_convertible<const C*, const mutable_buffer*>::value
  374. 507 | && !is_convertible<const C*, const const_buffer*>::value
  375. 508 | >::type = 0) BOOST_ASIO_NOEXCEPT -> decltype(c.end())
  376. | ~~~
  377. 6 errors generated.
  378. [2/4] Building CXX object ChessNetworking/CMakeFiles/ChessNetworking.dir/src/router.cpp.o
  379. ninja: build stopped: subcommand failed.
  380.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement