Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json module uses deprecated functions (trunk) #579

Closed
oej opened this issue Apr 21, 2016 · 1 comment
Closed

json module uses deprecated functions (trunk) #579

oej opened this issue Apr 21, 2016 · 1 comment
Labels

Comments

@oej
Copy link
Member

oej commented Apr 21, 2016

CC (gcc) [M json.so]        json_funcs.o
json_funcs.c:64:44: warning: 'json_object_object_get' is deprecated [-Wdeprecated-declarations]
        value = (char*)json_object_to_json_string(json_object_object_get(j, field_s.s));
                                                  ^
/usr/local/include/json-c/json_object.h:290:56: note: 'json_object_object_get' has been explicitly marked deprecated here
THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,

On os/X using clang compiler

@oej oej added the bug label Apr 21, 2016
miconda added a commit that referenced this issue Apr 25, 2016
miconda added a commit that referenced this issue Apr 25, 2016
- reported by Olle E. Johansson, GH #579

(cherry picked from commit 8b9fd4f)
@miconda
Copy link
Member

miconda commented Apr 25, 2016

Fixed in master and backported to 4.4.

@miconda miconda closed this as completed Apr 25, 2016
miconda added a commit that referenced this issue Jun 29, 2016
- reported by Olle E. Johansson, GH #579

(cherry picked from commit 8b9fd4f)
(cherry picked from commit 2700d7b)
miconda added a commit that referenced this issue Jul 4, 2016
- reported by Olle E. Johansson, GH #579

(cherry picked from commit 8b9fd4f)
(cherry picked from commit 2700d7b)
(cherry picked from commit b7ba974)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants