Created
January 6, 2015 22:31
-
-
Save amiller/0897924595a9f619c80e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
amiller@dreyfus:~/projects/netmine$ make | |
./autogen.pl | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LANG = "en_US.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
make all -C logserver | |
make[1]: Entering directory '/home/amiller/projects/netmine/logserver' | |
make[1]: Nothing to be done for 'all'. | |
make[1]: Leaving directory '/home/amiller/projects/netmine/logserver' | |
make all -C connector | |
make[1]: Entering directory '/home/amiller/projects/netmine/connector' | |
make[1]: Nothing to be done for 'all'. | |
make[1]: Leaving directory '/home/amiller/projects/netmine/connector' | |
make all -C logclient | |
make[1]: Entering directory '/home/amiller/projects/netmine/logclient' | |
make[1]: Nothing to be done for 'all'. | |
make[1]: Leaving directory '/home/amiller/projects/netmine/logclient' | |
make all -C clients | |
make[1]: Entering directory '/home/amiller/projects/netmine/clients' | |
g++ -Wall -Wextra -Wcast-align -std=c++11 -Weffc++ -Iincludes -I../shared/includes -ggdb -O2 getaddr.cpp ../shared/bitcoin.o ../shared/network.o ../shared/crypto.o ../shared/config.o ../shared/logger.o ../shared/wrapped_buffer.o ../shared/alloc_buffer.o ../shared/mmap_buffer.o ../shared/write_buffer.o bcwatch.o ../shared/read_buffer.o -lcrypto -lconfig++ -lev -lpthread -lboost_program_options -o getaddr | |
getaddr.cpp: In constructor 'hid_handler::hid_handler(uint32_t, const sockaddr_in*, const sockaddr_in*, bool)': | |
getaddr.cpp:67:2: warning: 'hid_handler::remote' should be initialized in the member initialization list [-Weffc++] | |
hid_handler(uint32_t hid_, const struct sockaddr_in *remote_, const struct sockaddr_in *local_, bool enqueue_ = true) | |
^ | |
getaddr.cpp:67:2: warning: 'hid_handler::local' should be initialized in the member initialization list [-Weffc++] | |
getaddr.cpp: At global scope: | |
getaddr.cpp:81:27: warning: unused parameter 'w' [-Wunused-parameter] | |
void timer_cb(ev::timer &w, int revents) { | |
^ | |
getaddr.cpp:81:34: warning: unused parameter 'revents' [-Wunused-parameter] | |
void timer_cb(ev::timer &w, int revents) { | |
^ | |
getaddr.cpp: In constructor 'cxn_handler::cxn_handler(const sockaddr_in*, cxn_handler::State)': | |
getaddr.cpp:233:2: warning: 'cxn_handler::sers' should be initialized in the member initialization list [-Weffc++] | |
cxn_handler(const struct sockaddr_in *remote_, State s = DISCONNECTED) : state_(s), pending_time(0), consecutive_fails(0), timer() { | |
^ | |
getaddr.cpp: At global scope: | |
getaddr.cpp:261:27: warning: unused parameter 'w' [-Wunused-parameter] | |
void timer_cb(ev::timer &w, int revents) { | |
^ | |
getaddr.cpp:261:34: warning: unused parameter 'revents' [-Wunused-parameter] | |
void timer_cb(ev::timer &w, int revents) { | |
^ | |
getaddr.cpp: In lambda function: | |
getaddr.cpp:380:57: error: cannot bind packed field 'info->ctrl::connection_info::remote_addr' to 'sockaddr_in&' | |
g_known_addrs.insert(make_pair(info->remote_addr, hid)); | |
^ | |
getaddr.cpp:382:109: error: cannot bind packed field 'info->ctrl::connection_info::remote_addr' to 'sockaddr_in&' | |
g_cxns.insert(make_pair(info->remote_addr, cxn_handler(&info->remote_addr, cxn_handler::State::CONNECTED))); | |
^ | |
/usr/include/c++/4.9/bits/stl_pair.h: In instantiation of 'constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&) [with _U1 = unsigned int&; <template-parameter-2-2> = void; _T1 = unsigned int; _T2 = hid_handler]': | |
/usr/include/c++/4.9/bits/stl_pair.h:281:72: required from 'constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = unsigned int&; _T2 = hid_handler; typename std::__decay_and_strip<_T2>::__type = hid_handler; typename std::__decay_and_strip<_Tp>::__type = unsigned int]' | |
getaddr.cpp:383:101: required from here | |
getaddr.cpp:119:2: error: 'hid_handler::hid_handler(const hid_handler&)' is private | |
hid_handler(const hid_handler &); | |
^ | |
In file included from /usr/include/c++/4.9/bits/stl_algobase.h:64:0, | |
from /usr/include/c++/4.9/bits/char_traits.h:39, | |
from /usr/include/c++/4.9/ios:40, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_pair.h:134:45: error: within this context | |
: first(std::forward<_U1>(__x)), second(__y) { } | |
^ | |
/usr/include/c++/4.9/bits/stl_pair.h: In instantiation of 'constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = unsigned int&; _T2 = hid_handler; typename std::__decay_and_strip<_T2>::__type = hid_handler; typename std::__decay_and_strip<_Tp>::__type = unsigned int]': | |
getaddr.cpp:383:101: required from here | |
/usr/include/c++/4.9/bits/stl_pair.h:281:72: error: use of deleted function 'constexpr std::pair<_T1, _T2>::pair(std::pair<_T1, _T2>&&) [with _T1 = unsigned int; _T2 = hid_handler]' | |
return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); | |
^ | |
/usr/include/c++/4.9/bits/stl_pair.h:128:17: note: 'constexpr std::pair<_T1, _T2>::pair(std::pair<_T1, _T2>&&) [with _T1 = unsigned int; _T2 = hid_handler]' is implicitly deleted because the default definition would be ill-formed: | |
constexpr pair(pair&&) = default; | |
^ | |
getaddr.cpp:120:2: error: 'hid_handler::hid_handler(const hid_handler&&)' is private | |
hid_handler(const hid_handler &&other); | |
^ | |
In file included from /usr/include/c++/4.9/bits/stl_algobase.h:64:0, | |
from /usr/include/c++/4.9/bits/char_traits.h:39, | |
from /usr/include/c++/4.9/ios:40, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_pair.h:128:17: error: within this context | |
constexpr pair(pair&&) = default; | |
^ | |
getaddr.cpp:383:102: error: no matching function for call to 'std::map<unsigned int, hid_handler>::insert(std::pair<unsigned int, hid_handler>)' | |
g_known_hids.insert(make_pair(hid, hid_handler(hid, &info->remote_addr, &info->local_addr, false))); | |
^ | |
getaddr.cpp:383:102: note: candidates are: | |
In file included from /usr/include/c++/4.9/map:61:0, | |
from getaddr.cpp:9: | |
/usr/include/c++/4.9/bits/stl_map.h:629:7: note: std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<std::pair<const _Key, _Tp> >::other>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::insert(const value_type&) [with _Key = unsigned int; _Tp = hid_handler; _Compare = std::less<unsigned int>; _Alloc = std::allocator<std::pair<const unsigned int, hid_handler> >; typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<std::pair<const _Key, _Tp> >::other>::iterator = std::_Rb_tree_iterator<std::pair<const unsigned int, hid_handler> >; std::map<_Key, _Tp, _Compare, _Alloc>::value_type = std::pair<const unsigned int, hid_handler>] | |
insert(const value_type& __x) | |
^ | |
/usr/include/c++/4.9/bits/stl_map.h:629:7: note: no known conversion for argument 1 from 'std::pair<unsigned int, hid_handler>' to 'const value_type& {aka const std::pair<const unsigned int, hid_handler>&}' | |
/usr/include/c++/4.9/bits/stl_map.h:637:9: note: template<class _Pair, class> std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<std::pair<const _Key, _Tp> >::other>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = _Pair; <template-parameter-2-2> = <template-parameter-1-2>; _Key = unsigned int; _Tp = hid_handler; _Compare = std::less<unsigned int>; _Alloc = std::allocator<std::pair<const unsigned int, hid_handler> >] | |
insert(_Pair&& __x) | |
^ | |
/usr/include/c++/4.9/bits/stl_map.h:637:9: note: template argument deduction/substitution failed: | |
/usr/include/c++/4.9/bits/stl_map.h:633:32: error: no type named 'type' in 'struct std::enable_if<false, void>' | |
template<typename _Pair, typename = typename | |
^ | |
/usr/include/c++/4.9/bits/stl_map.h:650:7: note: void std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = unsigned int; _Tp = hid_handler; _Compare = std::less<unsigned int>; _Alloc = std::allocator<std::pair<const unsigned int, hid_handler> >] | |
insert(std::initializer_list<value_type> __list) | |
^ | |
/usr/include/c++/4.9/bits/stl_map.h:650:7: note: no known conversion for argument 1 from 'std::pair<unsigned int, hid_handler>' to 'std::initializer_list<std::pair<const unsigned int, hid_handler> >' | |
/usr/include/c++/4.9/bits/stl_map.h:679:7: note: std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, const value_type&) [with _Key = unsigned int; _Tp = hid_handler; _Compare = std::less<unsigned int>; _Alloc = std::allocator<std::pair<const unsigned int, hid_handler> >; std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const unsigned int, hid_handler> >; std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const unsigned int, hid_handler> >; std::map<_Key, _Tp, _Compare, _Alloc>::value_type = std::pair<const unsigned int, hid_handler>] | |
insert(const_iterator __position, const value_type& __x) | |
^ | |
/usr/include/c++/4.9/bits/stl_map.h:679:7: note: candidate expects 2 arguments, 1 provided | |
/usr/include/c++/4.9/bits/stl_map.h:690:9: note: template<class _Pair, class> std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Pair&&) [with _Pair = _Pair; <template-parameter-2-2> = <template-parameter-1-2>; _Key = unsigned int; _Tp = hid_handler; _Compare = std::less<unsigned int>; _Alloc = std::allocator<std::pair<const unsigned int, hid_handler> >] | |
insert(const_iterator __position, _Pair&& __x) | |
^ | |
/usr/include/c++/4.9/bits/stl_map.h:690:9: note: template argument deduction/substitution failed: | |
getaddr.cpp:383:102: note: cannot convert 'std::make_pair(_T1&&, _T2&&) [with _T1 = unsigned int&; _T2 = hid_handler; typename std::__decay_and_strip<_T2>::__type = hid_handler; typename std::__decay_and_strip<_Tp>::__type = unsigned int]((* & hid_handler(hid, ((const sockaddr_in*)(& info->ctrl::connection_info::remote_addr)), ((const sockaddr_in*)(& info->ctrl::connection_info::local_addr)), 0)))' (type 'std::pair<unsigned int, hid_handler>') to type 'std::map<unsigned int, hid_handler>::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const unsigned int, hid_handler> >}' | |
g_known_hids.insert(make_pair(hid, hid_handler(hid, &info->remote_addr, &info->local_addr, false))); | |
^ | |
In file included from /usr/include/c++/4.9/map:61:0, | |
from getaddr.cpp:9: | |
/usr/include/c++/4.9/bits/stl_map.h:705:9: note: template<class _InputIterator> void std::map<_Key, _Tp, _Compare, _Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _Key = unsigned int; _Tp = hid_handler; _Compare = std::less<unsigned int>; _Alloc = std::allocator<std::pair<const unsigned int, hid_handler> >] | |
insert(_InputIterator __first, _InputIterator __last) | |
^ | |
/usr/include/c++/4.9/bits/stl_map.h:705:9: note: template argument deduction/substitution failed: | |
getaddr.cpp:383:102: note: candidate expects 2 arguments, 1 provided | |
g_known_hids.insert(make_pair(hid, hid_handler(hid, &info->remote_addr, &info->local_addr, false))); | |
^ | |
getaddr.cpp: In lambda function: | |
getaddr.cpp:393:63: error: ambiguous overload for 'operator=' (operand types are 'std::map<sockaddr_in, cxn_handler>::mapped_type {aka cxn_handler}' and 'cxn_handler') | |
g_cxns[bc_msg->remote_addr] = cxn_handler(&bc_msg->remote_addr, cxn_handler::State::CONNECTED); | |
^ | |
getaddr.cpp:393:63: note: candidates are: | |
getaddr.cpp:318:16: note: cxn_handler& cxn_handler::operator=(cxn_handler) | |
cxn_handler & operator=(cxn_handler other); | |
^ | |
getaddr.cpp:321:16: note: cxn_handler& cxn_handler::operator=(cxn_handler&&) | |
cxn_handler & operator=(cxn_handler &&other); | |
^ | |
getaddr.cpp:397:66: error: ambiguous overload for 'operator=' (operand types are 'std::map<unsigned int, hid_handler>::mapped_type {aka hid_handler}' and 'hid_handler') | |
g_known_hids[bc_msg->handle_id] = hid_handler(bc_msg->handle_id, &bc_msg->remote_addr, &bc_msg->local_addr, false); | |
^ | |
getaddr.cpp:397:66: note: candidates are: | |
getaddr.cpp:118:16: note: hid_handler& hid_handler::operator=(hid_handler) | |
hid_handler & operator=(hid_handler other); | |
^ | |
getaddr.cpp:121:16: note: hid_handler& hid_handler::operator=(hid_handler&&) | |
hid_handler & operator=(hid_handler &&other); | |
^ | |
getaddr.cpp: In lambda function: | |
getaddr.cpp:403:147: error: cannot bind packed field 'bc_msg.std::unique_ptr<_Tp, _Dp>::operator-><bitcoin_log_format, std::default_delete<bitcoin_log_format> >()->bitcoin_log_format::remote_addr' to 'sockaddr_in&' | |
g_cxns.insert(make_pair(bc_msg->remote_addr, cxn_handler(&bc_msg->remote_addr, cxn_handler::State::DISCONNECTED))); | |
^ | |
getaddr.cpp:405:39: error: 'struct std::pair<const sockaddr_in, cxn_handler>' has no member named 'state' | |
it->state(cxn_handler::State::DISCONNECTED); | |
^ | |
getaddr.cpp: In function 'int main(int, char**)': | |
getaddr.cpp:409:34: error: no matching function for call to 'bcwatchers::ev_handler::ev_handler(int&, main(int, char**)::<lambda(std::unique_ptr<bitcoin_log_format>)>, main(int, char**)::<lambda(std::unique_ptr<bitcoin_log_format>)>)' | |
}); | |
^ | |
getaddr.cpp:409:34: note: candidates are: | |
In file included from getaddr.cpp:35:0: | |
bcwatch.hpp:40:2: note: bcwatchers::ev_handler::ev_handler(const bcwatchers::ev_handler&&) | |
ev_handler(const ev_handler &&other); | |
^ | |
bcwatch.hpp:40:2: note: candidate expects 1 argument, 3 provided | |
bcwatch.hpp:39:2: note: bcwatchers::ev_handler::ev_handler(const bcwatchers::ev_handler&) | |
ev_handler(const ev_handler &); | |
^ | |
bcwatch.hpp:39:2: note: candidate expects 1 argument, 3 provided | |
bcwatch.hpp:22:2: note: bcwatchers::ev_handler::ev_handler(int, std::function<void(std::unique_ptr<bitcoin_log_format>)>, std::function<void(std::unique_ptr<bitcoin_log_format>)>, std::function<void(const bcwatchers::ev_handler*)>) | |
ev_handler(int fd, | |
^ | |
bcwatch.hpp:22:2: note: candidate expects 4 arguments, 3 provided | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h: In instantiation of 'bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = sockaddr_in]': | |
/usr/include/c++/4.9/bits/stl_map.h:498:31: required from 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = sockaddr_in; _Tp = cxn_handler; _Compare = std::less<sockaddr_in>; _Alloc = std::allocator<std::pair<const sockaddr_in, cxn_handler> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = cxn_handler; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = sockaddr_in]' | |
getaddr.cpp:393:61: required from here | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: error: no match for 'operator<' (operand types are 'const sockaddr_in' and 'const sockaddr_in') | |
{ return __x < __y; } | |
^ | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: candidates are: | |
In file included from /usr/include/c++/4.9/bits/stl_algobase.h:64:0, | |
from /usr/include/c++/4.9/bits/char_traits.h:39, | |
from /usr/include/c++/4.9/ios:40, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_pair.h:220:5: note: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&) | |
operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | |
^ | |
/usr/include/c++/4.9/bits/stl_pair.h:220:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::pair<_T1, _T2>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/bits/stl_algobase.h:67:0, | |
from /usr/include/c++/4.9/bits/char_traits.h:39, | |
from /usr/include/c++/4.9/ios:40, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_iterator.h:298:5: note: template<class _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&) | |
operator<(const reverse_iterator<_Iterator>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_iterator.h:298:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::reverse_iterator<_Iterator>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/bits/stl_algobase.h:67:0, | |
from /usr/include/c++/4.9/bits/char_traits.h:39, | |
from /usr/include/c++/4.9/ios:40, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_iterator.h:348:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&) | |
operator<(const reverse_iterator<_IteratorL>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_iterator.h:348:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::reverse_iterator<_Iterator>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/bits/stl_algobase.h:67:0, | |
from /usr/include/c++/4.9/bits/char_traits.h:39, | |
from /usr/include/c++/4.9/ios:40, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_iterator.h:1072:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&) | |
operator<(const move_iterator<_IteratorL>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_iterator.h:1072:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::move_iterator<_Iterator>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/bits/stl_algobase.h:67:0, | |
from /usr/include/c++/4.9/bits/char_traits.h:39, | |
from /usr/include/c++/4.9/ios:40, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_iterator.h:1078:5: note: template<class _Iterator> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&) | |
operator<(const move_iterator<_Iterator>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_iterator.h:1078:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::move_iterator<_Iterator>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/string:52:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/basic_string.h:2588:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) | |
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | |
^ | |
/usr/include/c++/4.9/bits/basic_string.h:2588:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/string:52:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/basic_string.h:2600:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) | |
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | |
^ | |
/usr/include/c++/4.9/bits/basic_string.h:2600:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/string:52:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/basic_string.h:2612:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&) | |
operator<(const _CharT* __lhs, | |
^ | |
/usr/include/c++/4.9/bits/basic_string.h:2612:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: mismatched types 'const _CharT*' and 'sockaddr_in' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/map:60:0, | |
from getaddr.cpp:9: | |
/usr/include/c++/4.9/bits/stl_tree.h:980:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator<(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&) | |
operator<(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_tree.h:980:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/tuple:39:0, | |
from /usr/include/c++/4.9/bits/stl_map.h:63, | |
from /usr/include/c++/4.9/map:61, | |
from getaddr.cpp:9: | |
/usr/include/c++/4.9/array:242:5: note: template<class _Tp, long unsigned int _Nm> bool std::operator<(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&) | |
operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b) | |
^ | |
/usr/include/c++/4.9/array:242:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::array<_Tp, _Nm>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/bits/stl_map.h:63:0, | |
from /usr/include/c++/4.9/map:61, | |
from getaddr.cpp:9: | |
/usr/include/c++/4.9/tuple:854:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const std::tuple<_Args1 ...>&, const std::tuple<_Args2 ...>&) | |
operator<(const tuple<_TElements...>& __t, | |
^ | |
/usr/include/c++/4.9/tuple:854:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::tuple<_Args1 ...>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/map:61:0, | |
from getaddr.cpp:9: | |
/usr/include/c++/4.9/bits/stl_map.h:1017:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator<(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&) | |
operator<(const map<_Key, _Tp, _Compare, _Alloc>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_map.h:1017:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/map:62:0, | |
from getaddr.cpp:9: | |
/usr/include/c++/4.9/bits/stl_multimap.h:920:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator<(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&) | |
operator<(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_multimap.h:920:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/deque:64:0, | |
from /usr/include/c++/4.9/stack:60, | |
from getaddr.cpp:10: | |
/usr/include/c++/4.9/bits/stl_deque.h:277:5: note: template<class _Tp, class _Ref, class _Ptr> bool std::operator<(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) | |
operator<(const _Deque_iterator<_Tp, _Ref, _Ptr>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_deque.h:277:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/deque:64:0, | |
from /usr/include/c++/4.9/stack:60, | |
from getaddr.cpp:10: | |
/usr/include/c++/4.9/bits/stl_deque.h:285:5: note: template<class _Tp, class _RefL, class _PtrL, class _RefR, class _PtrR> bool std::operator<(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _RefR, _PtrR>&) | |
operator<(const _Deque_iterator<_Tp, _RefL, _PtrL>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_deque.h:285:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/deque:64:0, | |
from /usr/include/c++/4.9/stack:60, | |
from getaddr.cpp:10: | |
/usr/include/c++/4.9/bits/stl_deque.h:2047:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::deque<_Tp, _Alloc>&, const std::deque<_Tp, _Alloc>&) | |
operator<(const deque<_Tp, _Alloc>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_deque.h:2047:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::deque<_Tp, _Alloc>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/stack:61:0, | |
from getaddr.cpp:10: | |
/usr/include/c++/4.9/bits/stl_stack.h:261:5: note: template<class _Tp, class _Seq> bool std::operator<(const std::stack<_Tp, _Seq>&, const std::stack<_Tp, _Seq>&) | |
operator<(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y) | |
^ | |
/usr/include/c++/4.9/bits/stl_stack.h:261:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::stack<_Tp, _Seq>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/memory:81:0, | |
from getaddr.cpp:11: | |
/usr/include/c++/4.9/bits/unique_ptr.h:658:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator<(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&) | |
operator<(const unique_ptr<_Tp, _Dp>& __x, | |
^ | |
/usr/include/c++/4.9/bits/unique_ptr.h:658:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::unique_ptr<_Tp, _Dp>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/memory:81:0, | |
from getaddr.cpp:11: | |
/usr/include/c++/4.9/bits/unique_ptr.h:669:5: note: template<class _Tp, class _Dp> bool std::operator<(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t) | |
operator<(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) | |
^ | |
/usr/include/c++/4.9/bits/unique_ptr.h:669:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::unique_ptr<_Tp, _Dp>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/memory:81:0, | |
from getaddr.cpp:11: | |
/usr/include/c++/4.9/bits/unique_ptr.h:675:5: note: template<class _Tp, class _Dp> bool std::operator<(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&) | |
operator<(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) | |
^ | |
/usr/include/c++/4.9/bits/unique_ptr.h:675:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: cannot convert '__x' (type 'const sockaddr_in') to type 'std::nullptr_t' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/bits/shared_ptr.h:52:0, | |
from /usr/include/c++/4.9/memory:82, | |
from getaddr.cpp:11: | |
/usr/include/c++/4.9/bits/shared_ptr_base.h:1214:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator<(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&) | |
operator<(const __shared_ptr<_Tp1, _Lp>& __a, | |
^ | |
/usr/include/c++/4.9/bits/shared_ptr_base.h:1214:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::__shared_ptr<_Tp1, _Lp>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/bits/shared_ptr.h:52:0, | |
from /usr/include/c++/4.9/memory:82, | |
from getaddr.cpp:11: | |
/usr/include/c++/4.9/bits/shared_ptr_base.h:1223:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator<(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t) | |
operator<(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | |
^ | |
/usr/include/c++/4.9/bits/shared_ptr_base.h:1223:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::__shared_ptr<_Tp, _Lp>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/bits/shared_ptr.h:52:0, | |
from /usr/include/c++/4.9/memory:82, | |
from getaddr.cpp:11: | |
/usr/include/c++/4.9/bits/shared_ptr_base.h:1228:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator<(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&) | |
operator<(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | |
^ | |
/usr/include/c++/4.9/bits/shared_ptr_base.h:1228:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: cannot convert '__x' (type 'const sockaddr_in') to type 'std::nullptr_t' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/memory:82:0, | |
from getaddr.cpp:11: | |
/usr/include/c++/4.9/bits/shared_ptr.h:365:5: note: template<class _Tp1, class _Tp2> bool std::operator<(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&) | |
operator<(const shared_ptr<_Tp1>& __a, | |
^ | |
/usr/include/c++/4.9/bits/shared_ptr.h:365:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::shared_ptr<_Tp1>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/memory:82:0, | |
from getaddr.cpp:11: | |
/usr/include/c++/4.9/bits/shared_ptr.h:374:5: note: template<class _Tp> bool std::operator<(const std::shared_ptr<_Tp1>&, std::nullptr_t) | |
operator<(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | |
^ | |
/usr/include/c++/4.9/bits/shared_ptr.h:374:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::shared_ptr<_Tp1>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/memory:82:0, | |
from getaddr.cpp:11: | |
/usr/include/c++/4.9/bits/shared_ptr.h:379:5: note: template<class _Tp> bool std::operator<(std::nullptr_t, const std::shared_ptr<_Tp1>&) | |
operator<(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | |
^ | |
/usr/include/c++/4.9/bits/shared_ptr.h:379:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: cannot convert '__x' (type 'const sockaddr_in') to type 'std::nullptr_t' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/set:61:0, | |
from getaddr.cpp:12: | |
/usr/include/c++/4.9/bits/stl_set.h:810:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator<(const std::set<_Key, _Compare, _Alloc>&, const std::set<_Key, _Compare, _Alloc>&) | |
operator<(const set<_Key, _Compare, _Alloc>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_set.h:810:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::set<_Key, _Compare, _Alloc>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/set:62:0, | |
from getaddr.cpp:12: | |
/usr/include/c++/4.9/bits/stl_multiset.h:794:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator<(const std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, _Alloc>&) | |
operator<(const multiset<_Key, _Compare, _Alloc>& __x, | |
^ | |
/usr/include/c++/4.9/bits/stl_multiset.h:794:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::multiset<_Key, _Compare, _Alloc>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/vector:64:0, | |
from /usr/include/c++/4.9/queue:61, | |
from getaddr.cpp:13: | |
/usr/include/c++/4.9/bits/stl_vector.h:1528:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&) | |
operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | |
^ | |
/usr/include/c++/4.9/bits/stl_vector.h:1528:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::vector<_Tp, _Alloc>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/queue:64:0, | |
from getaddr.cpp:13: | |
/usr/include/c++/4.9/bits/stl_queue.h:286:5: note: template<class _Tp, class _Seq> bool std::operator<(const std::queue<_Tp, _Seq>&, const std::queue<_Tp, _Seq>&) | |
operator<(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y) | |
^ | |
/usr/include/c++/4.9/bits/stl_queue.h:286:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::queue<_Tp, _Seq>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/list:63:0, | |
from ../shared/includes/write_buffer.hpp:4, | |
from ../shared/includes/logger.hpp:13, | |
from getaddr.cpp:32: | |
/usr/include/c++/4.9/bits/stl_list.h:1758:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::list<_Tp, _Alloc>&, const std::list<_Tp, _Alloc>&) | |
operator<(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | |
^ | |
/usr/include/c++/4.9/bits/stl_list.h:1758:5: note: template argument deduction/substitution failed: | |
In file included from /usr/include/c++/4.9/string:48:0, | |
from /usr/include/c++/4.9/bits/locale_classes.h:40, | |
from /usr/include/c++/4.9/bits/ios_base.h:41, | |
from /usr/include/c++/4.9/ios:42, | |
from /usr/include/c++/4.9/ostream:38, | |
from /usr/include/c++/4.9/iostream:39, | |
from getaddr.cpp:7: | |
/usr/include/c++/4.9/bits/stl_function.h:367:20: note: 'const sockaddr_in' is not derived from 'const std::list<_Tp, _Alloc>' | |
{ return __x < __y; } | |
^ | |
In file included from /usr/include/c++/4.9/bits/stl_map.h:63:0, | |
from /usr/include/c++/4.9/map:61, | |
from getaddr.cpp:9: | |
/usr/include/c++/4.9/tuple: In instantiation of 'std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) [with _Args1 = {const sockaddr_in&}; long unsigned int ..._Indexes1 = {0ul}; _Args2 = {}; long unsigned int ..._Indexes2 = {}; _T1 = const sockaddr_in; _T2 = cxn_handler]': | |
/usr/include/c++/4.9/tuple:1088:63: required from 'std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>) [with _Args1 = {const sockaddr_in&}; _Args2 = {}; _T1 = const sockaddr_in; _T2 = cxn_handler]' | |
/usr/include/c++/4.9/ext/new_allocator.h:120:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<const sockaddr_in, cxn_handler>; _Args = {const std::piecewise_construct_t&, std::tuple<const sockaddr_in&>, std::tuple<>}; _Tp = std::_Rb_tree_node<std::pair<const sockaddr_in, cxn_handler> >]' | |
/usr/include/c++/4.9/bits/alloc_traits.h:253:4: required from 'static std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::type> std::allocator_traits<_Alloc>::_S_construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = std::pair<const sockaddr_in, cxn_handler>; _Args = {const std::piecewise_construct_t&, std::tuple<const sockaddr_in&>, std::tuple<>}; _Alloc = std::allocator<std::_Rb_tree_node<std::pair<const sockaddr_in, cxn_handler> > >; std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::type> = void]' | |
/usr/include/c++/4.9/bits/alloc_traits.h:399:57: required from 'static decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) std::allocator_traits<_Alloc>::construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = std::pair<const sockaddr_in, cxn_handler>; _Args = {const std::piecewise_construct_t&, std::tuple<const sockaddr_in&>, std::tuple<>}; _Alloc = std::allocator<std::_Rb_tree_node<std::pair<const sockaddr_in, cxn_handler> > >; decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) = <type error>]' | |
/usr/include/c++/4.9/bits/stl_tree.h:423:42: required from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const sockaddr_in&>, std::tuple<>}; _Key = sockaddr_in; _Val = std::pair<const sockaddr_in, cxn_handler>; _KeyOfValue = std::_Select1st<std::pair<const sockaddr_in, cxn_handler> >; _Compare = std::less<sockaddr_in>; _Alloc = std::allocator<std::pair<const sockaddr_in, cxn_handler> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const sockaddr_in, cxn_handler> >*]' | |
/usr/include/c++/4.9/bits/stl_tree.h:1790:64: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const sockaddr_in&>, std::tuple<>}; _Key = sockaddr_in; _Val = std::pair<const sockaddr_in, cxn_handler>; _KeyOfValue = std::_Select1st<std::pair<const sockaddr_in, cxn_handler> >; _Compare = std::less<sockaddr_in>; _Alloc = std::allocator<std::pair<const sockaddr_in, cxn_handler> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const sockaddr_in, cxn_handler> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const sockaddr_in, cxn_handler> >]' | |
/usr/include/c++/4.9/bits/stl_map.h:500:8: required from 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = sockaddr_in; _Tp = cxn_handler; _Compare = std::less<sockaddr_in>; _Alloc = std::allocator<std::pair<const sockaddr_in, cxn_handler> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = cxn_handler; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = sockaddr_in]' | |
/usr/include/c++/4.9/tuple:1099:70: note: candidates are: | |
getaddr.cpp:320:2: note: cxn_handler::cxn_handler(const cxn_handler&&) | |
cxn_handler(const cxn_handler &&other); | |
^ | |
getaddr.cpp:320:2: note: candidate expects 1 argument, 0 provided | |
getaddr.cpp:319:2: note: cxn_handler::cxn_handler(const cxn_handler&) | |
cxn_handler(const cxn_handler &); | |
^ | |
getaddr.cpp:319:2: note: candidate expects 1 argument, 0 provided | |
getaddr.cpp:233:2: note: cxn_handler::cxn_handler(const sockaddr_in*, cxn_handler::State) | |
cxn_handler(const struct sockaddr_in *remote_, State s = DISCONNECTED) : state_(s), pending_time(0), consecutive_fails(0), timer() { | |
^ | |
getaddr.cpp:233:2: note: candidate expects 2 arguments, 0 provided | |
In file included from /usr/include/c++/4.9/bits/stl_map.h:63:0, | |
from /usr/include/c++/4.9/map:61, | |
from getaddr.cpp:9: | |
/usr/include/c++/4.9/tuple: In instantiation of 'std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) [with _Args1 = {const unsigned int&}; long unsigned int ..._Indexes1 = {0ul}; _Args2 = {}; long unsigned int ..._Indexes2 = {}; _T1 = const unsigned int; _T2 = hid_handler]': | |
/usr/include/c++/4.9/tuple:1088:63: required from 'std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>) [with _Args1 = {const unsigned int&}; _Args2 = {}; _T1 = const unsigned int; _T2 = hid_handler]' | |
/usr/include/c++/4.9/ext/new_allocator.h:120:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<const unsigned int, hid_handler>; _Args = {const std::piecewise_construct_t&, std::tuple<const unsigned int&>, std::tuple<>}; _Tp = std::_Rb_tree_node<std::pair<const unsigned int, hid_handler> >]' | |
/usr/include/c++/4.9/bits/alloc_traits.h:253:4: required from 'static std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::type> std::allocator_traits<_Alloc>::_S_construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = std::pair<const unsigned int, hid_handler>; _Args = {const std::piecewise_construct_t&, std::tuple<const unsigned int&>, std::tuple<>}; _Alloc = std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, hid_handler> > >; std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::type> = void]' | |
/usr/include/c++/4.9/bits/alloc_traits.h:399:57: required from 'static decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) std::allocator_traits<_Alloc>::construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = std::pair<const unsigned int, hid_handler>; _Args = {const std::piecewise_construct_t&, std::tuple<const unsigned int&>, std::tuple<>}; _Alloc = std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, hid_handler> > >; decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) = <type error>]' | |
/usr/include/c++/4.9/bits/stl_tree.h:423:42: required from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const unsigned int&>, std::tuple<>}; _Key = unsigned int; _Val = std::pair<const unsigned int, hid_handler>; _KeyOfValue = std::_Select1st<std::pair<const unsigned int, hid_handler> >; _Compare = std::less<unsigned int>; _Alloc = std::allocator<std::pair<const unsigned int, hid_handler> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const unsigned int, hid_handler> >*]' | |
/usr/include/c++/4.9/bits/stl_tree.h:1790:64: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const unsigned int&>, std::tuple<>}; _Key = unsigned int; _Val = std::pair<const unsigned int, hid_handler>; _KeyOfValue = std::_Select1st<std::pair<const unsigned int, hid_handler> >; _Compare = std::less<unsigned int>; _Alloc = std::allocator<std::pair<const unsigned int, hid_handler> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const unsigned int, hid_handler> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const unsigned int, hid_handler> >]' | |
/usr/include/c++/4.9/bits/stl_map.h:500:8: required from 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = unsigned int; _Tp = hid_handler; _Compare = std::less<unsigned int>; _Alloc = std::allocator<std::pair<const unsigned int, hid_handler> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = hid_handler; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = unsigned int]' | |
getaddr.cpp:397:64: required from here | |
/usr/include/c++/4.9/tuple:1099:70: error: no matching function for call to 'hid_handler::hid_handler()' | |
second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...) | |
^ | |
/usr/include/c++/4.9/tuple:1099:70: note: candidates are: | |
getaddr.cpp:120:2: note: hid_handler::hid_handler(const hid_handler&&) | |
hid_handler(const hid_handler &&other); | |
^ | |
getaddr.cpp:120:2: note: candidate expects 1 argument, 0 provided | |
getaddr.cpp:119:2: note: hid_handler::hid_handler(const hid_handler&) | |
hid_handler(const hid_handler &); | |
^ | |
getaddr.cpp:119:2: note: candidate expects 1 argument, 0 provided | |
getaddr.cpp:67:2: note: hid_handler::hid_handler(uint32_t, const sockaddr_in*, const sockaddr_in*, bool) | |
hid_handler(uint32_t hid_, const struct sockaddr_in *remote_, const struct sockaddr_in *local_, bool enqueue_ = true) | |
^ | |
getaddr.cpp:67:2: note: candidate expects 4 arguments, 0 provided | |
<builtin>: recipe for target 'getaddr' failed | |
make[1]: *** [getaddr] Error 1 | |
make[1]: Leaving directory '/home/amiller/projects/netmine/clients' | |
Makefile:2: recipe for target 'all' failed | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment