I get the following error using the following command:
make -f makefile.unix test
test@test:~/zcoin-0.8.8.0-mtptest/src$ make -f makefile.unix
Building LevelDB ...
make[1]: Entering directory '/home/test/zcoin-0.8.8.0-mtptest/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/builder.cc -o db/builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/c.cc -o db/c.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/dbformat.cc -o db/dbformat.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/db_impl.cc -o db/db_impl.o
^Cmake[1]: *** wait: No child processes. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes. Stop.
makefile.unix:196: recipe for target 'leveldb/libleveldb.a' failed
make: *** [leveldb/libleveldb.a] Interrupt
test@test:~/zcoin-0.8.8.0-mtptest/src$ make -f makefile.unix clean
rm -f zcoind test_zcoin
rm -f Lyra2Z/*.o
rm -f obj/*.o
rm -f obj-test/*.o
rm -f obj/*.P
rm -f obj-test/*.P
rm -f obj/build.h
cd leveldb && make clean || true
make[1]: Entering directory '/home/test/zcoin-0.8.8.0-mtptest/src/leveldb'
rm -f db_bench leveldbutil arena_test autocompact_test bloom_test c_test cache_test coding_test corruption_test crc32c_test db_test dbformat_test env_test filename_test filter_block_test issue178_test log_test memenv_test skiplist_test table_test version_edit_test version_set_test write_batch_test db_bench_sqlite3 db_bench_tree_db libleveldb.a libleveldb.so libleveldb.so.1 libleveldb.so.1.13 libmemenv.a */*.o */*/*.o ios-x86/*/*.o ios-arm/*/*.o build_config.mk
rm -rf ios-x86/* ios-arm/*
make[1]: Leaving directory '/home/test/zcoin-0.8.8.0-mtptest/src/leveldb'
test@test:~/zcoin-0.8.8.0-mtptest/src$ make -f makefile.unix test
g++ -c -DTEST_DATA_DIR=/home/test/zcoin-0.8.8.0-mtptest/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -MMD -MF obj-test/accounting_tests.d -o obj-test/accounting_tests.o test/accounting_tests.cpp
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
from /home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:13,
from /home/test/zcoin-0.8.8.0-mtptest/src/init.h:8,
from test/accounting_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In function ‘unsigned int GetSerializeSize(const block_with_offset*, int, int)’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:9: warning: unused variable ‘i’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:23: warning: unused variable ‘k’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:52:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from /home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:13,
from /home/test/zcoin-0.8.8.0-mtptest/src/init.h:8,
from test/accounting_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h: At global scope:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h:52:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination() const;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:54:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from /home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:13,
from /home/test/zcoin-0.8.8.0-mtptest/src/init.h:8,
from test/accounting_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Accumulator.h:61:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination() const;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:56:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from /home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:13,
from /home/test/zcoin-0.8.8.0-mtptest/src/init.h:8,
from test/accounting_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/CoinSpend.h:77:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination();
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
from /home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:13,
from /home/test/zcoin-0.8.8.0-mtptest/src/init.h:8,
from test/accounting_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CDataStream; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:789:41: required from ‘void Unserialize(Stream&, std::map<K, T, Pred, A>&, int, int) [with Stream = CDataStream; K = std::__cxx11::basic_string<char>; T = std::__cxx11::basic_string<char>; Pred = std::less<std::__cxx11::basic_string<char> >; A = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1171:22: required from ‘CDataStream& CDataStream::operator>>(T&) [with T = std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >]’
/home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:845:5: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
printf("nSizeRet : %llu \n MAX_SIZE : %llu", nSizeRet, MAX_SIZE);
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CAutoFile; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:631:41: required from ‘void Unserialize_impl(Stream&, std::vector<T, A>&, int, int, const false_type&) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>; boost::false_type = boost::integral_constant<bool, false>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:648:21: required from ‘void Unserialize(Stream&, std::vector<T, A>&, int, int) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = std::vector<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:807:5: required from ‘void CBlockUndo::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22: required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:853:24: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Serialize(Stream&, const block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16: required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5: required from ‘void CBlockHeader::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5: required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16: required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5: required from ‘void CBlock::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5: required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1290:20: required from ‘CAutoFile& CAutoFile::operator<<(const T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1592:21: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:159:27: warning: unused variable ‘k’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Unserialize(Stream&, block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5: required from ‘void CBlockHeader::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5: required from ‘void CBlock::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22: required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1613:24: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:195:27: warning: unused variable ‘k’ [-Wunused-variable]
int i = 0, r = 0, k = 0;
^
g++ -c -DTEST_DATA_DIR=/home/test/zcoin-0.8.8.0-mtptest/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -MMD -MF obj-test/canonical_tests.d -o obj-test/canonical_tests.o test/canonical_tests.cpp
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/key.h:11:0,
from test/canonical_tests.cpp:8:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In function ‘unsigned int GetSerializeSize(const block_with_offset*, int, int)’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:9: warning: unused variable ‘i’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:23: warning: unused variable ‘k’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
g++ -c -DTEST_DATA_DIR=/home/test/zcoin-0.8.8.0-mtptest/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -MMD -MF obj-test/util_tests.d -o obj-test/util_tests.o test/util_tests.cpp
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
from test/util_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In function ‘unsigned int GetSerializeSize(const block_with_offset*, int, int)’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:9: warning: unused variable ‘i’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:23: warning: unused variable ‘k’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:52:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from test/util_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h: At global scope:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h:52:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination() const;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:54:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from test/util_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Accumulator.h:61:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination() const;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:56:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from test/util_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/CoinSpend.h:77:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination();
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
from test/util_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CDataStream; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:789:41: required from ‘void Unserialize(Stream&, std::map<K, T, Pred, A>&, int, int) [with Stream = CDataStream; K = std::__cxx11::basic_string<char>; T = std::__cxx11::basic_string<char>; Pred = std::less<std::__cxx11::basic_string<char> >; A = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1171:22: required from ‘CDataStream& CDataStream::operator>>(T&) [with T = std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >]’
/home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:845:5: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
printf("nSizeRet : %llu \n MAX_SIZE : %llu", nSizeRet, MAX_SIZE);
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CAutoFile; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:631:41: required from ‘void Unserialize_impl(Stream&, std::vector<T, A>&, int, int, const false_type&) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>; boost::false_type = boost::integral_constant<bool, false>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:648:21: required from ‘void Unserialize(Stream&, std::vector<T, A>&, int, int) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = std::vector<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:807:5: required from ‘void CBlockUndo::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22: required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:853:24: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Serialize(Stream&, const block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16: required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5: required from ‘void CBlockHeader::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5: required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16: required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5: required from ‘void CBlock::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5: required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1290:20: required from ‘CAutoFile& CAutoFile::operator<<(const T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1592:21: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:159:27: warning: unused variable ‘k’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Unserialize(Stream&, block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5: required from ‘void CBlockHeader::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5: required from ‘void CBlock::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22: required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1613:24: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:195:27: warning: unused variable ‘k’ [-Wunused-variable]
int i = 0, r = 0, k = 0;
^
g++ -c -DTEST_DATA_DIR=/home/test/zcoin-0.8.8.0-mtptest/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -MMD -MF obj-test/checkblock_tests.d -o obj-test/checkblock_tests.o test/checkblock_tests.cpp
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
from test/checkblock_tests.cpp:11:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In function ‘unsigned int GetSerializeSize(const block_with_offset*, int, int)’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:9: warning: unused variable ‘i’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:23: warning: unused variable ‘k’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:52:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from test/checkblock_tests.cpp:11:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h: At global scope:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h:52:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination() const;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:54:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from test/checkblock_tests.cpp:11:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Accumulator.h:61:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination() const;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:56:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from test/checkblock_tests.cpp:11:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/CoinSpend.h:77:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination();
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
from test/checkblock_tests.cpp:11:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CDataStream; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:789:41: required from ‘void Unserialize(Stream&, std::map<K, T, Pred, A>&, int, int) [with Stream = CDataStream; K = std::__cxx11::basic_string<char>; T = std::__cxx11::basic_string<char>; Pred = std::less<std::__cxx11::basic_string<char> >; A = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1171:22: required from ‘CDataStream& CDataStream::operator>>(T&) [with T = std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >]’
/home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:845:5: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
printf("nSizeRet : %llu \n MAX_SIZE : %llu", nSizeRet, MAX_SIZE);
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CAutoFile; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:631:41: required from ‘void Unserialize_impl(Stream&, std::vector<T, A>&, int, int, const false_type&) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>; boost::false_type = boost::integral_constant<bool, false>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:648:21: required from ‘void Unserialize(Stream&, std::vector<T, A>&, int, int) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = std::vector<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:807:5: required from ‘void CBlockUndo::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22: required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:853:24: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Serialize(Stream&, const block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16: required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5: required from ‘void CBlockHeader::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5: required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16: required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5: required from ‘void CBlock::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5: required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1290:20: required from ‘CAutoFile& CAutoFile::operator<<(const T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1592:21: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:159:27: warning: unused variable ‘k’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Unserialize(Stream&, block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5: required from ‘void CBlockHeader::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5: required from ‘void CBlock::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22: required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1613:24: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:195:27: warning: unused variable ‘k’ [-Wunused-variable]
int i = 0, r = 0, k = 0;
^
g++ -c -DTEST_DATA_DIR=/home/test/zcoin-0.8.8.0-mtptest/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -MMD -MF obj-test/transaction_tests.d -o obj-test/transaction_tests.o test/transaction_tests.cpp
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
from test/transaction_tests.cpp:6:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In function ‘unsigned int GetSerializeSize(const block_with_offset*, int, int)’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:9: warning: unused variable ‘i’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:23: warning: unused variable ‘k’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:52:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from test/transaction_tests.cpp:6:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h: At global scope:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h:52:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination() const;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:54:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from test/transaction_tests.cpp:6:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Accumulator.h:61:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination() const;
^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:56:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
from test/transaction_tests.cpp:6:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/CoinSpend.h:77:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const CoinDenomination getDenomination();
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from test/transaction_tests.cpp:3:
test/transaction_tests.cpp: In member function ‘void transaction_tests::tx_valid::test_method()’:
test/transaction_tests.cpp:70:58: error: no matching function for call to ‘CTransaction::CheckTransaction(CValidationState&)’
BOOST_CHECK_MESSAGE(tx.CheckTransaction(state), strTest);
^
In file included from test/transaction_tests.cpp:6:0:
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
^
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate expects 4 arguments, 1 provided
test/transaction_tests.cpp: In member function ‘void transaction_tests::tx_invalid::test_method()’:
test/transaction_tests.cpp:139:47: error: no matching function for call to ‘CTransaction::CheckTransaction(CValidationState&)’
fValid = tx.CheckTransaction(state) && state.IsValid();
^
In file included from test/transaction_tests.cpp:6:0:
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
^
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate expects 4 arguments, 1 provided
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from test/transaction_tests.cpp:3:
test/transaction_tests.cpp: In member function ‘void transaction_tests::basic_transaction_tests::test_method()’:
test/transaction_tests.cpp:166:50: error: no matching function for call to ‘CTransaction::CheckTransaction(CValidationState&)’
BOOST_CHECK_MESSAGE(tx.CheckTransaction(state) && state.IsValid(), "Simple deserialized transaction should be valid.")
^
In file included from test/transaction_tests.cpp:6:0:
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
^
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate expects 4 arguments, 1 provided
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from test/transaction_tests.cpp:3:
test/transaction_tests.cpp:170:51: error: no matching function for call to ‘CTransaction::CheckTransaction(CValidationState&)’
BOOST_CHECK_MESSAGE(!tx.CheckTransaction(state) || !state.IsValid(), "Transaction with duplicate txins should be inval
^
In file included from test/transaction_tests.cpp:6:0:
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
^
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate expects 4 arguments, 1 provided
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
from test/transaction_tests.cpp:6:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CDataStream; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:789:41: required from ‘void Unserialize(Stream&, std::map<K, T, Pred, A>&, int, int) [with Stream = CDataStream; K = std::__cxx11::basic_string<char>; T = std::__cxx11::basic_string<char>; Pred = std::less<std::__cxx11::basic_string<char> >; A = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1171:22: required from ‘CDataStream& CDataStream::operator>>(T&) [with T = std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >]’
/home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:845:5: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
printf("nSizeRet : %llu \n MAX_SIZE : %llu", nSizeRet, MAX_SIZE);
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CAutoFile; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:631:41: required from ‘void Unserialize_impl(Stream&, std::vector<T, A>&, int, int, const false_type&) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>; boost::false_type = boost::integral_constant<bool, false>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:648:21: required from ‘void Unserialize(Stream&, std::vector<T, A>&, int, int) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = std::vector<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:807:5: required from ‘void CBlockUndo::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22: required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:853:24: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Serialize(Stream&, const block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16: required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5: required from ‘void CBlockHeader::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5: required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16: required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5: required from ‘void CBlock::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5: required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1290:20: required from ‘CAutoFile& CAutoFile::operator<<(const T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1592:21: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:159:27: warning: unused variable ‘k’ [-Wunused-variable]
int i =0 , r = 0, k = 0;
^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Unserialize(Stream&, block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5: required from ‘void CBlockHeader::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18: required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5: required from ‘void CBlock::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5: required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22: required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1613:24: required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:195:27: warning: unused variable ‘k’ [-Wunused-variable]
int i = 0, r = 0, k = 0;
^
makefile.unix:247: recipe for target 'obj-test/transaction_tests.o' failed
make: *** [obj-test/transaction_tests.o] Error 1
Hi.
I get the following error using the following command:
Thanks.