[ 80%] Building CXX object libweb3jsonrpc/CMakeFiles/web3jsonrpc.dir/AdminEth.cpp.o
/home/z/eth/c++/cpp-ethereum/libweb3jsonrpc/AdminEth.cpp: In member function ‘virtual Json::Value dev::rpc::AdminEth::admin_eth_vmTrace(const string&, int, const string&)’:
/home/z/eth/c++/cpp-ethereum/libweb3jsonrpc/AdminEth.cpp:217:17: error: ‘Json::Reader::Reader()’ is deprecated: Use CharReader and CharReaderBuilder instead [-Werror=deprecated-declarations]
Json::Reader().parse(st.json(), ret);
^
In file included from /usr/include/json/json.h:11,
from /usr/include/jsonrpccpp/common/jsonparser.h:13,
from /usr/include/jsonrpccpp/common/errors.h:16,
from /usr/include/jsonrpccpp/common/exception.h:17,
from /home/z/eth/c++/cpp-ethereum/libweb3jsonrpc/AdminEth.cpp:1:
/usr/include/json/reader.h:56:3: note: declared here
Reader();
[ 80%] Building CXX object libweb3jsonrpc/CMakeFiles/web3jsonrpc.dir/AdminEth.cpp.o
/home/z/eth/c++/cpp-ethereum/libweb3jsonrpc/AdminEth.cpp: In member function ‘virtual Json::Value dev::rpc::AdminEth::admin_eth_vmTrace(const string&, int, const string&)’:
/home/z/eth/c++/cpp-ethereum/libweb3jsonrpc/AdminEth.cpp:217:17: error: ‘Json::Reader::Reader()’ is deprecated: Use CharReader and CharReaderBuilder instead [-Werror=deprecated-declarations]
Json::Reader().parse(st.json(), ret);
^
In file included from /usr/include/json/json.h:11,
from /usr/include/jsonrpccpp/common/jsonparser.h:13,
from /usr/include/jsonrpccpp/common/errors.h:16,
from /usr/include/jsonrpccpp/common/exception.h:17,
from /home/z/eth/c++/cpp-ethereum/libweb3jsonrpc/AdminEth.cpp:1:
/usr/include/json/reader.h:56:3: note: declared here
Reader();
[ 80%] Building CXX object libweb3jsonrpc/CMakeFiles/web3jsonrpc.dir/AdminEth.cpp.o /home/z/eth/c++/cpp-ethereum/libweb3jsonrpc/AdminEth.cpp: In member function ‘virtual Json::Value dev::rpc::AdminEth::admin_eth_vmTrace(const string&, int, const string&)’: /home/z/eth/c++/cpp-ethereum/libweb3jsonrpc/AdminEth.cpp:217:17: error: ‘Json::Reader::Reader()’ is deprecated: Use CharReader and CharReaderBuilder instead [-Werror=deprecated-declarations]
In file included from /usr/include/json/json.h:11,
/usr/include/json/reader.h:56:3: note: declared here Reader();
fixed in current build