Snippets for freeipmi 1.6.19 from Alpine x86_64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86_64/community/freeipmi/freeipmi-1.6.19-r0.log.
-
fi_hostlist.c:102:46: warning: comparison between pointer and zero character constant [-Wpointer-compare] 102 | while (**str != '\0' && strchr(sep, **str) != '\0') | ^~ -
fi_hostlist.c:118:48: warning: comparison between pointer and zero character constant [-Wpointer-compare] 118 | while (**str != '\0' && strchr(sep, **str) == '\0') | ^~ -
fi_hostlist.c:123:46: warning: comparison between pointer and zero character constant [-Wpointer-compare] 123 | while (**str != '\0' && strchr(sep, **str) != '\0') | ^~ -
hostlist.c:392:48: warning: comparison between pointer and zero character constant [-Wpointer-compare] 392 | while (**str != '\0' && strchr(sep, **str) != '\0') | ^~ -
hostlist.c:408:52: warning: comparison between pointer and zero character constant [-Wpointer-compare] 408 | while (**str != '\0' && strchr(sep, **str) == '\0') | ^~ -
hostlist.c:413:48: warning: comparison between pointer and zero character constant [-Wpointer-compare] 413 | while (**str != '\0' && strchr(sep, **str) != '\0') | ^~ -
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] 1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h> | ^~~~~~~ -
ipmi-locate.c:102:15: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 102 | printf ("BMC memory base address: 0x" FI_64 "X\n", info->driver_address); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} -
ipmi-locate.c:105:15: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 105 | printf ("BMC I/O base address: 0x" FI_64 "X\n", info->driver_address); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int}