Anyone able to compile this on Linux? I am getting alot of errors:
In file included from netbase.h:10:0,
from util.h:30,
from bignum.h:12,
from main.h:8,
from db.h:8,
from init.cpp:5:
wallet.h: In member function âunsigned int CAccountingEntry::GetSerializeSize(int, int) constâ:
wallet.h:829:69: error: no matching function for call to âCDataStream::insert(CDataStream::iterator, std::vector::const_iterator, std::vector::const_iterator)â
ss.insert(ss.end(), _ssExtra.begin(), _ssExtra.end());
^
serialize.h:71:10: note: in definition of macro âIMPLEMENT_SERIALIZEâ
{statements} \
^
wallet.h:829:69: note: candidates are:
ss.insert(ss.end(), _ssExtra.begin(), _ssExtra.end());
^
serialize.h:71:10: note: in definition of macro âIMPLEMENT_SERIALIZEâ
{statements} \
^
In file included from netbase.h:10:0,
from util.h:30,
from bignum.h:12,
from main.h:8,
from db.h:8,
from init.cpp:5:
serialize.h:811:14: note: CDataStream::iterator CDataStream::insert(CDataStream::iterator, const char&)
iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); }
^
serialize.h:811:14: note: candidate expects 2 arguments, 3 provided
serialize.h:812:10: note: void CDataStream::insert(CDataStream::iterator, CDataStream::size_type, const char&)
void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); }
^
serialize.h:812:10: note: no known conversion for argument 2 from âstd::vector::const_iterator {aka __gnu_cxx::__normal_iterator >}â to âCDataStream::size_type {aka long unsigned int}â
serialize.h:814:10: note: void CDataStream::insert(CDataStream::iterator, CDataStream::const_iterator, CDataStream::const_iterator)
void insert(iterator it, const_iterator first, const_iterator last)
^
serialize.h:814:10: note: no known conversion for argument 2 from âstd::vector::const_iterator {aka __gnu_cxx::__normal_iterator >}â to âCDataStream::const_iterator {aka __gnu_cxx::__normal_iterator > >}â
serialize.h:848:10: note: void CDataStream::insert(CDataStream::iterator, const char*, const char*)
void insert(iterator it, const char* first, const char* last)
^
serialize.h:848:10: note: no known conversion for argument 2 from âstd::vector::const_iterator {aka __gnu_cxx::__normal_iterator >}â to âconst char*â
In file included from netbase.h:10:0,
from util.h:30,
from bignum.h:12,
from main.h:8,
from db.h:8,
from init.cpp:5:
wallet.h: In member function âvoid CAccountingEntry::Serialize(Stream&, int, int) constâ:
wallet.h:829:69: error: no matching function for call to âCDataStream::insert(CDataStream::iterator&, std::vector::const_iterator&, std::vector::const_iterator&)â
ss.insert(ss.end(), _ssExtra.begin(), _ssExtra.end());
^
serialize.h:83:10: note: in definition of macro âIMPLEMENT_SERIALIZEâ
{statements} \
^
wallet.h:829:69: note: candidates are:
ss.insert(ss.end(), _ssExtra.begin(), _ssExtra.end());
^
serialize.h:83:10: note: in definition of macro âIMPLEMENT_SERIALIZEâ
{statements} \
^
In file included from netbase.h:10:0,
from util.h:30,
from bignum.h:12,
from main.h:8,
from db.h:8,
from init.cpp:5:
serialize.h:811:14: note: CDataStream::iterator CDataStream::insert(CDataStream::iterator, const char&)
iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); }
^
serialize.h:811:14: note: candidate expects 2 arguments, 3 provided
serialize.h:812:10: note: void CDataStream::insert(CDataStream::iterator, CDataStream::size_type, const char&)
void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); }
^
serialize.h:812:10: note: no known conversion for argument 2 from âstd::vector::const_iterator {aka __gnu_cxx::__normal_iterator >}â to âCDataStream::size_type {aka long unsigned int}â
serialize.h:814:10: note: void CDataStream::insert(CDataStream::iterator, CDataStream::const_iterator, CDataStream::const_iterator)
void insert(iterator it, const_iterator first, const_iterator last)
^
serialize.h:814:10: note: no known conversion for argument 2 from âstd::vector::const_iterator {aka __gnu_cxx::__normal_iterator >}â to âCDataStream::const_iterator {aka __gnu_cxx::__normal_iterator > >}â
serialize.h:848:10: note: void CDataStream::insert(CDataStream::iterator, const char*, const char*)
void insert(iterator it, const char* first, const char* last)
^
serialize.h:848:10: note: no known conversion for argument 2 from âstd::vector::const_iterator {aka __gnu_cxx::__normal_iterator >}â to âconst char*â
In file included from netbase.h:10:0,
from util.h:30,
from bignum.h:12,
from main.h:8,
from db.h:8,
from init.cpp:5:
wallet.h: In member function âvoid CAccountingEntry::Unserialize(Stream&, int, int)â:
wallet.h:829:69: error: no matching function for call to âCDataStream::insert(CDataStream::iterator&, std::vector::iterator&, std::vector::iterator&)â
ss.insert(ss.end(), _ssExtra.begin(), _ssExtra.end());
^
serialize.h:94:10: note: in definition of macro âIMPLEMENT_SERIALIZEâ
{statements} \
^
wallet.h:829:69: note: candidates are:
ss.insert(ss.end(), _ssExtra.begin(), _ssExtra.end());
^
serialize.h:94:10: note: in definition of macro âIMPLEMENT_SERIALIZEâ
{statements} \
^
In file included from netbase.h:10:0,
from util.h:30,
from bignum.h:12,
from main.h:8,
from db.h:8,
from init.cpp:5:
serialize.h:811:14: note: CDataStream::iterator CDataStream::insert(CDataStream::iterator, const char&)
iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); }
^
serialize.h:811:14: note: candidate expects 2 arguments, 3 provided
serialize.h:812:10: note: void CDataStream::insert(CDataStream::iterator, CDataStream::size_type, const char&)
void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); }
^
serialize.h:812:10: note: no known conversion for argument 2 from âstd::vector::iterator {aka __gnu_cxx::__normal_iterator >}â to âCDataStream::size_type {aka long unsigned int}â
serialize.h:814:10: note: void CDataStream::insert(CDataStream::iterator, CDataStream::const_iterator, CDataStream::const_iterator)
void insert(iterator it, const_iterator first, const_iterator last)
^
serialize.h:814:10: note: no known conversion for argument 2 from âstd::vector::iterator {aka __gnu_cxx::__normal_iterator >}â to âCDataStream::const_iterator {aka __gnu_cxx::__normal_iterator > >}â
serialize.h:848:10: note: void CDataStream::insert(CDataStream::iterator, const char*, const char*)
void insert(iterator it, const char* first, const char* last)
^
serialize.h:848:10: note: no known conversion for argument 2 from âstd::vector::iterator {aka __gnu_cxx::__normal_iterator >}â to âconst char*â
make: *** [obj/init.o] Error 1