Created
April 3, 2019 21:32
-
-
Save ashiqopu/2849352e2d1a80e8c6d6496e4567b068 to your computer and use it in GitHub Desktop.
This file contains 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
Waf: Entering directory `/home/ubuntu/NFD/build' | |
[ 18/154] Compiling daemon/face/udp-channel.cpp | |
[ 19/154] Compiling daemon/face/ethernet-factory.cpp | |
[ 21/154] Compiling daemon/face/ethernet-channel.cpp | |
[ 45/154] Compiling daemon/face/websocket-channel.cpp | |
[136/154] Compiling daemon/face/tcp-channel.cpp | |
[139/154] Compiling daemon/face/unix-stream-channel.cpp | |
[140/154] Compiling daemon/face/null-face.cpp | |
[141/154] Compiling daemon/face/lp-reliability.cpp | |
[142/154] Compiling daemon/mgmt/face-manager.cpp | |
[143/154] Compiling daemon/face/udp-factory.cpp | |
[144/154] Compiling daemon/face/generic-link-service.cpp | |
[145/154] Compiling daemon/face/internal-face.cpp | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0, | |
from /usr/include/c++/7/bits/allocator.h:46, | |
from /usr/include/c++/7/string:41, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<const long unsigned int, nfd::face::LpReliability>; _Args = {long unsigned int&, nfd::face::LpReliability}; _Tp = std::pair<const long unsigned int, nfd::face::LpReliability>]’: | |
/usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<const long unsigned int, nfd::face::LpReliability>; _Args = {long unsigned int&, nfd::face::LpReliability}; _Tp = std::pair<const long unsigned int, nfd::face::LpReliability>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::pair<const long unsigned int, nfd::face::LpReliability> >]’ | |
/usr/include/c++/7/bits/hashtable_policy.h:2066:37: required from ‘std::__detail::_Hashtable_alloc<_NodeAlloc>::__node_type* std::__detail::_Hashtable_alloc<_NodeAlloc>::_M_allocate_node(_Args&& ...) [with _Args = {long unsigned int&, nfd::face::LpReliability}; _NodeAlloc = std::allocator<std::__detail::_Hash_node<std::pair<const long unsigned int, nfd::face::LpReliability>, false> >; std::__detail::_Hashtable_alloc<_NodeAlloc>::__node_type = std::__detail::_Hash_node<std::pair<const long unsigned int, nfd::face::LpReliability>, false>]’ | |
/usr/include/c++/7/bits/hashtable.h:1641:15: required from ‘std::pair<typename std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::iterator, bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args&& ...) [with _Args = {long unsigned int&, nfd::face::LpReliability}; _Key = long unsigned int; _Value = std::pair<const long unsigned int, nfd::face::LpReliability>; _Alloc = std::allocator<std::pair<const long unsigned int, nfd::face::LpReliability> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<long unsigned int>; _H1 = std::hash<long unsigned int>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<false, false, true>; typename std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::iterator = std::__detail::_Node_iterator<std::pair<const long unsigned int, nfd::face::LpReliability>, false, false>; std::true_type = std::integral_constant<bool, true>]’ | |
/usr/include/c++/7/bits/hashtable.h:736:21: required from ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args&& ...) [with _Args = {long unsigned int&, nfd::face::LpReliability}; _Key = long unsigned int; _Value = std::pair<const long unsigned int, nfd::face::LpReliability>; _Alloc = std::allocator<std::pair<const long unsigned int, nfd::face::LpReliability> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<long unsigned int>; _H1 = std::hash<long unsigned int>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<false, false, true>; std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type = std::pair<std::__detail::_Node_iterator<std::pair<const long unsigned int, nfd::face::LpReliability>, false, false>, bool>]’ | |
/usr/include/c++/7/bits/unordered_map.h:387:54: required from ‘std::pair<typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, true> >::iterator, bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args&& ...) [with _Args = {long unsigned int&, nfd::face::LpReliability}; _Key = long unsigned int; _Tp = nfd::face::LpReliability; _Hash = std::hash<long unsigned int>; _Pred = std::equal_to<long unsigned int>; _Alloc = std::allocator<std::pair<const long unsigned int, nfd::face::LpReliability> >; typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, true> >::iterator = std::__detail::_Node_iterator<std::pair<const long unsigned int, nfd::face::LpReliability>, false, false>]’ | |
../daemon/face/generic-link-service.cpp:64:88: required from here | |
/usr/include/c++/7/ext/new_allocator.h:136:4: error: no matching function for call to ‘std::pair<const long unsigned int, nfd::face::LpReliability>::pair(long unsigned int&, nfd::face::LpReliability)’ | |
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/utility:70:0, | |
from /usr/include/c++/7/tuple:38, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/bits/stl_pair.h:431:9: note: candidate: template<class ... _Args1, long unsigned int ..._Indexes1, class ... _Args2, long unsigned int ..._Indexes2> std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) | |
pair(tuple<_Args1...>&, tuple<_Args2...>&, | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:431:9: note: template argument deduction/substitution failed: | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0, | |
from /usr/include/c++/7/bits/allocator.h:46, | |
from /usr/include/c++/7/string:41, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/ext/new_allocator.h:136:4: note: mismatched types ‘std::tuple<_Tps ...>’ and ‘long unsigned int’ | |
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/utility:70:0, | |
from /usr/include/c++/7/tuple:38, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/bits/stl_pair.h:364:9: note: candidate: template<class ... _Args1, class ... _Args2> std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>) | |
pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>); | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:364:9: note: template argument deduction/substitution failed: | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0, | |
from /usr/include/c++/7/bits/allocator.h:46, | |
from /usr/include/c++/7/string:41, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/ext/new_allocator.h:136:4: note: ‘nfd::face::LpReliability’ is not derived from ‘std::tuple<_Tps ...>’ | |
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/utility:70:0, | |
from /usr/include/c++/7/tuple:38, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/bits/stl_pair.h:359:21: note: candidate: template<class _U1, class _U2, typename std::enable_if<(std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<nfd::face::LpReliability, _U2>::value)), const long unsigned int, nfd::face::LpReliability>::_MoveConstructiblePair<_U1, _U2>() && (! std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<nfd::face::LpReliability, _U2>::value)), const long unsigned int, nfd::face::LpReliability>::_ImplicitlyMoveConvertiblePair<_U1, _U2>())), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(std::pair<_U1, _U2>&&) | |
explicit constexpr pair(pair<_U1, _U2>&& __p) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:359:21: note: template argument deduction/substitution failed: | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0, | |
from /usr/include/c++/7/bits/allocator.h:46, | |
from /usr/include/c++/7/string:41, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/ext/new_allocator.h:136:4: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘long unsigned int’ | |
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/utility:70:0, | |
from /usr/include/c++/7/tuple:38, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/bits/stl_pair.h:349:12: note: candidate: template<class _U1, class _U2, typename std::enable_if<(std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<nfd::face::LpReliability, _U2>::value)), const long unsigned int, nfd::face::LpReliability>::_MoveConstructiblePair<_U1, _U2>() && std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<nfd::face::LpReliability, _U2>::value)), const long unsigned int, nfd::face::LpReliability>::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(std::pair<_U1, _U2>&&) | |
constexpr pair(pair<_U1, _U2>&& __p) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:349:12: note: template argument deduction/substitution failed: | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0, | |
from /usr/include/c++/7/bits/allocator.h:46, | |
from /usr/include/c++/7/string:41, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/ext/new_allocator.h:136:4: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘long unsigned int’ | |
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/utility:70:0, | |
from /usr/include/c++/7/tuple:38, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/bits/stl_pair.h:339:21: note: candidate: template<class _U1, class _U2, typename std::enable_if<(_MoveConstructiblePair<_U1, _U2>() && (! _ImplicitlyMoveConvertiblePair<_U1, _U2>())), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) | |
explicit constexpr pair(_U1&& __x, _U2&& __y) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:339:21: note: template argument deduction/substitution failed: | |
/usr/include/c++/7/bits/stl_pair.h:338:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’ | |
bool>::type=false> | |
^~~~~ | |
/usr/include/c++/7/bits/stl_pair.h:338:38: note: invalid template non-type parameter | |
/usr/include/c++/7/bits/stl_pair.h:330:12: note: candidate: template<class _U1, class _U2, typename std::enable_if<(_MoveConstructiblePair<_U1, _U2>() && _ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) | |
constexpr pair(_U1&& __x, _U2&& __y) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:330:12: note: template argument deduction/substitution failed: | |
/usr/include/c++/7/bits/stl_pair.h:329:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’ | |
bool>::type=true> | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:329:38: note: invalid template non-type parameter | |
/usr/include/c++/7/bits/stl_pair.h:321:17: note: candidate: template<class _U2, typename std::enable_if<_CopyMovePair<false, const long unsigned int, _U2>(), bool>::type <anonymous> > std::pair<_T1, _T2>::pair(const _T1&, _U2&&) | |
explicit pair(const _T1& __x, _U2&& __y) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:321:17: note: template argument deduction/substitution failed: | |
/usr/include/c++/7/bits/stl_pair.h:320:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’ | |
bool>::type=false> | |
^~~~~ | |
/usr/include/c++/7/bits/stl_pair.h:320:38: note: invalid template non-type parameter | |
/usr/include/c++/7/bits/stl_pair.h:314:18: note: candidate: template<class _U2, typename std::enable_if<_CopyMovePair<true, const long unsigned int, _U2>(), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(const _T1&, _U2&&) | |
constexpr pair(const _T1& __x, _U2&& __y) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:314:18: note: template argument deduction/substitution failed: | |
/usr/include/c++/7/bits/stl_pair.h:313:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’ | |
bool>::type=true> | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:313:38: note: invalid template non-type parameter | |
/usr/include/c++/7/bits/stl_pair.h:307:27: note: candidate: template<class _U1, typename std::enable_if<_MoveCopyPair<false, _U1, nfd::face::LpReliability>(), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&) | |
explicit constexpr pair(_U1&& __x, const _T2& __y) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:307:27: note: template argument deduction/substitution failed: | |
/usr/include/c++/7/bits/stl_pair.h:306:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’ | |
bool>::type=false> | |
^~~~~ | |
/usr/include/c++/7/bits/stl_pair.h:306:38: note: invalid template non-type parameter | |
/usr/include/c++/7/bits/stl_pair.h:300:18: note: candidate: template<class _U1, typename std::enable_if<_MoveCopyPair<true, _U1, nfd::face::LpReliability>(), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&) | |
constexpr pair(_U1&& __x, const _T2& __y) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:300:18: note: template argument deduction/substitution failed: | |
/usr/include/c++/7/bits/stl_pair.h:299:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’ | |
bool>::type=true> | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:299:38: note: invalid template non-type parameter | |
/usr/include/c++/7/bits/stl_pair.h:289:21: note: candidate: template<class _U1, class _U2, typename std::enable_if<(std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<nfd::face::LpReliability, _U2>::value)), const long unsigned int, nfd::face::LpReliability>::_ConstructiblePair<_U1, _U2>() && (! std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<nfd::face::LpReliability, _U2>::value)), const long unsigned int, nfd::face::LpReliability>::_ImplicitlyConvertiblePair<_U1, _U2>())), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) | |
explicit constexpr pair(const pair<_U1, _U2>& __p) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:289:21: note: template argument deduction/substitution failed: | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0, | |
from /usr/include/c++/7/bits/allocator.h:46, | |
from /usr/include/c++/7/string:41, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/ext/new_allocator.h:136:4: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘long unsigned int’ | |
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/utility:70:0, | |
from /usr/include/c++/7/tuple:38, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/bits/stl_pair.h:280:19: note: candidate: template<class _U1, class _U2, typename std::enable_if<(std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<nfd::face::LpReliability, _U2>::value)), const long unsigned int, nfd::face::LpReliability>::_ConstructiblePair<_U1, _U2>() && std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<nfd::face::LpReliability, _U2>::value)), const long unsigned int, nfd::face::LpReliability>::_ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) | |
constexpr pair(const pair<_U1, _U2>& __p) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:280:19: note: template argument deduction/substitution failed: | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0, | |
from /usr/include/c++/7/bits/allocator.h:46, | |
from /usr/include/c++/7/string:41, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/ext/new_allocator.h:136:4: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘long unsigned int’ | |
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/utility:70:0, | |
from /usr/include/c++/7/tuple:38, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/bits/stl_pair.h:258:26: note: candidate: template<class _U1, class _U2, typename std::enable_if<(_ConstructiblePair<_U1, _U2>() && (! _ImplicitlyConvertiblePair<_U1, _U2>())), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&) | |
explicit constexpr pair(const _T1& __a, const _T2& __b) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:258:26: note: template argument deduction/substitution failed: | |
/usr/include/c++/7/bits/stl_pair.h:257:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’ | |
bool>::type=false> | |
^~~~~ | |
/usr/include/c++/7/bits/stl_pair.h:257:38: note: invalid template non-type parameter | |
/usr/include/c++/7/bits/stl_pair.h:249:17: note: candidate: template<class _U1, class _U2, typename std::enable_if<(_ConstructiblePair<_U1, _U2>() && _ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&) | |
constexpr pair(const _T1& __a, const _T2& __b) | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:249:17: note: template argument deduction/substitution failed: | |
/usr/include/c++/7/bits/stl_pair.h:248:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’ | |
bool>::type=true> | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:248:38: note: invalid template non-type parameter | |
/usr/include/c++/7/bits/stl_pair.h:231:26: note: candidate: template<class _U1, class _U2, typename std::enable_if<std::__and_<std::is_default_constructible<_Tp>, std::is_default_constructible<_U2>, std::__not_<std::__and_<std::__is_implicitly_default_constructible<_U1>, std::__is_implicitly_default_constructible<_U2> > > >::value, bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair() | |
explicit constexpr pair() | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:231:26: note: template argument deduction/substitution failed: | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0, | |
from /usr/include/c++/7/bits/allocator.h:46, | |
from /usr/include/c++/7/string:41, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/ext/new_allocator.h:136:4: note: candidate expects 0 arguments, 2 provided | |
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/utility:70:0, | |
from /usr/include/c++/7/tuple:38, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/bits/stl_pair.h:218:26: note: candidate: template<class _U1, class _U2, typename std::enable_if<std::__and_<std::__is_implicitly_default_constructible<_U1>, std::__is_implicitly_default_constructible<_U2> >::value, bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair() | |
_GLIBCXX_CONSTEXPR pair() | |
^~~~ | |
/usr/include/c++/7/bits/stl_pair.h:218:26: note: template argument deduction/substitution failed: | |
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0, | |
from /usr/include/c++/7/bits/allocator.h:46, | |
from /usr/include/c++/7/string:41, | |
from /usr/include/c++/7/stdexcept:39, | |
from /usr/include/c++/7/array:39, | |
from /usr/include/c++/7/tuple:39, | |
from /usr/include/c++/7/functional:54, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/ext/new_allocator.h:136:4: note: candidate expects 0 arguments, 2 provided | |
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/7/functional:54:0, | |
from ../core/common.hpp:47, | |
from ../core/counter.hpp:29, | |
from ../daemon/face/link-service.hpp:29, | |
from ../daemon/face/generic-link-service.hpp:29, | |
from ../daemon/face/generic-link-service.cpp:26: | |
/usr/include/c++/7/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 long unsigned int&}; long unsigned int ..._Indexes1 = {0}; _Args2 = {}; long unsigned int ..._Indexes2 = {}; _T1 = const long unsigned int; _T2 = nfd::face::LpReliability]’: | |
/usr/include/c++/7/tuple:1641:63: required from ‘std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>) [with _Args1 = {const long unsigned int&}; _Args2 = {}; _T1 = const long unsigned int; _T2 = nfd::face::LpReliability]’ | |
/usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<const long unsigned int, nfd::face::LpReliability>; _Args = {const std::piecewise_construct_t&, std::tuple<const long unsigned int&>, std::tuple<>}; _Tp = std::pair<const long unsigned int, nfd::face::LpReliability>]’ | |
/usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<const long unsigned int, nfd::face::LpReliability>; _Args = {const std::piecewise_construct_t&, std::tuple<const long unsigned int&>, std::tuple<>}; _Tp = std::pair<const long unsigned int, nfd::face::LpReliability>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::pair<const long unsigned int, nfd::face::LpReliability> >]’ | |
/usr/include/c++/7/bits/hashtable_policy.h:2066:37: required from ‘std::__detail::_Hashtable_alloc<_NodeAlloc>::__node_type* std::__detail::_Hashtable_alloc<_NodeAlloc>::_M_allocate_node(_Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const long unsigned int&>, std::tuple<>}; _NodeAlloc = std::allocator<std::__detail::_Hash_node<std::pair<const long unsigned int, nfd::face::LpReliability>, false> >; std::__detail::_Hashtable_alloc<_NodeAlloc>::__node_type = std::__detail::_Hash_node<std::pair<const long unsigned int, nfd::face::LpReliability>, false>]’ | |
/usr/include/c++/7/bits/hashtable_policy.h:725:8: required from ‘std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::mapped_type& std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::operator[](const key_type&) [with _Key = long unsigned int; _Pair = std::pair<const long unsigned int, nfd::face::LpReliability>; _Alloc = std::allocator<std::pair<const long unsigned int, nfd::face::LpReliability> >; _Equal = std::equal_to<long unsigned int>; _H1 = std::hash<long unsigned int>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<false, false, true>; std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::mapped_type = nfd::face::LpReliability; std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::key_type = long unsigned int]’ | |
/usr/include/c++/7/bits/unordered_map.h:976:20: required from ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::mapped_type& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type&) [with _Key = long unsigned int; _Tp = nfd::face::LpReliability; _Hash = std::hash<long unsigned int>; _Pred = std::equal_to<long unsigned int>; _Alloc = std::allocator<std::pair<const long unsigned int, nfd::face::LpReliability> >; std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::mapped_type = nfd::face::LpReliability; std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::key_type = long unsigned int]’ | |
../daemon/face/generic-link-service.cpp:66:29: required from here | |
/usr/include/c++/7/tuple:1652:70: error: no matching function for call to ‘nfd::face::LpReliability::LpReliability()’ | |
second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...) | |
^ | |
In file included from ../daemon/face/generic-link-service.hpp:32:0, | |
from ../daemon/face/generic-link-service.cpp:26: | |
../daemon/face/lp-reliability.hpp:68:3: note: candidate: nfd::face::LpReliability::LpReliability(const nfd::face::LpReliability::Options&, nfd::face::GenericLinkService*) | |
LpReliability(const Options& options, GenericLinkService* linkService); | |
^~~~~~~~~~~~~ | |
../daemon/face/lp-reliability.hpp:68:3: note: candidate expects 2 arguments, 0 provided | |
../daemon/mgmt/face-manager.cpp: In member function ‘void nfd::FaceManager::createFace(const ndn::nfd::ControlParameters&, const CommandContinuation&)’: | |
../daemon/mgmt/face-manager.cpp:111:20: warning: ‘*((void*)& faceParams +48)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
face::FaceParams faceParams; | |
^~~~~~~~~~ | |
../daemon/mgmt/face-manager.cpp:111:20: warning: ‘*((void*)& faceParams +32)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
../daemon/mgmt/face-manager.cpp:111:20: warning: ‘*((void*)& faceParams +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment