Closed Ckhyriem closed 3 years ago
Those are all errors in the system include files, not SNAP proper. I’m not sure why you’re getting them specifically, but it’s probably due to having installed a weird version of g++ or something,
Sorry I can’t be more helpful about your specific problem.
From: Ckhyriem notifications@github.com Sent: Tuesday, March 3, 2020 2:35 AM To: amplab/snap snap@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [amplab/snap] make error (#124)
Got the following error when make command was used. Please help.
g++ -O3 -Wno-format -MMD -ISNAPLib -msse -c -o SNAPLib/AlignerContext.o SNAPLib/AlignerContext.cpp In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:851:29: error: expected primary-expression before ‘.’ token noexcept(noexcept(in._M_swap(in))) ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&)’: /usr/include/c++/6/tuple:671:76: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<const _Tuple_impl<0, _UElements...>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&)’: /usr/include/c++/6/tuple:683:76: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<const _Tuple_impl<0, _UElements...>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&)’: /usr/include/c++/6/tuple:695:71: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&)’: /usr/include/c++/6/tuple:706:71: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple< >&)’: /usr/include/c++/6/tuple:760:62: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<const _Inherited&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, std::tuple< >&&)’: /usr/include/c++/6/tuple:764:57: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<_Inherited&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_Args2 ...>&)’: /usr/include/c++/6/tuple:775:69: error: expected primary-expression before ‘)’ token static_cast<const _Tuple_impl<0, _UElements...>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_Args2 ...>&)’: /usr/include/c++/6/tuple:787:69: error: expected primary-expression before ‘)’ token static_cast<const _Tuple_impl<0, _UElements...>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_Args2 ...>&&)’: /usr/include/c++/6/tuple:799:64: error: expected primary-expression before ‘)’ token static_cast<_Tuple_impl<0, _UElements...>&&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_Args2 ...>&&)’: /usr/include/c++/6/tuple:811:64: error: expected primary-expression before ‘)’ token static_cast<_Tuple_impl<0, _UElements...>&&>(in)) ^ /usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(const std::tuple< >&)’: /usr/include/c++/6/tuple:817:40: error: expected primary-expression before ‘;’ token static_cast<_Inherited&>(this) = __in; ^ /usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(std::tuple< >&&)’: /usr/include/c++/6/tuple:825:50: error: no matching function for call to ‘move()’ static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/bits/stl_pair.h:59:0, from /usr/include/c++/6/utility:70, from /usr/include/c++/6/algorithm:60, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&) move(_Tp&& t) noexcept ^~~~ /usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:825:50: note: candidate expects 1 argument, 0 provided static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/algorithm:61:0, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II first, _II __last, _OI __result) ^~~~ /usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:825:50: note: candidate expects 3 arguments, 0 provided static_cast<_Inherited&>(this) = std::move(in); ^ /usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(const std::tuple<_Args1 ...>&)’: /usr/include/c++/6/tuple:835:42: error: expected primary-expression before ‘;’ token static_cast<_Inherited&>(this) = __in; ^ /usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(std::tuple<_Args1 ...>&&)’: /usr/include/c++/6/tuple:845:52: error: no matching function for call to ‘move()’ static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/bits/stl_pair.h:59:0, from /usr/include/c++/6/utility:70, from /usr/include/c++/6/algorithm:60, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&) move(_Tp&& t) noexcept ^~~~ /usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:845:52: note: candidate expects 1 argument, 0 provided static_cast<_Inherited&>(*this) = std::move(in); ^ In file included from /usr/include/c++/6/algorithm:61:0, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II first, _II last, _OI result) ^~~~ /usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:845:52: note: candidate expects 3 arguments, 0 provided static_cast<_Inherited&>(*this) = std::move(in); ^ /usr/include/c++/6/tuple: At global scope: /usr/include/c++/6/tuple:1218:29: error: expected primary-expression before ‘.’ token noexcept(noexcept(in._M_swap(in))) ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&)’: /usr/include/c++/6/tuple:955:64: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<const _Tuple_impl<0, _U1, _U2>&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&)’: /usr/include/c++/6/tuple:964:64: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<const _Tuple_impl<0, _U1, _U2>&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&)’: /usr/include/c++/6/tuple:973:59: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<_Tuple_impl<0, _U1, _U2>&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&)’: /usr/include/c++/6/tuple:982:59: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<_Tuple_impl<0, _U1, _U2>&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&)’: /usr/include/c++/6/tuple:991:19: error: expected primary-expression before ‘.’ token : _Inherited(in.first, in.second) { } ^ /usr/include/c++/6/tuple:991:31: error: expected primary-expression before ‘.’ token : _Inherited(in.first, in.second) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&)’: /usr/include/c++/6/tuple:1000:19: error: expected primary-expression before ‘.’ token : _Inherited(in.first, in.second) { } ^ /usr/include/c++/6/tuple:1000:31: error: expected primary-expression before ‘.’ token : _Inherited(in.first, in.second) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1009:37: error: expected primary-expression before ‘.’ token : _Inherited(std::forward<_U1>(in.first), ^ /usr/include/c++/6/tuple:1010:30: error: expected primary-expression before ‘.’ token std::forward<_U2>(in.second)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1019:37: error: expected primary-expression before ‘.’ token : _Inherited(std::forward<_U1>(in.first), ^ /usr/include/c++/6/tuple:1020:30: error: expected primary-expression before ‘.’ token std::forward<_U2>(in.second)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_T1, _T2>&)’: /usr/include/c++/6/tuple:1075:62: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<const _Inherited&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_T1, _T2>&&)’: /usr/include/c++/6/tuple:1079:57: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<_Inherited&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&)’: /usr/include/c++/6/tuple:1090:64: error: expected primary-expression before ‘)’ token static_cast<const _Tuple_impl<0, _U1, _U2>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&)’: /usr/include/c++/6/tuple:1102:64: error: expected primary-expression before ‘)’ token static_cast<const _Tuple_impl<0, _U1, _U2>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1112:71: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<_Tuple_impl<0, _U1, _U2>&&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1123:71: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<_Tuple_impl<0, _U1, _U2>&&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&)’: /usr/include/c++/6/tuple:1134:31: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, in.first, __in.second) { } ^ /usr/include/c++/6/tuple:1134:43: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, in.first, in.second) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&)’: /usr/include/c++/6/tuple:1144:31: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, in.first, in.second) { } ^ /usr/include/c++/6/tuple:1144:43: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, in.first, in.second) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1153:49: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, std::forward<_U1>(in.first), ^ /usr/include/c++/6/tuple:1154:30: error: expected primary-expression before ‘.’ token std::forward<_U2>(in.second)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1164:49: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, std::forward<_U1>(__in.first), ^ /usr/include/c++/6/tuple:1165:30: error: expected primary-expression before ‘.’ token std::forward<_U2>(in.second)) { } ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&)’: /usr/include/c++/6/tuple:1170:40: error: expected primary-expression before ‘;’ token static_cast<_Inherited&>(this) = __in; ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&)’: /usr/include/c++/6/tuple:1178:50: error: no matching function for call to ‘move()’ static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/bits/stl_pair.h:59:0, from /usr/include/c++/6/utility:70, from /usr/include/c++/6/algorithm:60, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&) move(_Tp&& t) noexcept ^~~~ /usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:1178:50: note: candidate expects 1 argument, 0 provided static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/algorithm:61:0, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II first, _II __last, _OI __result) ^~~~ /usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:1178:50: note: candidate expects 3 arguments, 0 provided static_cast<_Inherited&>(this) = std::move(in); ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&)’: /usr/include/c++/6/tuple:1186:42: error: expected primary-expression before ‘;’ token static_cast<_Inherited&>(*this) = in; ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1194:52: error: no matching function for call to ‘move()’ static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/bits/stl_pair.h:59:0, from /usr/include/c++/6/utility:70, from /usr/include/c++/6/algorithm:60, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&) move(_Tp&& t) noexcept ^~~~ /usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:1194:52: note: candidate expects 1 argument, 0 provided static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/algorithm:61:0, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II first, _II last, _OI result) ^~~~ /usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:1194:52: note: candidate expects 3 arguments, 0 provided static_cast<_Inherited&>(*this) = std::move(in); ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&)’: /usr/include/c++/6/tuple:1202:31: error: expected primary-expression before ‘.’ token this->_M_head(this) = __in.first; ^ /usr/include/c++/6/tuple:1203:46: error: expected primary-expression before ‘.’ token this->_M_tail(this)._M_head(this) = __in.second; ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1211:49: error: expected primary-expression before ‘.’ token this->_M_head(this) = std::forward<_U1>(in.first); ^ /usr/include/c++/6/tuple:1212:64: error: expected primary-expression before ‘.’ token this->_M_tail(this)._M_head(this) = std::forward<_U2>(__in.second); ^ : recipe for target 'SNAPLib/AlignerContext.o' failed make: *** [SNAPLib/AlignerContext.o] Error 1
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Famplab%2Fsnap%2Fissues%2F124%3Femail_source%3Dnotifications%26email_token%3DAAHPTWJTG64SSNWX4VBZBJDRFTML7A5CNFSM4LAHOB4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IR7HWMQ&data=02%7C01%7Cbolosky%40microsoft.com%7C2ae26fc8127d439c98bf08d7bf5e7aca%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637188284823021604&sdata=o6DN5nSIlDIXlihF%2FJDYVgkPJJQE8%2FrxKrN2s77OxSY%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAHPTWOF73ZIHITHL7YN3WLRFTML7ANCNFSM4LAHOB4A&data=02%7C01%7Cbolosky%40microsoft.com%7C2ae26fc8127d439c98bf08d7bf5e7aca%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637188284823021604&sdata=g2T4erL709e2Eyh2OPCbIfE37cBUPU9tn2IkEdXXyJU%3D&reserved=0.
Dear Bill,
Thanks for the reply. I will see if other versions of gcc will work with it.
Regards
Costerwell Khyriem
From: Bill Bolosky notifications@github.com Sent: Wednesday, March 4, 2020 2:33 AM To: amplab/snap snap@noreply.github.com Cc: Ckhyriem costerwell.khyriem@vishuo.com; Author author@noreply.github.com Subject: Re: [amplab/snap] make error (#124)
Those are all errors in the system include files, not SNAP proper. I’m not sure why you’re getting them specifically, but it’s probably due to having installed a weird version of g++ or something,
Sorry I can’t be more helpful about your specific problem.
From: Ckhyriem notifications@github.com Sent: Tuesday, March 3, 2020 2:35 AM To: amplab/snap snap@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [amplab/snap] make error (#124)
Got the following error when make command was used. Please help.
g++ -O3 -Wno-format -MMD -ISNAPLib -msse -c -o SNAPLib/AlignerContext.o SNAPLib/AlignerContext.cpp In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:851:29: error: expected primary-expression before ‘.’ token noexcept(noexcept(in._M_swap(in))) ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&)’: /usr/include/c++/6/tuple:671:76: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<const _Tuple_impl<0, _UElements...>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&)’: /usr/include/c++/6/tuple:683:76: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<const _Tuple_impl<0, _UElements...>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&)’: /usr/include/c++/6/tuple:695:71: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&)’: /usr/include/c++/6/tuple:706:71: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple< >&)’: /usr/include/c++/6/tuple:760:62: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<const _Inherited&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, std::tuple< >&&)’: /usr/include/c++/6/tuple:764:57: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<_Inherited&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_Args2 ...>&)’: /usr/include/c++/6/tuple:775:69: error: expected primary-expression before ‘)’ token static_cast<const _Tuple_impl<0, _UElements...>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_Args2 ...>&)’: /usr/include/c++/6/tuple:787:69: error: expected primary-expression before ‘)’ token static_cast<const _Tuple_impl<0, _UElements...>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_Args2 ...>&&)’: /usr/include/c++/6/tuple:799:64: error: expected primary-expression before ‘)’ token static_cast<_Tuple_impl<0, _UElements...>&&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_Args2 ...>&&)’: /usr/include/c++/6/tuple:811:64: error: expected primary-expression before ‘)’ token static_cast<_Tuple_impl<0, _UElements...>&&>(in)) ^ /usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(const std::tuple< >&)’: /usr/include/c++/6/tuple:817:40: error: expected primary-expression before ‘;’ token static_cast<_Inherited&>(this) = __in; ^ /usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(std::tuple< >&&)’: /usr/include/c++/6/tuple:825:50: error: no matching function for call to ‘move()’ static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/bits/stl_pair.h:59:0, from /usr/include/c++/6/utility:70, from /usr/include/c++/6/algorithm:60, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&) move(_Tp&& t) noexcept ^~~~ /usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:825:50: note: candidate expects 1 argument, 0 provided static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/algorithm:61:0, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II first, _II __last, _OI __result) ^~~~ /usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:825:50: note: candidate expects 3 arguments, 0 provided static_cast<_Inherited&>(this) = std::move(in); ^ /usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(const std::tuple<_Args1 ...>&)’: /usr/include/c++/6/tuple:835:42: error: expected primary-expression before ‘;’ token static_cast<_Inherited&>(this) = __in; ^ /usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(std::tuple<_Args1 ...>&&)’: /usr/include/c++/6/tuple:845:52: error: no matching function for call to ‘move()’ static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/bits/stl_pair.h:59:0, from /usr/include/c++/6/utility:70, from /usr/include/c++/6/algorithm:60, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&) move(_Tp&& t) noexcept ^~~~ /usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:845:52: note: candidate expects 1 argument, 0 provided static_cast<_Inherited&>(*this) = std::move(in); ^ In file included from /usr/include/c++/6/algorithm:61:0, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II first, _II last, _OI result) ^~~~ /usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:845:52: note: candidate expects 3 arguments, 0 provided static_cast<_Inherited&>(*this) = std::move(in); ^ /usr/include/c++/6/tuple: At global scope: /usr/include/c++/6/tuple:1218:29: error: expected primary-expression before ‘.’ token noexcept(noexcept(in._M_swap(in))) ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&)’: /usr/include/c++/6/tuple:955:64: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<const _Tuple_impl<0, _U1, _U2>&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&)’: /usr/include/c++/6/tuple:964:64: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<const _Tuple_impl<0, _U1, _U2>&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&)’: /usr/include/c++/6/tuple:973:59: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<_Tuple_impl<0, _U1, _U2>&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&)’: /usr/include/c++/6/tuple:982:59: error: expected primary-expression before ‘)’ token : _Inherited(static_cast<_Tuple_impl<0, _U1, _U2>&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&)’: /usr/include/c++/6/tuple:991:19: error: expected primary-expression before ‘.’ token : _Inherited(in.first, in.second) { } ^ /usr/include/c++/6/tuple:991:31: error: expected primary-expression before ‘.’ token : _Inherited(in.first, in.second) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&)’: /usr/include/c++/6/tuple:1000:19: error: expected primary-expression before ‘.’ token : _Inherited(in.first, in.second) { } ^ /usr/include/c++/6/tuple:1000:31: error: expected primary-expression before ‘.’ token : _Inherited(in.first, in.second) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1009:37: error: expected primary-expression before ‘.’ token : _Inherited(std::forward<_U1>(in.first), ^ /usr/include/c++/6/tuple:1010:30: error: expected primary-expression before ‘.’ token std::forward<_U2>(in.second)) { } ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1019:37: error: expected primary-expression before ‘.’ token : _Inherited(std::forward<_U1>(in.first), ^ /usr/include/c++/6/tuple:1020:30: error: expected primary-expression before ‘.’ token std::forward<_U2>(in.second)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_T1, _T2>&)’: /usr/include/c++/6/tuple:1075:62: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<const _Inherited&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_T1, _T2>&&)’: /usr/include/c++/6/tuple:1079:57: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<_Inherited&&>(in)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&)’: /usr/include/c++/6/tuple:1090:64: error: expected primary-expression before ‘)’ token static_cast<const _Tuple_impl<0, _U1, _U2>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&)’: /usr/include/c++/6/tuple:1102:64: error: expected primary-expression before ‘)’ token static_cast<const _Tuple_impl<0, _U1, _U2>&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1112:71: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<_Tuple_impl<0, _U1, _U2>&&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1123:71: error: expected primary-expression before ‘)’ token : _Inherited(tag, a, static_cast<_Tuple_impl<0, _U1, _U2>&&>(in)) ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&)’: /usr/include/c++/6/tuple:1134:31: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, in.first, __in.second) { } ^ /usr/include/c++/6/tuple:1134:43: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, in.first, in.second) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&)’: /usr/include/c++/6/tuple:1144:31: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, in.first, in.second) { } ^ /usr/include/c++/6/tuple:1144:43: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, in.first, in.second) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1153:49: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, std::forward<_U1>(in.first), ^ /usr/include/c++/6/tuple:1154:30: error: expected primary-expression before ‘.’ token std::forward<_U2>(in.second)) { } ^ /usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1164:49: error: expected primary-expression before ‘.’ token : _Inherited(tag, a, std::forward<_U1>(__in.first), ^ /usr/include/c++/6/tuple:1165:30: error: expected primary-expression before ‘.’ token std::forward<_U2>(in.second)) { } ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&)’: /usr/include/c++/6/tuple:1170:40: error: expected primary-expression before ‘;’ token static_cast<_Inherited&>(this) = __in; ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&)’: /usr/include/c++/6/tuple:1178:50: error: no matching function for call to ‘move()’ static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/bits/stl_pair.h:59:0, from /usr/include/c++/6/utility:70, from /usr/include/c++/6/algorithm:60, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&) move(_Tp&& t) noexcept ^~~~ /usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:1178:50: note: candidate expects 1 argument, 0 provided static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/algorithm:61:0, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II first, _II __last, _OI __result) ^~~~ /usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:1178:50: note: candidate expects 3 arguments, 0 provided static_cast<_Inherited&>(this) = std::move(in); ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&)’: /usr/include/c++/6/tuple:1186:42: error: expected primary-expression before ‘;’ token static_cast<_Inherited&>(*this) = in; ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1194:52: error: no matching function for call to ‘move()’ static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/bits/stl_pair.h:59:0, from /usr/include/c++/6/utility:70, from /usr/include/c++/6/algorithm:60, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&) move(_Tp&& t) noexcept ^~~~ /usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:1194:52: note: candidate expects 1 argument, 0 provided static_cast<_Inherited&>(this) = std::move(in); ^ In file included from /usr/include/c++/6/algorithm:61:0, from SNAPLib/stdafx.h:13, from SNAPLib/AlignerContext.cpp:26: /usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II first, _II last, _OI result) ^~~~ /usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:1194:52: note: candidate expects 3 arguments, 0 provided static_cast<_Inherited&>(*this) = std::move(in); ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&)’: /usr/include/c++/6/tuple:1202:31: error: expected primary-expression before ‘.’ token this->_M_head(this) = __in.first; ^ /usr/include/c++/6/tuple:1203:46: error: expected primary-expression before ‘.’ token this->_M_tail(this)._M_head(this) = __in.second; ^ /usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&)’: /usr/include/c++/6/tuple:1211:49: error: expected primary-expression before ‘.’ token this->_M_head(this) = std::forward<_U1>(in.first); ^ /usr/include/c++/6/tuple:1212:64: error: expected primary-expression before ‘.’ token this->_M_tail(this)._M_head(this) = std::forward<_U2>(__in.second); ^ : recipe for target 'SNAPLib/AlignerContext.o' failed make: *** [SNAPLib/AlignerContext.o] Error 1
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Famplab%2Fsnap%2Fissues%2F124%3Femail_source%3Dnotifications%26email_token%3DAAHPTWJTG64SSNWX4VBZBJDRFTML7A5CNFSM4LAHOB4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IR7HWMQ&data=02%7C01%7Cbolosky%40microsoft.com%7C2ae26fc8127d439c98bf08d7bf5e7aca%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637188284823021604&sdata=o6DN5nSIlDIXlihF%2FJDYVgkPJJQE8%2FrxKrN2s77OxSY%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAHPTWOF73ZIHITHL7YN3WLRFTML7ANCNFSM4LAHOB4A&data=02%7C01%7Cbolosky%40microsoft.com%7C2ae26fc8127d439c98bf08d7bf5e7aca%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637188284823021604&sdata=g2T4erL709e2Eyh2OPCbIfE37cBUPU9tn2IkEdXXyJU%3D&reserved=0.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amplab/snap/issues/124?email_source=notifications&email_token=AOXAJRHAEUG7L5PST5QACTTRFVEOVA5CNFSM4LAHOB4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENUUAZY#issuecomment-594100327 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOXAJRAYSWFBEHOQV3WMX2DRFVEOVANCNFSM4LAHOB4A .
Got the following error when make command was used. Please help.
g++ -O3 -Wno-format -MMD -ISNAPLib -msse -c -o SNAPLib/AlignerContext.o SNAPLib/AlignerContext.cpp In file included from /usr/include/c++/6/bits/stl_map.h:63:0, from /usr/include/c++/6/map:61, from SNAPLib/Util.h:3, from SNAPLib/VariableSizeVector.h:3, from SNAPLib/VariableSizeMap.h:5, from SNAPLib/DataReader.h:26, from SNAPLib/Read.h:30, from SNAPLib/AlignerOptions.h:30, from SNAPLib/AlignerContext.cpp:29: /usr/include/c++/6/tuple:851:29: error: expected primary-expression before ‘.’ token noexcept(noexcept(in._M_swap(in))) ^ /usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&)’:
/usr/include/c++/6/tuple:671:76: error: expected primary-expression before ‘)’ token
: _Inherited(static_cast<const _Tuple_impl<0, _UElements...>&>(in))
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&)’:
/usr/include/c++/6/tuple:683:76: error: expected primary-expression before ‘)’ token
: _Inherited(static_cast<const _Tuple_impl<0, _UElements...>&>( in))
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&)’:
/usr/include/c++/6/tuple:695:71: error: expected primary-expression before ‘)’ token
: _Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(in)) { }
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&)’:
/usr/include/c++/6/tuple:706:71: error: expected primary-expression before ‘)’ token
: _Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>( in)) { }
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple< >&)’:
/usr/include/c++/6/tuple:760:62: error: expected primary-expression before ‘)’ token
: _Inherited(tag, a, static_cast<const _Inherited&>(in)) { }
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, std::tuple< >&&)’:
/usr/include/c++/6/tuple:764:57: error: expected primary-expression before ‘)’ token
: _Inherited( tag, a, static_cast<_Inherited&&>(in)) { }
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_Args2 ...>&)’:
/usr/include/c++/6/tuple:775:69: error: expected primary-expression before ‘)’ token
static_cast<const _Tuple_impl<0, _UElements...>&>(in))
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_Args2 ...>&)’:
/usr/include/c++/6/tuple:787:69: error: expected primary-expression before ‘)’ token
static_cast<const _Tuple_impl<0, _UElements...>&>( in))
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_Args2 ...>&&)’:
/usr/include/c++/6/tuple:799:64: error: expected primary-expression before ‘)’ token
static_cast<_Tuple_impl<0, _UElements...>&&>(in))
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple< >::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_Args2 ...>&&)’:
/usr/include/c++/6/tuple:811:64: error: expected primary-expression before ‘)’ token
static_cast<_Tuple_impl<0, _UElements...>&&>( in))
^
/usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(const std::tuple< >&)’:
/usr/include/c++/6/tuple:817:40: error: expected primary-expression before ‘;’ token
static_cast<_Inherited&>(this) = __in;
^
/usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(std::tuple< >&&)’:
/usr/include/c++/6/tuple:825:50: error: no matching function for call to ‘move()’
static_cast<_Inherited&>( this) = std::move(in);
^
In file included from /usr/include/c++/6/bits/stl_pair.h:59:0,
from /usr/include/c++/6/utility:70,
from /usr/include/c++/6/algorithm:60,
from SNAPLib/stdafx.h:13,
from SNAPLib/AlignerContext.cpp:26:
/usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^~~~
/usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
from /usr/include/c++/6/map:61,
from SNAPLib/Util.h:3,
from SNAPLib/VariableSizeVector.h:3,
from SNAPLib/VariableSizeMap.h:5,
from SNAPLib/DataReader.h:26,
from SNAPLib/Read.h:30,
from SNAPLib/AlignerOptions.h:30,
from SNAPLib/AlignerContext.cpp:29:
/usr/include/c++/6/tuple:825:50: note: candidate expects 1 argument, 0 provided
static_cast<_Inherited&>(*this) = std::move( in);
^
In file included from /usr/include/c++/6/algorithm:61:0,
from SNAPLib/stdafx.h:13,
from SNAPLib/AlignerContext.cpp:26:
/usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II first, _II __last, _OI result)
^~~~
/usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
from /usr/include/c++/6/map:61,
from SNAPLib/Util.h:3,
from SNAPLib/VariableSizeVector.h:3,
from SNAPLib/VariableSizeMap.h:5,
from SNAPLib/DataReader.h:26,
from SNAPLib/Read.h:30,
from SNAPLib/AlignerOptions.h:30,
from SNAPLib/AlignerContext.cpp:29:
/usr/include/c++/6/tuple:825:50: note: candidate expects 3 arguments, 0 provided
static_cast<_Inherited&>(this) = std::move(__in);
^
/usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(const std::tuple<_Args1 ...>&)’:
/usr/include/c++/6/tuple:835:42: error: expected primary-expression before ‘;’ token
static_cast<_Inherited&>( this) = in;
^
/usr/include/c++/6/tuple: In member function ‘std::tuple< >& std::tuple< >::operator=(std::tuple<_Args1 ...>&&)’:
/usr/include/c++/6/tuple:845:52: error: no matching function for call to ‘move()’
static_cast<_Inherited&>(*this) = std::move(__in);
^
In file included from /usr/include/c++/6/bits/stl_pair.h:59:0,
from /usr/include/c++/6/utility:70,
from /usr/include/c++/6/algorithm:60,
from SNAPLib/stdafx.h:13,
from SNAPLib/AlignerContext.cpp:26:
/usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&)
move(_Tp&& t) noexcept
^~~~
/usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
from /usr/include/c++/6/map:61,
from SNAPLib/Util.h:3,
from SNAPLib/VariableSizeVector.h:3,
from SNAPLib/VariableSizeMap.h:5,
from SNAPLib/DataReader.h:26,
from SNAPLib/Read.h:30,
from SNAPLib/AlignerOptions.h:30,
from SNAPLib/AlignerContext.cpp:29:
/usr/include/c++/6/tuple:845:52: note: candidate expects 1 argument, 0 provided
static_cast<_Inherited&>(this) = std::move(in);
^
In file included from /usr/include/c++/6/algorithm:61:0,
from SNAPLib/stdafx.h:13,
from SNAPLib/AlignerContext.cpp:26:
/usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II first, _II __last, _OI __result)
^~~~
/usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
from /usr/include/c++/6/map:61,
from SNAPLib/Util.h:3,
from SNAPLib/VariableSizeVector.h:3,
from SNAPLib/VariableSizeMap.h:5,
from SNAPLib/DataReader.h:26,
from SNAPLib/Read.h:30,
from SNAPLib/AlignerOptions.h:30,
from SNAPLib/AlignerContext.cpp:29:
/usr/include/c++/6/tuple:845:52: note: candidate expects 3 arguments, 0 provided
static_cast<_Inherited&>(this) = std::move(in);
^
/usr/include/c++/6/tuple: At global scope:
/usr/include/c++/6/tuple:1218:29: error: expected primary-expression before ‘.’ token
noexcept(noexcept(in._M_swap(in)))
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&)’:
/usr/include/c++/6/tuple:955:64: error: expected primary-expression before ‘)’ token
: _Inherited(static_cast<const _Tuple_impl<0, _U1, _U2>&>(in)) { }
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&)’:
/usr/include/c++/6/tuple:964:64: error: expected primary-expression before ‘)’ token
: _Inherited(static_cast<const _Tuple_impl<0, _U1, _U2>&>(in)) { }
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&)’:
/usr/include/c++/6/tuple:973:59: error: expected primary-expression before ‘)’ token
: _Inherited(static_cast<_Tuple_impl<0, _U1, _U2>&&>(in)) { }
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&)’:
/usr/include/c++/6/tuple:982:59: error: expected primary-expression before ‘)’ token
: _Inherited(static_cast<_Tuple_impl<0, _U1, _U2>&&>(in)) { }
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&)’:
/usr/include/c++/6/tuple:991:19: error: expected primary-expression before ‘.’ token
: _Inherited(in.first, in.second) { }
^
/usr/include/c++/6/tuple:991:31: error: expected primary-expression before ‘.’ token
: _Inherited(in.first, in.second) { }
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&)’:
/usr/include/c++/6/tuple:1000:19: error: expected primary-expression before ‘.’ token
: _Inherited(in.first, in.second) { }
^
/usr/include/c++/6/tuple:1000:31: error: expected primary-expression before ‘.’ token
: _Inherited(in.first, in.second) { }
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&)’:
/usr/include/c++/6/tuple:1009:37: error: expected primary-expression before ‘.’ token
: _Inherited(std::forward<_U1>(in.first),
^
/usr/include/c++/6/tuple:1010:30: error: expected primary-expression before ‘.’ token
std::forward<_U2>(in.second)) { }
^
/usr/include/c++/6/tuple: In constructor ‘constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&)’:
/usr/include/c++/6/tuple:1019:37: error: expected primary-expression before ‘.’ token
: _Inherited(std::forward<_U1>(in.first),
^
/usr/include/c++/6/tuple:1020:30: error: expected primary-expression before ‘.’ token
std::forward<_U2>(in.second)) { }
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_T1, _T2>&)’:
/usr/include/c++/6/tuple:1075:62: error: expected primary-expression before ‘)’ token
: _Inherited(tag, a, static_cast<const _Inherited&>(in)) { }
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_T1, _T2>&&)’:
/usr/include/c++/6/tuple:1079:57: error: expected primary-expression before ‘)’ token
: _Inherited(tag, a, static_cast<_Inherited&&>(in)) { }
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&)’:
/usr/include/c++/6/tuple:1090:64: error: expected primary-expression before ‘)’ token
static_cast<const _Tuple_impl<0, _U1, _U2>&>(in))
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&)’:
/usr/include/c++/6/tuple:1102:64: error: expected primary-expression before ‘)’ token
static_cast<const _Tuple_impl<0, _U1, _U2>&>(in))
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&)’:
/usr/include/c++/6/tuple:1112:71: error: expected primary-expression before ‘)’ token
: _Inherited(tag, a, static_cast<_Tuple_impl<0, _U1, _U2>&&>(in))
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&)’:
/usr/include/c++/6/tuple:1123:71: error: expected primary-expression before ‘)’ token
: _Inherited(tag, __a, static_cast<_Tuple_impl<0, _U1, _U2>&&>(in))
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&)’:
/usr/include/c++/6/tuple:1134:31: error: expected primary-expression before ‘.’ token
: _Inherited(tag, a, in.first, in.second) { }
^
/usr/include/c++/6/tuple:1134:43: error: expected primary-expression before ‘.’ token
: _Inherited(tag, a, in.first, in.second) { }
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&)’:
/usr/include/c++/6/tuple:1144:31: error: expected primary-expression before ‘.’ token
: _Inherited(tag, a, in.first, in.second) { }
^
/usr/include/c++/6/tuple:1144:43: error: expected primary-expression before ‘.’ token
: _Inherited(tag, a, in.first, in.second) { }
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&)’:
/usr/include/c++/6/tuple:1153:49: error: expected primary-expression before ‘.’ token
: _Inherited(tag, a, std::forward<_U1>(in.first),
^
/usr/include/c++/6/tuple:1154:30: error: expected primary-expression before ‘.’ token
std::forward<_U2>(in.second)) { }
^
/usr/include/c++/6/tuple: In constructor ‘std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&)’:
/usr/include/c++/6/tuple:1164:49: error: expected primary-expression before ‘.’ token
: _Inherited(tag, __a, std::forward<_U1>(in.first),
^
/usr/include/c++/6/tuple:1165:30: error: expected primary-expression before ‘.’ token
std::forward<_U2>(in.second)) { }
^
/usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&)’:
/usr/include/c++/6/tuple:1170:40: error: expected primary-expression before ‘;’ token
static_cast<_Inherited&>(*this) = in;
^
/usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&)’:
/usr/include/c++/6/tuple:1178:50: error: no matching function for call to ‘move()’
static_cast<_Inherited&>(this) = std::move(__in);
^
In file included from /usr/include/c++/6/bits/stl_pair.h:59:0,
from /usr/include/c++/6/utility:70,
from /usr/include/c++/6/algorithm:60,
from SNAPLib/stdafx.h:13,
from SNAPLib/AlignerContext.cpp:26:
/usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^~~~
/usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
from /usr/include/c++/6/map:61,
from SNAPLib/Util.h:3,
from SNAPLib/VariableSizeVector.h:3,
from SNAPLib/VariableSizeMap.h:5,
from SNAPLib/DataReader.h:26,
from SNAPLib/Read.h:30,
from SNAPLib/AlignerOptions.h:30,
from SNAPLib/AlignerContext.cpp:29:
/usr/include/c++/6/tuple:1178:50: note: candidate expects 1 argument, 0 provided
static_cast<_Inherited&>( this) = std::move(in);
^
In file included from /usr/include/c++/6/algorithm:61:0,
from SNAPLib/stdafx.h:13,
from SNAPLib/AlignerContext.cpp:26:
/usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II first, _II last, _OI result)
^~~~
/usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
from /usr/include/c++/6/map:61,
from SNAPLib/Util.h:3,
from SNAPLib/VariableSizeVector.h:3,
from SNAPLib/VariableSizeMap.h:5,
from SNAPLib/DataReader.h:26,
from SNAPLib/Read.h:30,
from SNAPLib/AlignerOptions.h:30,
from SNAPLib/AlignerContext.cpp:29:
/usr/include/c++/6/tuple:1178:50: note: candidate expects 3 arguments, 0 provided
static_cast<_Inherited&>(*this) = std::move(in);
^
/usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&)’:
/usr/include/c++/6/tuple:1186:42: error: expected primary-expression before ‘;’ token
static_cast<_Inherited&>(this) = __in;
^
/usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&)’:
/usr/include/c++/6/tuple:1194:52: error: no matching function for call to ‘move()’
static_cast<_Inherited&>(this) = std::move(__in);
^
In file included from /usr/include/c++/6/bits/stl_pair.h:59:0,
from /usr/include/c++/6/utility:70,
from /usr/include/c++/6/algorithm:60,
from SNAPLib/stdafx.h:13,
from SNAPLib/AlignerContext.cpp:26:
/usr/include/c++/6/bits/move.h:101:5: note: candidate: template constexpr typename std::remove_reference< >::type&& std::move(_Tp&&)
move(_Tp&& t) noexcept
^~~~
/usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
from /usr/include/c++/6/map:61,
from SNAPLib/Util.h:3,
from SNAPLib/VariableSizeVector.h:3,
from SNAPLib/VariableSizeMap.h:5,
from SNAPLib/DataReader.h:26,
from SNAPLib/Read.h:30,
from SNAPLib/AlignerOptions.h:30,
from SNAPLib/AlignerContext.cpp:29:
/usr/include/c++/6/tuple:1194:52: note: candidate expects 1 argument, 0 provided
static_cast<_Inherited&>(this) = std::move(in);
^
In file included from /usr/include/c++/6/algorithm:61:0,
from SNAPLib/stdafx.h:13,
from SNAPLib/AlignerContext.cpp:26:
/usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II first, _II __last, _OI __result)
^~~~
/usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
from /usr/include/c++/6/map:61,
from SNAPLib/Util.h:3,
from SNAPLib/VariableSizeVector.h:3,
from SNAPLib/VariableSizeMap.h:5,
from SNAPLib/DataReader.h:26,
from SNAPLib/Read.h:30,
from SNAPLib/AlignerOptions.h:30,
from SNAPLib/AlignerContext.cpp:29:
/usr/include/c++/6/tuple:1194:52: note: candidate expects 3 arguments, 0 provided
static_cast<_Inherited&>(this) = std::move(in);
^
/usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&)’:
/usr/include/c++/6/tuple:1202:31: error: expected primary-expression before ‘.’ token
this->_M_head(*this) = in.first;
^
/usr/include/c++/6/tuple:1203:46: error: expected primary-expression before ‘.’ token
this->_M_tail(this)._M_head(this) = in.second;
^
/usr/include/c++/6/tuple: In member function ‘std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&)’:
/usr/include/c++/6/tuple:1211:49: error: expected primary-expression before ‘.’ token
this->_M_head(this) = std::forward<_U1>(__in.first);
^
/usr/include/c++/6/tuple:1212:64: error: expected primary-expression before ‘.’ token
this->_M_tail(this)._M_head(*this) = std::forward<_U2>(in.second);
^