Ticket #7859: getoutput-clang-errors.txt

File getoutput-clang-errors.txt, 11.8 KB (added by itsme@…, 10 years ago)

compiler output from clang++

Line 
1In file included from testasiossl.cpp:1:
2In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio.hpp:37:
3In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_stream.hpp:21:
4In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_write_stream.hpp:29:
5In 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 ^
27testasiossl.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 ^
30testasiossl.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
36In file included from testasiossl.cpp:1:
37In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio.hpp:37:
38In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_stream.hpp:21:
39In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_write_stream.hpp:29:
40In 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 ^
62testasiossl.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 ^
65testasiossl.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
71In file included from testasiossl.cpp:1:
72In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio.hpp:37:
73In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_stream.hpp:21:
74In file included from /Users/itsme/gitprj/repos/boost-trunk/boost/asio/buffered_write_stream.hpp:29:
75In 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 ^
91testasiossl.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 ^
94testasiossl.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 ^