Actions
Bug #9716
closedWarning in API headers when compiling with -Wstrict-prototypes
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Configuring qemu fails because of the compile errors:
/user/adamcrume/ceph-inst/include/rbd/../rados/librados.h:1882:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] /user/adamcrume/ceph-inst/include/rbd/../rados/librados.h:2123:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
By default, the qemu configure script uses -Wall and -Wstrict-prototypes. This can be worked around by configuring qemu with --disable-werror
The warnings are for:
rados_write_op_t rados_create_write_op(); rados_read_op_t rados_create_read_op();
Updated by Adam Crume over 9 years ago
Forgot to mention that qemu uses -Werror by default, hence the errors.
Updated by Adam Crume over 9 years ago
- Status changed from New to Fix Under Review
Updated by Josh Durgin over 9 years ago
- Status changed from Fix Under Review to Resolved
- Assignee set to Adam Crume
Actions