Bug 1030256

Summary: json-c fails to build with GCC 7
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Martin Liška <martin.liska>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dimstar
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://build.opensuse.org/request/show/483312
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1030236    

Description Martin Liška 2017-03-21 09:10:33 UTC
[   38s] json_object.c: In function 'json_object_get_int64':
[   38s] json_object.c:554:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
[   38s]   if (json_parse_int64(jso->o.c_string.str, &cint) == 0) return cint;
[   38s]      ^
[   38s] json_object.c:555:3: note: here
[   38s]    default:
[   38s]    ^~~~~~~

There's upstream pull request for that:
https://github.com/json-c/json-c/pull/310
Comment 1 Dominique Leuenberger 2017-05-16 17:50:22 UTC
json-c with gcc7-fix.patch entered Tumbleweed on March 23.

closing (I'm sure the assignee won't mind - or he'll reopen)