[Bugs] [Bug 1336513] changelog: compiler warning format string
bugzilla at redhat.com
bugzilla at redhat.com
Wed Apr 17 09:59:15 UTC 2019
https://bugzilla.redhat.com/show_bug.cgi?id=1336513
--- Comment #2 from Yaniv Kaul <ykaul at redhat.com> ---
ykaul at ykaul src]$ make
CC libgfchangelog_la-gf-changelog.lo
CC libgfchangelog_la-gf-changelog-journal-handler.lo
CC libgfchangelog_la-gf-changelog-helpers.lo
CC libgfchangelog_la-gf-changelog-api.lo
CC libgfchangelog_la-gf-history-changelog.lo
CC libgfchangelog_la-gf-changelog-rpc.lo
CC libgfchangelog_la-gf-changelog-reborp.lo
gf-changelog-reborp.c:396:35: warning: initialization of ‘int
(*)(rpcsvc_request_t *)’ {aka ‘int (*)(struct rpcsvc_request *)’} from ‘int’
makes pointer from integer without a cast [-Wint-conversion]
396 | CHANGELOG_REV_PROC_EVENT,
| ^~~~~~~~~~~~~~~~~~~~~~~~
gf-changelog-reborp.c:396:35: note: (near initialization for
‘gf_changelog_reborp_actors[1].actor’)
gf-changelog-reborp.c:397:35: warning: initialization of ‘int (*)(int, ssize_t
*, char *, char *)’ {aka ‘int (*)(int, long int *, char *, char *)’} from
incompatible pointer type ‘int (*)(rpcsvc_request_t *)’ {aka ‘int (*)(struct
rpcsvc_request *)’} [-Wincompatible-pointer-types]
397 | gf_changelog_reborp_handle_event,
NULL, 0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gf-changelog-reborp.c:397:35: note: (near initialization for
‘gf_changelog_reborp_actors[1].vector_sizer’)
gf-changelog-reborp.c:397:69: warning: initialization of ‘int’ from ‘void *’
makes integer from pointer without a cast [-Wint-conversion]
397 | gf_changelog_reborp_handle_event,
NULL, 0,
|
^~~~
gf-changelog-reborp.c:397:69: note: (near initialization for
‘gf_changelog_reborp_actors[1].procnum’)
CC libgfchangelog_la-changelog-rpc-common.lo
CCLD libgfchangelog.la
(As of e5ff6cc397e7a23dff4024efb6806cb004a89ee6 )
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Bugs
mailing list