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

on gcc 7.2.0 on my linux distribution with json-c 2013-04-02 source #377

Closed
Rodartist opened this issue Nov 19, 2017 · 1 comment
Closed

Comments

@Rodartist
Copy link

there were errors : which i had to edit a few files for to get it to go
i think these are the main errors where // fallthrough, // -fallthrough, or //fallthrough would have it compiling

json_object.c
line 548 if (json_parse_int64(jso->o.c_string.str, &cint) == 0) return cint; //
fallthrough
line 549
default: // fallthrough

line 608

    if(sscanf(jso->o.c_string.str, "%lf", &cdouble) == 1) return cdouble; // fal
lthrough

line 609
default: // fallthrough

i think thats all but it really got going once i figured to download the previous version rather than 0.12.1
though 0.12 use to be in this distribution before it was removed.

oh well. first time doing it was something new for me

@hawicz
Copy link
Member

hawicz commented Nov 27, 2017

Fixed by PR#365 (commit ddc97b2)

@hawicz hawicz closed this as completed Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants