1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
D:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_function.h: In member function `bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >]':
D:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_tree.h:1104: instantiated from `typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) [with _Key = boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, _Val = std::pair<const boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, ClientPtr>, _KeyOfValue = std::_Select1st<std::pair<const boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, ClientPtr> >, _Compare = std::less<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > >, _Alloc = std::allocator<std::pair<const boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, ClientPtr> >]'
D:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_map.h:498: instantiated from `typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Key&) [with _Key = boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, _Tp = ClientPtr, _Compare = std::less<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > >, _Alloc = std::allocator<std::pair<const boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, ClientPtr> >]'
server.cpp:35: instantiated from here
D:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_function.h:227: error: no match for 'operator<' in '__x < __y'
D:/Dev-Cpp/include/boost/asio/ip/basic_endpoint.hpp:275: note: candidates are: bool boost::asio::ip::operator<(const boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>&, const boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>&)
D:/Dev-Cpp/include/boost/asio/ip/address.hpp:232: note: bool boost::asio::ip::operator<(const boost::asio::ip::address&, const boost::asio::ip::address&)
D:/Dev-Cpp/include/boost/asio/ip/address_v6.hpp:316: note: bool boost::asio::ip::operator<(const boost::asio::ip::address_v6&, const boost::asio::ip::address_v6&)
D:/Dev-Cpp/include/boost/asio/ip/address_v4.hpp:207: note: bool boost::asio::ip::operator<(const boost::asio::ip::address_v4&, const boost::asio::ip::address_v4&)
D:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_map.h: In copy constructor `boost::asio::basic_io_object<boost::asio::stream_socket_service<boost::asio::ip::tcp> >::basic_io_object(const boost::asio::basic_io_object<boost::asio::stream_socket_service<boost::asio::ip::tcp> >&)':
D:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_map.h:339: instantiated from `_Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, _Tp = ClientPtr, _Compare = std::less<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > >, _Alloc = std::allocator<std::pair<const boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, ClientPtr> >]'
server.cpp:37: instantiated from here
D:/Dev-Cpp/include/boost/noncopyable.hpp:27: error: `boost::noncopyable_::noncopyable::noncopyable(const boost::noncopyable_::noncopyable&)' is private
D:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_map.h:339: error: within this context
make.exe: *** [server.o] Error 1
|