Hi Rainer,

building of the new stable 8.4.1 on openSUSE with json-c 0.11 and 0.12 is
working - you are right there are some warnings regarding json-c:

https://build.opensuse.org/build/security:logging:elma:devel/openSUSE_13.1/x86_64/rsyslog/_log

[  201s] msg.c: In function 'getJSONPropVal':
[  201s] msg.c:2747:3: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
[-Wdeprecated-declarations]
[  201s]    field = json_object_object_get(parent, (char*)leaf);
[  201s]    ^
[  201s] msg.c: In function 'msgGetJSONPropJSON':
[  201s] msg.c:2800:2: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
[-Wdeprecated-declarations]
[  201s]   *pjson = json_object_object_get(parent, (char*)leaf);
[  201s]   ^
[  201s] msg.c: In function 'jsonPathFindNext':
[  201s] msg.c:4164:3: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
[-Wdeprecated-declarations]
[  201s]    json = json_object_object_get(root, (char*)namebuf);
[  201s]    ^
[  201s] msg.c: In function 'jsonFind':
[  201s] msg.c:4233:3: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
[-Wdeprecated-declarations]
[  201s]    field = json_object_object_get(parent, (char*)leaf);
[  201s]    ^
[  201s] msg.c: In function 'msgAddJSON':
[  201s] msg.c:4278:3: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
[-Wdeprecated-declarations]
[  201s]    leafnode = json_object_object_get(parent, (char*)leaf);
[  201s]    ^
[  201s] msg.c: In function 'msgDelJSON':
[  201s] msg.c:4353:3: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
[-Wdeprecated-declarations]
[  201s]    leafnode = json_object_object_get(parent, (char*)leaf);
[  201s]    ^

https://build.opensuse.org/build/security:logging:elma/openSUSE_13.1/x86_64/json-c/_log

test_charcase.o test_charcase.c
[   41s] test_cast.c: In function 'getit':
[   41s] test_cast.c:68:9: warning: 'json_object_object_get' is
deprecated (declared at ../json_object.h:290)
[-Wdeprecated-declarations]
[   41s]   struct json_object *o = json_object_object_get(new_obj, field);
[   41s]          ^
[   41s] test_cast.c: In function 'checktype':
[   41s] test_cast.c:96:9: warning: 'json_object_object_get' is
deprecated (declared at ../json_object.h:290)
[-Wdeprecated-declarations]
[   41s]   struct json_object *o = field ?
json_object_object_get(new_obj, field) : new_obj;
[   41s]          ^

Cheers

Joerg
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to