quark-project / quark

Quark cryptocurrency
http://www.qrknet.info/
MIT License
34 stars 40 forks source link

quark-0.10.6.3 on debian stretch #36

Open bhairavah opened 6 years ago

bhairavah commented 6 years ago

[...]

CXX libquark_common_a-chainparams.o chainparams.cpp: In constructor ‘CMainParams::CMainParams()’: chainparams.cpp:193:52: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’) base58Prefixes[PUBKEY_ADDRESS] = list_of(58); ^ In file included from /usr/include/c++/6/vector:69:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(vector&& x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(initializer_list l) ^~~~ chainparams.cpp:194:51: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’) base58Prefixes[SCRIPT_ADDRESS] = list_of(9); ^ In file included from /usr/include/c++/6/vector:69:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(vector&& x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(initializer_list l) ^~~~ chainparams.cpp:195:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’) base58Prefixes[SECRET_KEY] = list_of(186); ^ In file included from /usr/include/c++/6/vector:69:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(vector&& x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(initializer_list l) ^~~~ chainparams.cpp:196:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’) base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xB2)(0x1E); ^ In file included from /usr/include/c++/6/vector:69:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(vector&& x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(initializer_list l) ^~~~ chainparams.cpp:197:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’) base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x88)(0xAD)(0xE4); ^ In file included from /usr/include/c++/6/vector:69:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(vector&& x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(initializer_list l) ^~~~ chainparams.cpp: In constructor ‘CTestNetParams::CTestNetParams()’: chainparams.cpp:258:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’) base58Prefixes[PUBKEY_ADDRESS] = list_of(119); ^ In file included from /usr/include/c++/6/vector:69:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(vector&& x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(initializer_list l) ^~~~ chainparams.cpp:259:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’) base58Prefixes[SCRIPT_ADDRESS] = list_of(199); ^ In file included from /usr/include/c++/6/vector:69:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(vector&& x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(initializer_list l) ^~~~ chainparams.cpp:260:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’) base58Prefixes[SECRET_KEY] = list_of(247); ^ In file included from /usr/include/c++/6/vector:69:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(vector&& x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(initializer_list l) ^~~~ chainparams.cpp:261:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’) base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x35)(0x87)(0xCF); ^ In file included from /usr/include/c++/6/vector:69:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(vector&& x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(initializer_list l) ^~~~ chainparams.cpp:262:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’) base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94); ^ In file included from /usr/include/c++/6/vector:69:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from chainparamsbase.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(vector&& x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator] operator=(initializer_list l) ^~~~ At global scope: cc1plus: warning: unrecognized command line option ‘-Wno-self-assign’ Makefile:3325: recipe for target 'libquark_common_a-chainparams.o' failed make[2]: [libquark_common_a-chainparams.o] Error 1 make[2]: Leaving directory '/root/Work/quark-0.10.6.3/src' Makefile:6646: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/root/Work/quark-0.10.6.3/src' Makefile:573: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

bortkiewicz commented 6 years ago

Me too

dziubak commented 5 years ago

And me too