Bug 1084633 - GCC 8: yp-tools build fails
GCC 8: yp-tools build fails
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Thorsten Kukuk
E-mail List
:
Depends on:
Blocks: 1084649
  Show dependency treegraph
 
Reported: 2018-03-09 10:02 UTC by Martin Liška
Modified: 2018-03-27 15:10 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Liška 2018-03-09 10:02:28 UTC
Build the package with GCC 8, there's error:

[   39s] ypset.c:145:6: error: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Werror=cast-function-type]

Please build the project as follows to reproduce the issue:
osc build --alternative-project=openSUSE:Factory:Staging:Gcc7
Comment 1 Thorsten Kukuk 2018-03-27 13:52:05 UTC
Lowered warnings
Comment 2 Swamp Workflow Management 2018-03-27 15:10:05 UTC
This is an autogenerated message for OBS integration:
This bug (1084633) was mentioned in
https://build.opensuse.org/request/show/591643 Factory / yp-tools