| 1 | In file included from testasiossl.cpp:1:
|
|---|
| 2 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio.hpp:37:
|
|---|
| 3 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_stream.hpp:21:
|
|---|
| 4 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_write_stream.hpp:29:
|
|---|
| 5 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/write.hpp:609:
|
|---|
| 6 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/impl/write.hpp:250:19: error: no matching member function for call to 'async_write_some'
|
|---|
| 7 | stream_.async_write_some(
|
|---|
| 8 | ~~~~~~~~^~~~~~~~~~~~~~~~
|
|---|
| 9 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/impl/write.hpp:585:3: note: in instantiation of member function 'boost::asio::detail::write_op<teststream, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::write_op<boost::asio::const_buffers_1>, boost::asio::detail::write_op<boost::asio::ssl::stream<teststream>, boost::asio::const_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:68:75>>> >::operator()' requested here
|
|---|
| 10 | detail::make_write_op(
|
|---|
| 11 | ^
|
|---|
| 12 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/ssl/detail/io.hpp:185:13: note: in instantiation of function template specialization 'boost::asio::async_write<teststream, boost::asio::mutable_buffers_1, boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::write_op<boost::asio::const_buffers_1>, boost::asio::detail::write_op<boost::asio::ssl::stream<teststream>, boost::asio::const_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:68:75>>> >' requested here
|
|---|
| 13 | boost::asio::async_write(next_layer_,
|
|---|
| 14 | ^
|
|---|
| 15 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/ssl/detail/io.hpp:322:3: note: in instantiation of member function 'boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::write_op<boost::asio::const_buffers_1>, boost::asio::detail::write_op<boost::asio::ssl::stream<teststream>, boost::asio::const_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:68:75>> >::operator()' requested here
|
|---|
| 16 | io_op<Stream, Operation, Handler>(
|
|---|
| 17 | ^
|
|---|
| 18 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/ssl/stream.hpp:502:5: note: in instantiation of function template specialization 'boost::asio::ssl::detail::async_io<teststream, boost::asio::ssl::detail::write_op<boost::asio::const_buffers_1>, boost::asio::detail::write_op<boost::asio::ssl::stream<teststream>, boost::asio::const_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:68:75>> >' requested here
|
|---|
| 19 | detail::async_io(next_layer_, core_,
|
|---|
| 20 | ^
|
|---|
| 21 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/impl/write.hpp:322:19: note: in instantiation of function template specialization 'boost::asio::ssl::stream<teststream>::async_write_some<boost::asio::const_buffers_1, boost::asio::detail::write_op<boost::asio::ssl::stream<teststream>, boost::asio::const_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:68:75>> >' requested here
|
|---|
| 22 | stream_.async_write_some(
|
|---|
| 23 | ^
|
|---|
| 24 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/impl/write.hpp:585:3: note: in instantiation of member function 'boost::asio::detail::write_op<boost::asio::ssl::stream<teststream>, boost::asio::const_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:68:75> >::operator()' requested here
|
|---|
| 25 | detail::make_write_op(
|
|---|
| 26 | ^
|
|---|
| 27 | testasiossl.cpp:68:9: note: in instantiation of function template specialization 'boost::asio::async_write<boost::asio::ssl::stream<teststream>, boost::asio::const_buffers_1, <lambda at testasiossl.cpp:68:75> >' requested here
|
|---|
| 28 | boost::asio::async_write(sock, boost::asio::buffer("test123", 7), [](const boost::system::error_code& error, std::size_t n) { std::cout << "xmitted " << n << " bytes\n"; });
|
|---|
| 29 | ^
|
|---|
| 30 | testasiossl.cpp:21:10: note: candidate function [with WriteHandler = boost::asio::detail::write_op<teststream, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::write_op<boost::asio::const_buffers_1>, boost::asio::detail::write_op<boost::asio::ssl::stream<teststream>, boost::asio::const_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:68:75>>>>] not viable: no known conversion from 'boost::asio::mutable_buffers_1' to 'boost::asio::const_buffers_1' for 1st argument;
|
|---|
| 31 | void async_write_some(boost::asio::const_buffers_1 bufs, WriteHandler handler)
|
|---|
| 32 | ^
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | In file included from testasiossl.cpp:1:
|
|---|
| 37 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio.hpp:37:
|
|---|
| 38 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_stream.hpp:21:
|
|---|
| 39 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_write_stream.hpp:29:
|
|---|
| 40 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/write.hpp:609:
|
|---|
| 41 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/impl/write.hpp:250:19: error: no matching member function for call to 'async_write_some'
|
|---|
| 42 | stream_.async_write_some(
|
|---|
| 43 | ~~~~~~~~^~~~~~~~~~~~~~~~
|
|---|
| 44 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/impl/write.hpp:585:3: note: in instantiation of member function 'boost::asio::detail::write_op<teststream, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>, boost::asio::detail::read_op<boost::asio::ssl::stream<teststream>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:71:69>>> >::operator()' requested here
|
|---|
| 45 | detail::make_write_op(
|
|---|
| 46 | ^
|
|---|
| 47 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/ssl/detail/io.hpp:185:13: note: in instantiation of function template specialization 'boost::asio::async_write<teststream, boost::asio::mutable_buffers_1, boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>, boost::asio::detail::read_op<boost::asio::ssl::stream<teststream>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:71:69>>> >' requested here
|
|---|
| 48 | boost::asio::async_write(next_layer_,
|
|---|
| 49 | ^
|
|---|
| 50 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/ssl/detail/io.hpp:322:3: note: in instantiation of member function 'boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>, boost::asio::detail::read_op<boost::asio::ssl::stream<teststream>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:71:69>> >::operator()' requested here
|
|---|
| 51 | io_op<Stream, Operation, Handler>(
|
|---|
| 52 | ^
|
|---|
| 53 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/ssl/stream.hpp:587:5: note: in instantiation of function template specialization 'boost::asio::ssl::detail::async_io<teststream, boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>, boost::asio::detail::read_op<boost::asio::ssl::stream<teststream>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:71:69>> >' requested here
|
|---|
| 54 | detail::async_io(next_layer_, core_,
|
|---|
| 55 | ^
|
|---|
| 56 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/impl/read.hpp:263:19: note: in instantiation of function template specialization 'boost::asio::ssl::stream<teststream>::async_read_some<boost::asio::mutable_buffers_1, boost::asio::detail::read_op<boost::asio::ssl::stream<teststream>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:71:69>> >' requested here
|
|---|
| 57 | stream_.async_read_some(
|
|---|
| 58 | ^
|
|---|
| 59 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/impl/read.hpp:526:3: note: in instantiation of member function 'boost::asio::detail::read_op<boost::asio::ssl::stream<teststream>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:71:69> >::operator()' requested here
|
|---|
| 60 | detail::make_read_op(
|
|---|
| 61 | ^
|
|---|
| 62 | testasiossl.cpp:71:9: note: in instantiation of function template specialization 'boost::asio::async_read<boost::asio::ssl::stream<teststream>, boost::asio::mutable_buffers_1, <lambda at testasiossl.cpp:71:69> >' requested here
|
|---|
| 63 | boost::asio::async_read(sock, boost::asio::buffer(rcv, 16), [rcv](const boost::system::error_code& error, std::size_t n) { std::cout << "received " << n << " bytes\n"; });
|
|---|
| 64 | ^
|
|---|
| 65 | testasiossl.cpp:21:10: note: candidate function [with WriteHandler = boost::asio::detail::write_op<teststream, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>, boost::asio::detail::read_op<boost::asio::ssl::stream<teststream>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, <lambda at testasiossl.cpp:71:69>>>>] not viable: no known conversion from 'boost::asio::mutable_buffers_1' to 'boost::asio::const_buffers_1' for 1st argument;
|
|---|
| 66 | void async_write_some(boost::asio::const_buffers_1 bufs, WriteHandler handler)
|
|---|
| 67 | ^
|
|---|
| 68 |
|
|---|
| 69 |
|
|---|
| 70 |
|
|---|
| 71 | In file included from testasiossl.cpp:1:
|
|---|
| 72 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio.hpp:37:
|
|---|
| 73 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_stream.hpp:21:
|
|---|
| 74 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_write_stream.hpp:29:
|
|---|
| 75 | In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/write.hpp:609:
|
|---|
| 76 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/impl/write.hpp:250:19: error: no matching member function for call to 'async_write_some'
|
|---|
| 77 | stream_.async_write_some(
|
|---|
| 78 | ~~~~~~~~^~~~~~~~~~~~~~~~
|
|---|
| 79 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/impl/write.hpp:585:3: note: in instantiation of member function 'boost::asio::detail::write_op<teststream, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::handshake_op, <lambda at testasiossl.cpp:66:46>> >::operator()' requested here
|
|---|
| 80 | detail::make_write_op(
|
|---|
| 81 | ^
|
|---|
| 82 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/ssl/detail/io.hpp:185:13: note: in instantiation of function template specialization 'boost::asio::async_write<teststream, boost::asio::mutable_buffers_1, boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::handshake_op, <lambda at testasiossl.cpp:66:46>> >' requested here
|
|---|
| 83 | boost::asio::async_write(next_layer_,
|
|---|
| 84 | ^
|
|---|
| 85 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/ssl/detail/io.hpp:322:3: note: in instantiation of member function 'boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::handshake_op, <lambda at testasiossl.cpp:66:46> >::operator()' requested here
|
|---|
| 86 | io_op<Stream, Operation, Handler>(
|
|---|
| 87 | ^
|
|---|
| 88 | /Users/itsme/gitprj/repos/boost-trunk/boost/asio/ssl/stream.hpp:369:5: note: in instantiation of function template specialization 'boost::asio::ssl::detail::async_io<teststream, boost::asio::ssl::detail::handshake_op, <lambda at testasiossl.cpp:66:46> >' requested here
|
|---|
| 89 | detail::async_io(next_layer_, core_, detail::handshake_op(type),
|
|---|
| 90 | ^
|
|---|
| 91 | testasiossl.cpp:66:10: note: in instantiation of function template specialization 'boost::asio::ssl::stream<teststream>::async_handshake<<lambda at testasiossl.cpp:66:46> >' requested here
|
|---|
| 92 | sock.async_handshake(ssl_socket::client, [&sock](const boost::system::error_code& error) {
|
|---|
| 93 | ^
|
|---|
| 94 | testasiossl.cpp:21:10: note: candidate function [with WriteHandler = boost::asio::detail::write_op<teststream, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, boost::asio::ssl::detail::io_op<teststream, boost::asio::ssl::detail::handshake_op, <lambda at testasiossl.cpp:66:46>>>] not viable: no known conversion from 'boost::asio::mutable_buffers_1' to 'boost::asio::const_buffers_1' for 1st argument;
|
|---|
| 95 | void async_write_some(boost::asio::const_buffers_1 bufs, WriteHandler handler)
|
|---|
| 96 | ^
|
|---|