Snippets for freeipmi 1.6.19 from Alpine armhf
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armhf/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> | ^~~~~~~ -
ipmidetectd.c:620:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 620 | len = snprintf (buf, IPMIDETECTD_BUFLEN, "%s %lu\n", info->hostname, info->last_received.tv_sec); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int time_t {aka long long int} | %llu