Clang++ support

Registered by Samuel Kogler

Currently fails to build with clang++. Here is the error log:

TestServer.cpp:115:13: error: no matching function for call to 'buffer'
                s.send_to(boost::asio::buffer(keep.getBuffer(), keep.getSize()), *iterator );
                          ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/buffer.hpp:716:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::mutable_buffer' for 1st argument
inline mutable_buffers_1 buffer(const mutable_buffer& b,
                         ^
/usr/include/boost/asio/buffer.hpp:745:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::const_buffer' for 1st argument
inline const_buffers_1 buffer(const const_buffer& b,
                       ^
/usr/include/boost/asio/buffer.hpp:762:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'void *' for 1st argument
inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes)
                         ^
/usr/include/boost/asio/buffer.hpp:771:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const void *' for 1st argument
inline const_buffers_1 buffer(const void* data,
                       ^
/usr/include/boost/asio/buffer.hpp:798:26: note: candidate template ignored: could not match 'PodType [N]' against 'std::array<char, 1024>'
inline mutable_buffers_1 buffer(PodType (&data)[N],
                         ^
/usr/include/boost/asio/buffer.hpp:828:24: note: candidate template ignored: could not match 'const PodType [N]' against 'std::array<char, 1024>'
inline const_buffers_1 buffer(const PodType (&data)[N],
                       ^
/usr/include/boost/asio/buffer.hpp:928:26: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:959:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(boost::array<const PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:992:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(const boost::array<PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:1132:26: note: candidate template ignored: could not match 'vector' against 'array'
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:1182:24: note: candidate template ignored: could not match 'vector' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1228:24: note: candidate template ignored: could not match 'basic_string' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:785:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(PodType (&data)[N])
                         ^
/usr/include/boost/asio/buffer.hpp:815:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const PodType (&data)[N])
                       ^
/usr/include/boost/asio/buffer.hpp:914:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:945:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(boost::array<const PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:978:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const boost::array<PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:1109:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:1158:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1205:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:733:24: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline const_buffers_1 buffer(const const_buffer& b)
                       ^
/usr/include/boost/asio/buffer.hpp:704:26: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline mutable_buffers_1 buffer(const mutable_buffer& b)
                         ^
TestServer.cpp:124:33: error: no matching function for call to 'buffer'
                bytes_recvd = s.receive_from( boost::asio::buffer(recvBuffer), sender_endpoint );
                                              ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/buffer.hpp:704:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::mutable_buffer' for 1st argument
inline mutable_buffers_1 buffer(const mutable_buffer& b)
                         ^
/usr/include/boost/asio/buffer.hpp:733:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::const_buffer' for 1st argument
inline const_buffers_1 buffer(const const_buffer& b)
                       ^
/usr/include/boost/asio/buffer.hpp:785:26: note: candidate template ignored: could not match 'PodType [N]' against 'std::array<char, 1024>'
inline mutable_buffers_1 buffer(PodType (&data)[N])
                         ^
/usr/include/boost/asio/buffer.hpp:815:24: note: candidate template ignored: could not match 'const PodType [N]' against 'std::array<char, 1024>'
inline const_buffers_1 buffer(const PodType (&data)[N])
                       ^
/usr/include/boost/asio/buffer.hpp:914:26: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:945:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(boost::array<const PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:978:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(const boost::array<PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:1109:26: note: candidate template ignored: could not match 'vector' against 'array'
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:1158:24: note: candidate template ignored: could not match 'vector' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1205:24: note: candidate template ignored: could not match 'basic_string' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:798:26: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(PodType (&data)[N],
                         ^
/usr/include/boost/asio/buffer.hpp:828:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const PodType (&data)[N],
                       ^
/usr/include/boost/asio/buffer.hpp:928:26: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:959:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(boost::array<const PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:992:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const boost::array<PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:1132:26: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:1182:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1228:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:771:24: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const void* data,
                       ^
/usr/include/boost/asio/buffer.hpp:762:26: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes)
                         ^
/usr/include/boost/asio/buffer.hpp:745:24: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const const_buffer& b,
                       ^
/usr/include/boost/asio/buffer.hpp:716:26: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(const mutable_buffer& b,
                         ^
TestServer.cpp:149:13: error: no matching function for call to 'buffer'
                s.send_to(boost::asio::buffer(servershake.getBuffer(), servershake.getSize()), *iterator );
                          ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/buffer.hpp:716:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::mutable_buffer' for 1st argument
inline mutable_buffers_1 buffer(const mutable_buffer& b,
                         ^
/usr/include/boost/asio/buffer.hpp:745:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::const_buffer' for 1st argument
inline const_buffers_1 buffer(const const_buffer& b,
                       ^
/usr/include/boost/asio/buffer.hpp:762:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'void *' for 1st argument
inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes)
                         ^
/usr/include/boost/asio/buffer.hpp:771:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const void *' for 1st argument
inline const_buffers_1 buffer(const void* data,
                       ^
/usr/include/boost/asio/buffer.hpp:798:26: note: candidate template ignored: could not match 'PodType [N]' against 'std::array<char, 1024>'
inline mutable_buffers_1 buffer(PodType (&data)[N],
                         ^
/usr/include/boost/asio/buffer.hpp:828:24: note: candidate template ignored: could not match 'const PodType [N]' against 'std::array<char, 1024>'
inline const_buffers_1 buffer(const PodType (&data)[N],
                       ^
/usr/include/boost/asio/buffer.hpp:928:26: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:959:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(boost::array<const PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:992:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(const boost::array<PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:1132:26: note: candidate template ignored: could not match 'vector' against 'array'
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:1182:24: note: candidate template ignored: could not match 'vector' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1228:24: note: candidate template ignored: could not match 'basic_string' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:785:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(PodType (&data)[N])
                         ^
/usr/include/boost/asio/buffer.hpp:815:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const PodType (&data)[N])
                       ^
/usr/include/boost/asio/buffer.hpp:914:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:945:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(boost::array<const PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:978:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const boost::array<PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:1109:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:1158:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1205:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:733:24: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline const_buffers_1 buffer(const const_buffer& b)
                       ^
/usr/include/boost/asio/buffer.hpp:704:26: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline mutable_buffers_1 buffer(const mutable_buffer& b)
                         ^
TestServer.cpp:173:16: error: no matching function for call to 'buffer'
                                        s.send_to(boost::asio::buffer(a.getBuffer(), a.getSize()), *iterator );
                                                  ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/buffer.hpp:716:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::mutable_buffer' for 1st argument
inline mutable_buffers_1 buffer(const mutable_buffer& b,
                         ^
/usr/include/boost/asio/buffer.hpp:745:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::const_buffer' for 1st argument
inline const_buffers_1 buffer(const const_buffer& b,
                       ^
/usr/include/boost/asio/buffer.hpp:762:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'void *' for 1st argument
inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes)
                         ^
/usr/include/boost/asio/buffer.hpp:771:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const void *' for 1st argument
inline const_buffers_1 buffer(const void* data,
                       ^
/usr/include/boost/asio/buffer.hpp:798:26: note: candidate template ignored: could not match 'PodType [N]' against 'std::array<char, 1024>'
inline mutable_buffers_1 buffer(PodType (&data)[N],
                         ^
/usr/include/boost/asio/buffer.hpp:828:24: note: candidate template ignored: could not match 'const PodType [N]' against 'std::array<char, 1024>'
inline const_buffers_1 buffer(const PodType (&data)[N],
                       ^
/usr/include/boost/asio/buffer.hpp:928:26: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:959:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(boost::array<const PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:992:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(const boost::array<PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:1132:26: note: candidate template ignored: could not match 'vector' against 'array'
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:1182:24: note: candidate template ignored: could not match 'vector' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1228:24: note: candidate template ignored: could not match 'basic_string' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:785:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(PodType (&data)[N])
                         ^
/usr/include/boost/asio/buffer.hpp:815:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const PodType (&data)[N])
                       ^
/usr/include/boost/asio/buffer.hpp:914:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:945:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(boost::array<const PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:978:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const boost::array<PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:1109:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:1158:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1205:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:733:24: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline const_buffers_1 buffer(const const_buffer& b)
                       ^
/usr/include/boost/asio/buffer.hpp:704:26: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline mutable_buffers_1 buffer(const mutable_buffer& b)
                         ^
TestServer.cpp:190:14: error: no matching function for call to 'buffer'
                        s.send_to(boost::asio::buffer(keep.getBuffer(), keep.getSize()), *iterator );
                                  ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/buffer.hpp:716:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::mutable_buffer' for 1st argument
inline mutable_buffers_1 buffer(const mutable_buffer& b,
                         ^
/usr/include/boost/asio/buffer.hpp:745:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::const_buffer' for 1st argument
inline const_buffers_1 buffer(const const_buffer& b,
                       ^
/usr/include/boost/asio/buffer.hpp:762:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'void *' for 1st argument
inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes)
                         ^
/usr/include/boost/asio/buffer.hpp:771:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const void *' for 1st argument
inline const_buffers_1 buffer(const void* data,
                       ^
/usr/include/boost/asio/buffer.hpp:798:26: note: candidate template ignored: could not match 'PodType [N]' against 'std::array<char, 1024>'
inline mutable_buffers_1 buffer(PodType (&data)[N],
                         ^
/usr/include/boost/asio/buffer.hpp:828:24: note: candidate template ignored: could not match 'const PodType [N]' against 'std::array<char, 1024>'
inline const_buffers_1 buffer(const PodType (&data)[N],
                       ^
/usr/include/boost/asio/buffer.hpp:928:26: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:959:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(boost::array<const PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:992:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(const boost::array<PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:1132:26: note: candidate template ignored: could not match 'vector' against 'array'
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:1182:24: note: candidate template ignored: could not match 'vector' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1228:24: note: candidate template ignored: could not match 'basic_string' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:785:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(PodType (&data)[N])
                         ^
/usr/include/boost/asio/buffer.hpp:815:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const PodType (&data)[N])
                       ^
/usr/include/boost/asio/buffer.hpp:914:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:945:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(boost::array<const PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:978:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const boost::array<PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:1109:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:1158:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1205:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:733:24: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline const_buffers_1 buffer(const const_buffer& b)
                       ^
/usr/include/boost/asio/buffer.hpp:704:26: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline mutable_buffers_1 buffer(const mutable_buffer& b)
                         ^
TestServer.cpp:193:34: error: no matching function for call to 'buffer'
                        bytes_recvd = s.receive_from( boost::asio::buffer(recvBuffer), sender_endpoint );
                                                      ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/buffer.hpp:704:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::mutable_buffer' for 1st argument
inline mutable_buffers_1 buffer(const mutable_buffer& b)
                         ^
/usr/include/boost/asio/buffer.hpp:733:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::const_buffer' for 1st argument
inline const_buffers_1 buffer(const const_buffer& b)
                       ^
/usr/include/boost/asio/buffer.hpp:785:26: note: candidate template ignored: could not match 'PodType [N]' against 'std::array<char, 1024>'
inline mutable_buffers_1 buffer(PodType (&data)[N])
                         ^
/usr/include/boost/asio/buffer.hpp:815:24: note: candidate template ignored: could not match 'const PodType [N]' against 'std::array<char, 1024>'
inline const_buffers_1 buffer(const PodType (&data)[N])
                       ^
/usr/include/boost/asio/buffer.hpp:914:26: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:945:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(boost::array<const PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:978:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(const boost::array<PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:1109:26: note: candidate template ignored: could not match 'vector' against 'array'
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:1158:24: note: candidate template ignored: could not match 'vector' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1205:24: note: candidate template ignored: could not match 'basic_string' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:798:26: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(PodType (&data)[N],
                         ^
/usr/include/boost/asio/buffer.hpp:828:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const PodType (&data)[N],
                       ^
/usr/include/boost/asio/buffer.hpp:928:26: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:959:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(boost::array<const PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:992:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const boost::array<PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:1132:26: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:1182:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1228:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:771:24: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const void* data,
                       ^
/usr/include/boost/asio/buffer.hpp:762:26: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes)
                         ^
/usr/include/boost/asio/buffer.hpp:745:24: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const const_buffer& b,
                       ^
/usr/include/boost/asio/buffer.hpp:716:26: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(const mutable_buffer& b,
                         ^
TestServer.cpp:202:14: error: no matching function for call to 'buffer'
                        s.send_to(boost::asio::buffer(out.getBuffer(), out.getSize()), *iterator );
                                  ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/buffer.hpp:716:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::mutable_buffer' for 1st argument
inline mutable_buffers_1 buffer(const mutable_buffer& b,
                         ^
/usr/include/boost/asio/buffer.hpp:745:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::const_buffer' for 1st argument
inline const_buffers_1 buffer(const const_buffer& b,
                       ^
/usr/include/boost/asio/buffer.hpp:762:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'void *' for 1st argument
inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes)
                         ^
/usr/include/boost/asio/buffer.hpp:771:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const void *' for 1st argument
inline const_buffers_1 buffer(const void* data,
                       ^
/usr/include/boost/asio/buffer.hpp:798:26: note: candidate template ignored: could not match 'PodType [N]' against 'std::array<char, 1024>'
inline mutable_buffers_1 buffer(PodType (&data)[N],
                         ^
/usr/include/boost/asio/buffer.hpp:828:24: note: candidate template ignored: could not match 'const PodType [N]' against 'std::array<char, 1024>'
inline const_buffers_1 buffer(const PodType (&data)[N],
                       ^
/usr/include/boost/asio/buffer.hpp:928:26: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:959:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(boost::array<const PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:992:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(const boost::array<PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:1132:26: note: candidate template ignored: could not match 'vector' against 'array'
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:1182:24: note: candidate template ignored: could not match 'vector' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1228:24: note: candidate template ignored: could not match 'basic_string' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:785:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(PodType (&data)[N])
                         ^
/usr/include/boost/asio/buffer.hpp:815:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const PodType (&data)[N])
                       ^
/usr/include/boost/asio/buffer.hpp:914:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:945:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(boost::array<const PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:978:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const boost::array<PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:1109:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:1158:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1205:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:733:24: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline const_buffers_1 buffer(const const_buffer& b)
                       ^
/usr/include/boost/asio/buffer.hpp:704:26: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline mutable_buffers_1 buffer(const mutable_buffer& b)
                         ^
TestServer.cpp:216:13: error: no matching function for call to 'buffer'
                s.send_to(boost::asio::buffer(term.getBuffer(), term.getSize()), *iterator );
                          ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/buffer.hpp:716:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::mutable_buffer' for 1st argument
inline mutable_buffers_1 buffer(const mutable_buffer& b,
                         ^
/usr/include/boost/asio/buffer.hpp:745:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const boost::asio::const_buffer' for 1st argument
inline const_buffers_1 buffer(const const_buffer& b,
                       ^
/usr/include/boost/asio/buffer.hpp:762:26: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'void *' for 1st argument
inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes)
                         ^
/usr/include/boost/asio/buffer.hpp:771:24: note: candidate function not viable: no known conversion from 'std::array<char, 1024>' to 'const void *' for 1st argument
inline const_buffers_1 buffer(const void* data,
                       ^
/usr/include/boost/asio/buffer.hpp:798:26: note: candidate template ignored: could not match 'PodType [N]' against 'std::array<char, 1024>'
inline mutable_buffers_1 buffer(PodType (&data)[N],
                         ^
/usr/include/boost/asio/buffer.hpp:828:24: note: candidate template ignored: could not match 'const PodType [N]' against 'std::array<char, 1024>'
inline const_buffers_1 buffer(const PodType (&data)[N],
                       ^
/usr/include/boost/asio/buffer.hpp:928:26: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:959:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(boost::array<const PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:992:24: note: candidate template ignored: could not match 'boost::array' against 'std::array'
inline const_buffers_1 buffer(const boost::array<PodType, N>& data,
                       ^
/usr/include/boost/asio/buffer.hpp:1132:26: note: candidate template ignored: could not match 'vector' against 'array'
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data,
                         ^
/usr/include/boost/asio/buffer.hpp:1182:24: note: candidate template ignored: could not match 'vector' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1228:24: note: candidate template ignored: could not match 'basic_string' against 'array'
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:785:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(PodType (&data)[N])
                         ^
/usr/include/boost/asio/buffer.hpp:815:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const PodType (&data)[N])
                       ^
/usr/include/boost/asio/buffer.hpp:914:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:945:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(boost::array<const PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:978:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(const boost::array<PodType, N>& data)
                       ^
/usr/include/boost/asio/buffer.hpp:1109:26: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data)
                         ^
/usr/include/boost/asio/buffer.hpp:1158:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:1205:24: note: candidate function template not viable: requires single argument 'data', but 2 arguments were provided
inline const_buffers_1 buffer(
                       ^
/usr/include/boost/asio/buffer.hpp:733:24: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline const_buffers_1 buffer(const const_buffer& b)
                       ^
/usr/include/boost/asio/buffer.hpp:704:26: note: candidate function not viable: requires single argument 'b', but 2 arguments were provided
inline mutable_buffers_1 buffer(const mutable_buffer& b)
                         ^
8 errors generated.
make[2]: *** [TestServer.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.