Actions
Bug #759
closedclang warning of implicit conversion from enumeration
Start date:
03/10/2014
Due date:
% Done:
100%
Estimated time:
Description
CC kernel-consumer.lo kernel-consumer.c:564:15: warning: implicit conversion from enumeration type 'enum lttng_error_code' to different enumeration type 'enum lttcomm_return_code' [-Wenum-conversion] ret_code = LTTNG_ERR_KERN_CHAN_NOT_FOUND; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kernel-consumer.c:767:15: warning: implicit conversion from enumeration type 'enum lttng_error_code' to different enumeration type 'enum lttcomm_return_code' [-Wenum-conversion] ret_code = LTTNG_ERR_KERN_CHAN_NOT_FOUND; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kernel-consumer.c:818:15: warning: implicit conversion from enumeration type 'enum lttng_error_code' to different enumeration type 'enum lttcomm_return_code' [-Wenum-conversion] ret_code = LTTNG_ERR_NO_CONSUMER; ~ ^~~~~~~~~~~~~~~~~~~~~ kernel-consumer.c:877:16: warning: implicit conversion from enumeration type 'enum lttng_error_code' to different enumeration type 'enum lttcomm_return_code' [-Wenum-conversion] ret_code = LTTNG_ERR_KERN_META_FAIL; ~ ^~~~~~~~~~~~~~~~~~~~~~~~ kernel-consumer.c:887:16: warning: implicit conversion from enumeration type 'enum lttng_error_code' to different enumeration type 'enum lttcomm_return_code' [-Wenum-conversion] ret_code = LTTNG_ERR_KERN_CHAN_FAIL; ~ ^~~~~~~~~~~~~~~~~~~~~~~~ kernel-consumer.c:908:15: warning: implicit conversion from enumeration type 'enum lttng_error_code' to different enumeration type 'enum lttcomm_return_code' [-Wenum-conversion] ret_code = LTTNG_ERR_KERN_CHAN_NOT_FOUND; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated.
CC ust-consumer.lo ust-consumer.c:1148:15: warning: implicit conversion from enumeration type 'enum lttng_error_code' to different enumeration type 'enum lttcomm_return_code' [-Wenum-conversion] ret_code = LTTNG_ERR_NO_CONSUMER; ~ ^~~~~~~~~~~~~~~~~~~~~ ust-consumer.c:1329:15: warning: implicit conversion from enumeration type 'enum lttng_error_code' to different enumeration type 'enum lttcomm_return_code' [-Wenum-conversion] ret_code = LTTNG_ERR_UST_CHAN_NOT_FOUND; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ust-consumer.c:1485:16: warning: implicit conversion from enumeration type 'enum lttng_error_code' to different enumeration type 'enum lttcomm_return_code' [-Wenum-conversion] ret_code = LTTNG_ERR_UST_META_FAIL; ~ ^~~~~~~~~~~~~~~~~~~~~~~ ust-consumer.c:1495:16: warning: implicit conversion from enumeration type 'enum lttng_error_code' to different enumeration type 'enum lttcomm_return_code' [-Wenum-conversion] ret_code = LTTNG_ERR_UST_CHAN_FAIL; ~ ^~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated.
Updated by David Goulet over 10 years ago
- Status changed from Confirmed to Resolved
- % Done changed from 0 to 100
Applied in changeset aaf3353265ccc1ac562b71dbad1a7294eb11c116.
Actions