Closed mljsimone closed 10 years ago
/bin/sh ../share/genbuild.sh obj/build.h g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/dogecoin/src -I/root/dogecoin/src/obj -DUSE_IPV6=1 -I/root/dogecoin/src/leveldb/include -I/root/dogecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/rpcmining.d -o obj/rpcmining.o rpcmining.cpp rpcmining.cpp: In function 'json_spirit::Value getmininginfo(const Array&, bool)': rpcmining.cpp:154:67: error: conversion from 'uint64_t {aka long unsigned int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous obj.push_back(Pair("currentblocksize",(uint64_t)nLastBlockSize)); ^ rpcmining.cpp:154:67: note: candidates are: In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'uint64_t {aka long unsigned int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value ) ^ rpcmining.cpp:155:63: error: conversion from 'uint64_t {aka long unsigned int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous obj.push_back(Pair("currentblocktx",(uint64_t)nLastBlockTx)); ^ rpcmining.cpp:155:63: note: candidates are: In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'uint64_t {aka long unsigned int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value ) ^ rpcmining.cpp:162:65: error: conversion from 'long unsigned int' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous obj.push_back(Pair("pooledtx", (uint64_t)mempool.size())); ^ rpcmining.cpp:162:64: note: candidates are: obj.push_back(Pair("pooledtx", (uint64_t)mempool.size())); ^ In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'long unsigned int' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value ) ^ rpcmining.cpp: In function 'json_spirit::Value getblocktemplate(const Array&, bool)': rpcmining.cpp:523:59: error: conversion from 'std::map<uint256, long int>::mapped_type {aka long int}' to 'const value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous deps.push_back(setTxIndex[in.prevout.hash]); ^ rpcmining.cpp:523:59: note: candidates are: In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'std::map<uint256, long int>::mapped_type {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' In file included from /usr/include/c++/4.8.2/vector:64:0, from bignum.h:10, from main.h:9, from rpcmining.cpp:7: /usr/include/c++/4.8.2/bits/stl_vector.h:901:7: error: initializing argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >; _Alloc = std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > > >; std::vector<_Tp, _Alloc>::value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' push_back(const value_type& __x) ^ rpcmining.cpp:528:79: error: conversion from 'long int' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous entry.push_back(Pair("fee", pblocktemplate->vTxFees[index_in_template])); ^ rpcmining.cpp:528:79: note: candidates are: In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'long int' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value ) ^ rpcmining.cpp:529:84: error: conversion from 'long int' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous entry.push_back(Pair("sigops", pblocktemplate->vTxSigOps[index_in_template])); ^ rpcmining.cpp:529:84: note: candidates are: In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'long int' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value ) ^ rpcmining.cpp:552:82: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous result.push_back(Pair("coinbasevalue", (int64_t)pblock->vtx[0].vout[0].nValue)); ^ rpcmining.cpp:552:82: note: candidates are: In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'int64_t {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value ) ^ rpcmining.cpp:554:80: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous result.push_back(Pair("mintime", (int64_t)pindexPrev->GetMedianTimePast()+1)); ^ rpcmining.cpp:554:78: note: candidates are: result.push_back(Pair("mintime", (int64_t)pindexPrev->GetMedianTimePast()+1)); ^ In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'int64_t {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value ) ^ rpcmining.cpp:557:66: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous result.push_back(Pair("sigoplimit", (int64_t)MAX_BLOCK_SIGOPS)); ^ rpcmining.cpp:557:66: note: candidates are: In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'int64_t {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value ) ^ rpcmining.cpp:558:63: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous result.push_back(Pair("sizelimit", (int64_t)MAX_BLOCK_SIZE)); ^ rpcmining.cpp:558:63: note: candidates are: In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'int64_t {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value ) ^ rpcmining.cpp:559:60: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous result.push_back(Pair("curtime", (int64_t)pblock->nTime)); ^ rpcmining.cpp:559:60: note: candidates are: In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( double value ) ^ json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int] Value_impl< Config >::Value_impl( boost::uint64_t value ) ^ json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int] Value_impl< Config >::Value_impl( boost::int64_t value ) ^ json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( int value ) ^ json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string] Value_impl< Config >::Value_impl( bool value ) ^ json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char] Value_impl< Config >::Value_impl( const Const_str_ptr value ) ^ json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'int64_t {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}' json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]' Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value ) ^ rpcmining.cpp:561:69: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous result.push_back(Pair("height", (int64_t)(pindexPrev->nHeight+1))); ^ rpcmining.cpp:561:69: note: candidates are: In file included from json/json_spirit_reader_template.h:9:0, from bitcoinrpc.h:17, from rpcmining.cpp:10: json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string
/bin/sh ../share/genbuild.sh obj/build.h g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/dogecoin/src -I/root/dogecoin/src/obj -DUSE_IPV6=1 -I/root/dogecoin/src/leveldb/include -I/root/dogecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/rpcmining.d -o obj/rpcmining.o rpcmining.cpp rpcmining.cpp: In function 'json_spirit::Value getmininginfo(const Array&, bool)': rpcmining.cpp:154:67: error: conversion from 'uint64_t {aka long unsigned int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
obj.push_back(Pair("currentblocksize",(uint64_t)nLastBlockSize));
^
rpcmining.cpp:154:67: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'uint64_t {aka long unsigned int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value )
^
rpcmining.cpp:155:63: error: conversion from 'uint64_t {aka long unsigned int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
obj.push_back(Pair("currentblocktx",(uint64_t)nLastBlockTx));
^
rpcmining.cpp:155:63: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'uint64_t {aka long unsigned int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value )
^
rpcmining.cpp:162:65: error: conversion from 'long unsigned int' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
obj.push_back(Pair("pooledtx", (uint64_t)mempool.size()));
^
rpcmining.cpp:162:64: note: candidates are:
obj.push_back(Pair("pooledtx", (uint64_t)mempool.size()));
^
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'long unsigned int' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value )
^
rpcmining.cpp: In function 'json_spirit::Value getblocktemplate(const Array&, bool)':
rpcmining.cpp:523:59: error: conversion from 'std::map<uint256, long int>::mapped_type {aka long int}' to 'const value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
deps.push_back(setTxIndex[in.prevout.hash]);
^
rpcmining.cpp:523:59: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'std::map<uint256, long int>::mapped_type {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
In file included from /usr/include/c++/4.8.2/vector:64:0,
from bignum.h:10,
from main.h:9,
from rpcmining.cpp:7:
/usr/include/c++/4.8.2/bits/stl_vector.h:901:7: error: initializing argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >; _Alloc = std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > > >; std::vector<_Tp, _Alloc>::value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
push_back(const value_type& __x)
^
rpcmining.cpp:528:79: error: conversion from 'long int' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
entry.push_back(Pair("fee", pblocktemplate->vTxFees[index_in_template]));
^
rpcmining.cpp:528:79: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'long int' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value )
^
rpcmining.cpp:529:84: error: conversion from 'long int' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
entry.push_back(Pair("sigops", pblocktemplate->vTxSigOps[index_in_template]));
^
rpcmining.cpp:529:84: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'long int' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value )
^
rpcmining.cpp:552:82: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
result.push_back(Pair("coinbasevalue", (int64_t)pblock->vtx[0].vout[0].nValue));
^
rpcmining.cpp:552:82: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'int64_t {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value )
^
rpcmining.cpp:554:80: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
result.push_back(Pair("mintime", (int64_t)pindexPrev->GetMedianTimePast()+1));
^
rpcmining.cpp:554:78: note: candidates are:
result.push_back(Pair("mintime", (int64_t)pindexPrev->GetMedianTimePast()+1));
^
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'int64_t {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value )
^
rpcmining.cpp:557:66: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
result.push_back(Pair("sigoplimit", (int64_t)MAX_BLOCK_SIGOPS));
^
rpcmining.cpp:557:66: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'int64_t {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value )
^
rpcmining.cpp:558:63: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
result.push_back(Pair("sizelimit", (int64_t)MAX_BLOCK_SIZE));
^
rpcmining.cpp:558:63: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'int64_t {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value )
^
rpcmining.cpp:559:60: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
result.push_back(Pair("curtime", (int64_t)pblock->nTime));
^
rpcmining.cpp:559:60: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( double value )
^
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(boost::uint64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::uint64_t = long long unsigned int]
Value_impl< Config >::Value_impl( boost::uint64_t value )
^
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(boost::int64_t) [with Config = json_spirit::Config_vectorstd::basic_string; boost::int64_t = long long int]
Value_impl< Config >::Value_impl( boost::int64_t value )
^
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( int value )
^
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vectorstd::basic_string]
Value_impl< Config >::Value_impl( bool value )
^
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Value_impl::Const_strptr = const char]
Value_impl< Config >::Value_impl( const Const_str_ptr value )
^
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from 'int64_t {aka long int}' to 'json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >::Const_strptr {aka const char}'
json/json_spirit_value.h:439:5: error: initializing argument 2 of 'json_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vectorstd::basic_string; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >]'
Pair_impl< Config >::Pair_impl( const String_type& name, const Value_type& value )
^
rpcmining.cpp:561:69: error: conversion from 'int64_t {aka long int}' to 'const Value_type {aka const json_spirit::Value_impl<json_spirit::Config_vector<std::basic_string > >}' is ambiguous
result.push_back(Pair("height", (int64_t)(pindexPrev->nHeight+1)));
^
rpcmining.cpp:561:69: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:17,
from rpcmining.cpp:10:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vectorstd::basic_string