Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: Linux
Platform: PC
-
975
Description
VTN coodinator could not be built on Fedora 20.
In file included from include/http_client.hh:17:0,
from include/rest_client.hh:13,
from rest_client.cc:11:
include/json_build_parse.hh: In static member function 'static int unc::restjson::JsonBuildParse::parse(json_object*, const string&, int, T&)':
include/json_build_parse.hh:132:19: error: 'json_object* json_object_object_get(json_object*, const char*)' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Werror=deprecated-declarations]
jobj_getval = json_object_object_get(jobj_array, key.c_str());
^
include/json_build_parse.hh:134:19: error: 'json_object* json_object_object_get(json_object*, const char*)' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Werror=deprecated-declarations]
jobj_getval = json_object_object_get(jobj, key.c_str());
^