>>> haproxy 2.1.4 Extracting mkdir -p /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host mkdir -p /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/target gzip -d -c /home/buildroot/autobuild/instance-1/dl/haproxy/haproxy-2.1.4.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/haproxy-2.1.4 -xf - >>> haproxy 2.1.4 Patching >>> haproxy 2.1.4 Configuring mkdir -p /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/host-skeleton/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/host-skeleton/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/openssl/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/openssl/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/pcre/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/pcre/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/skeleton/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/skeleton/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/toolchain/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/toolchain/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/zlib/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/zlib/host/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host mkdir -p /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/target rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/host-skeleton/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/host-skeleton/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/target rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/openssl/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/openssl/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/target rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/pcre/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/pcre/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/target rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/skeleton/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/skeleton/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/target rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/toolchain/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/toolchain/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/target rsync -a --link-dest=/home/buildroot/autobuild/instance-1/output-1/per-package/zlib/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/zlib/target/ /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/target >>> haproxy 2.1.4 Building PATH="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin:/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin:/home/buildroot/.local/bin" /usr/bin/make -j4 PATH="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin:/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin:/home/buildroot/.local/bin" AR="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-ar" AS="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-as" LD="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-ld" NM="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-nm" CC="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-gcc" GCC="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-gcc" CPP="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-cpp" CXX="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-g++" FC="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-gfortran" F77="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-gfortran" RANLIB="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-ranlib" READELF="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-readelf" STRIP="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-strip" OBJCOPY="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/m68k-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl LD=/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/bin/m68k-linux-gcc PREFIX=/usr TARGET=custom USE_THREAD=1 USE_OPENSSL=1 PCRE_CONFIG=/home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/m68k-buildroot-linux-uclibc/sysroot/usr/bin/pcre-config USE_PCRE=1 USE_ZLIB=1 ADDLIB="-latomic" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " -C /home/buildroot/autobuild/instance-1/output-1/build/haproxy-2.1.4 make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/haproxy-2.1.4' CC src/ev_poll.o CC src/ssl_sock.o CC src/mux_h2.o CC src/stream.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:38, from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/ev_poll.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/ssl_sock.c:46: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from src/ssl_sock.c:46: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/ssl_sock.c:46: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/ssl_sock.c:46: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/ssl_sock.c:46: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/ssl_sock.c:46: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/ev_poll.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/ev_poll.c: In function '_do_poll': src/ev_poll.c:178:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (fds = 0; (fds * 8*sizeof(**fd_evts)) < maxfd; fds++) { ^ src/ev_poll.c:185:57: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (count = 0, fd = fds * 8*sizeof(**fd_evts); count < 8*sizeof(**fd_evts) && fd < maxfd; count++, fd++) { ^ src/ev_poll.c:101:45: warning: unused parameter 'p' [-Wunused-parameter] REGPRM3 static void _do_poll(struct poller *p, int exp, int wake) ~~~~~~~~~~~~~~~^ src/ev_poll.c: In function '_do_test': src/ev_poll.c:310:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ~~~~~~~~~~~~~~~^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/h2.h:34, from src/mux_h2.c:16: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/common/hpack-dec.h:34, from src/mux_h2.c:17: include/common/hpack-tbl.h: In function 'hpack_valid_idx': include/common/hpack-tbl.h:161:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/mux_h2.c:23: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/stream.c:22: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/mux_h2.c:28: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/stream.c:38: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/cfgparse.h:27, from src/mux_h2.c:13: src/mux_h2.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct trace_source *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:379:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, trace_register_source, TRACE_SOURCE); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h2.c:382:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h2c, "h2c", sizeof(struct h2c)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h2.c:385:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h2s, "h2s", sizeof(struct h2s)); ^~~~~~~~~~~~~~~~~~~ In file included from include/proto/channel.h:32, from src/ssl_sock.c:70: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ src/mux_h2.c: In function 'h2_trace': src/mux_h2.c:492:39: warning: unused parameter 'where' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:492:63: warning: unused parameter 'func' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:493:82: warning: unused parameter 'a4' [-Wunused-parameter] const void *a1, const void *a2, const void *a3, const void *a4) ~~~~~~~~~~~~^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/mux_h2.c: In function 'h2_release_buf': src/mux_h2.c:697:47: warning: unused parameter 'h2c' [-Wunused-parameter] static inline void h2_release_buf(struct h2c *h2c, struct buffer *bptr) ~~~~~~~~~~~~^~~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/stream.c:41: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/mux_h2.c: In function 'h2_avail_streams': src/mux_h2.c:770:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] ret2 = h2c->stream_cnt <= srv->max_reuse ? srv->max_reuse - h2c->stream_cnt + 1: 0; ^~ In file included from src/ssl_sock.c:70: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/ssl_sock.c:71: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/mux_h2.c: In function 'h2_peek_frame_hdr': src/mux_h2.c:1150:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (b_data(b) < o + 9) ^ In file included from src/stream.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c: In function 'h2s_new': src/mux_h2.c:1351:2: warning: label 'out_free_h2s' defined but not used [-Wunused-label] out_free_h2s: ^~~~~~~~~~~~ In file included from src/stream.c:49: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:43:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ~~~~~~~~~~~~~^~~ In file included from src/ssl_sock.c:71: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: src/stream.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/stream.c:68:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_stream, "stream", sizeof(struct stream)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:260:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/stream.c:71:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(streams_lock); ^~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct trace_source *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:141:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, trace_register_source, TRACE_SOURCE); ^~~~~~~~~ src/stream.c: In function 'strm_trace': src/stream.c:147:41: warning: unused parameter 'level' [-Wunused-parameter] static void strm_trace(enum trace_level level, uint64_t mask, const struct trace_source *src, ~~~~~~~~~~~~~~~~~^~~~~ src/stream.c:147:57: warning: unused parameter 'mask' [-Wunused-parameter] static void strm_trace(enum trace_level level, uint64_t mask, const struct trace_source *src, ~~~~~~~~~^~~~ src/stream.c:148:27: warning: unused parameter 'where' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~~ src/stream.c:148:51: warning: unused parameter 'func' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~ src/stream.c:149:70: warning: unused parameter 'a4' [-Wunused-parameter] const void *a1, const void *a2, const void *a3, const void *a4) ~~~~~~~~~~~~^~ src/mux_h2.c: In function 'h2c_handle_settings': src/mux_h2.c:2024:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c:2028:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int32_t' {aka 'int'} [-Wsign-compare] for (offset = 0; offset < h2c->dfl; offset += 6) { ^ In file included from src/ssl_sock.c:85: include/proto/shctx.h: In function '_shctx_wait4lock': include/proto/shctx.h:93:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < *count; i++) { ^ include/proto/shctx.h:89:72: warning: unused parameter 'uaddr' [-Wunused-parameter] static inline void _shctx_wait4lock(unsigned int *count, unsigned int *uaddr, int value) ~~~~~~~~~~~~~~^~~~~ include/proto/shctx.h:89:83: warning: unused parameter 'value' [-Wunused-parameter] static inline void _shctx_wait4lock(unsigned int *count, unsigned int *uaddr, int value) ~~~~^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: src/ssl_sock.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/ssl_sock.c:225:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(ssl_sock_ctx_pool, "ssl_sock_ctx_pool", sizeof(struct ssl_sock_ctx)); ^~~~~~~~~~~~~~~~~~~ src/ssl_sock.c: In function 'ha_ssl_gets': src/ssl_sock.c:251:29: warning: unused parameter 'h' [-Wunused-parameter] static int ha_ssl_gets(BIO *h, char *buf, int size) ~~~~~^ src/ssl_sock.c:251:38: warning: unused parameter 'buf' [-Wunused-parameter] static int ha_ssl_gets(BIO *h, char *buf, int size) ~~~~~~^~~ src/ssl_sock.c:251:47: warning: unused parameter 'size' [-Wunused-parameter] static int ha_ssl_gets(BIO *h, char *buf, int size) ~~~~^~~~ src/ssl_sock.c: In function 'ha_ssl_ctrl': src/ssl_sock.c:284:30: warning: unused parameter 'h' [-Wunused-parameter] static long ha_ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2) ~~~~~^ src/ssl_sock.c:284:47: warning: unused parameter 'arg1' [-Wunused-parameter] static long ha_ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2) ~~~~~^~~~ src/ssl_sock.c:284:59: warning: unused parameter 'arg2' [-Wunused-parameter] static long ha_ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2) ~~~~~~^~~~ src/ssl_sock.c: In function 'ha_ssl_free': src/ssl_sock.c:304:29: warning: unused parameter 'data' [-Wunused-parameter] static int ha_ssl_free(BIO *data) ~~~~~^~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: src/ssl_sock.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:270:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_rwlock_init, &(lock)) ^~~~~~~~~ src/ssl_sock.c:419:1: note: in expansion of macro '__decl_rwlock' __decl_rwlock(ssl_ctx_lru_rwlock); ^~~~~~~~~~~~~ src/ssl_sock.c: In function 'ssl_async_fd_free': src/ssl_sock.c:560:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) ^ src/ssl_sock.c: In function 'ssl_async_process_fds': src/ssl_sock.c:591:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_del_fds ; i++) ^ src/ssl_sock.c:595:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ src/ssl_sock.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ src/mux_h2.c: In function 'h2c_handle_window_update': src/mux_h2.c:2308:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_handle_goaway': src/mux_h2.c:2381:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) { ^ src/mux_h2.c: In function 'h2c_handle_priority': src/mux_h2.c:2405:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) { ^ src/mux_h2.c:2410:32: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (h2_get_n32(&h2c->dbuf, 0) == h2c->dsi) { ^~ src/mux_h2.c: In function 'h2c_handle_rst_stream': src/mux_h2.c:2429:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) { ^ src/mux_h2.c: In function 'h2c_frt_handle_headers': src/mux_h2.c:2472:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/stream.c: In function 'process_sticking_rules': src/stream.c:1823:24: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/stream.c: In function 'process_store_rules': src/stream.c:1894:23: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/ssl_sock.c: In function 'ssl_sock_parse_sctl': src/ssl_sock.c:1378:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len + 2 != sctl->data) ^~ src/mux_h2.c: In function 'h2c_bck_handle_headers': src/mux_h2.c:2602:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/ssl_sock.c: In function 'ssl_sock_load_sctl_from_file': src/ssl_sock.c:1403:115: warning: unused parameter 'err' [-Wunused-parameter] static int ssl_sock_load_sctl_from_file(const char *sctl_path, char *buf, struct cert_key_and_chain *ckch, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_sock_sctl_add_cbk': src/ssl_sock.c:1463:32: warning: unused parameter 'ssl' [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ~~~~~^~~ src/ssl_sock.c:1463:46: warning: unused parameter 'ext_type' [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ~~~~~~~~~^~~~~~~~ src/ssl_sock.c:1463:104: warning: unused parameter 'al' [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ~~~~~^~ src/ssl_sock.c: In function 'ssl_sock_sctl_parse_cbk': src/ssl_sock.c:1473:34: warning: unused parameter 's' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~^ src/ssl_sock.c:1473:50: warning: unused parameter 'ext_type' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~~~~~~~^~~~~~~~ src/ssl_sock.c:1473:81: warning: unused parameter 'in' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:1473:92: warning: unused parameter 'inlen' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~^~~~~ src/ssl_sock.c:1473:104: warning: unused parameter 'al' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~^~ src/ssl_sock.c:1473:114: warning: unused parameter 'parse_arg' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~^~~~~~~~~ src/mux_h2.c: In function 'h2c_frt_handle_data': src/mux_h2.c:2687:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c:2698:62: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if ((h2s->flags & H2_SF_DATA_CLEN) && (h2c->dfl - h2c->dpl) > h2s->body_len) { ^ src/ssl_sock.c: In function 'ssl_sock_parse_clienthello': src/ssl_sock.c:1687:60: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] capture->ciphersuite_len = (global_ssl.capture_cipherlist < rec_len) ? ^ src/ssl_sock.c:1688:3: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] global_ssl.capture_cipherlist : rec_len; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ssl_sock.c:1586:50: warning: unused parameter 'version' [-Wunused-parameter] void ssl_sock_parse_clienthello(int write_p, int version, int content_type, ~~~~^~~~~~~ src/ssl_sock.c: In function 'ssl_sock_msgcbk': src/ssl_sock.c:1695:111: warning: unused parameter 'arg' [-Wunused-parameter] void ssl_sock_msgcbk(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg) ~~~~~~^~~ src/ssl_sock.c: In function 'ssl_sock_srv_select_protos': src/ssl_sock.c:1741:44: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_srv_select_protos(SSL *s, unsigned char **out, unsigned char *outlen, ~~~~~^ src/ssl_sock.c: In function 'ssl_sock_advertise_npn_protos': src/ssl_sock.c:1758:47: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_npn_protos(SSL *s, const unsigned char **data, ~~~~~^ src/ssl_sock.c: In function 'ssl_sock_advertise_alpn_protos': src/ssl_sock.c:1773:48: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_alpn_protos(SSL *s, const unsigned char **out, ~~~~~^ src/ssl_sock.c: In function 'ssl_sock_do_create_cert': src/ssl_sock.c:1794:83: warning: unused parameter 'ssl' [-Wunused-parameter] ssl_sock_do_create_cert(const char *servername, struct bind_conf *bind_conf, SSL *ssl) ~~~~~^~~ src/ssl_sock.c: In function 'ssl_sock_create_cert': src/ssl_sock.c:1941:84: warning: unused parameter 'key' [-Wunused-parameter] ssl_sock_create_cert(struct connection *conn, const char *servername, unsigned int key) ~~~~~~~~~~~~~^~~ src/ssl_sock.c: In function 'ctx_set_None_func': src/ssl_sock.c:2141:40: warning: unused parameter 'ctx' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ~~~~~~~~~^~~ src/ssl_sock.c:2141:62: warning: unused parameter 'c' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ~~~~~~~~~~~~~~~~~^ src/ssl_sock.c: In function 'ssl_set_None_func': src/ssl_sock.c:2142:36: warning: unused parameter 'ssl' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~^~~ src/ssl_sock.c:2142:58: warning: unused parameter 'c' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~~~~~~~~~~~~~^ src/ssl_sock.c: In function 'ssl_sock_switchctx_cbk': src/ssl_sock.c:2318:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < trash.size && i < servername_len; i++) { ^ src/ssl_sock.c:2318:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < trash.size && i < servername_len; i++) { ^ src/ssl_sock.c:2183:60: warning: unused parameter 'arg' [-Wunused-parameter] static int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *arg) ~~~~~~^~~ src/ssl_sock.c: In function 'ssl_get_tmp_dh': src/ssl_sock.c:2661:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (keylen > global_ssl.default_dh_param) { ^ src/ssl_sock.c:2646:41: warning: unused parameter 'export' [-Wunused-parameter] static DH *ssl_get_tmp_dh(SSL *ssl, int export, int keylen) ~~~~^~~~~~ src/ssl_sock.c: In function 'ckch_inst_add_cert_sni': src/ssl_sock.c:2747:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (j = 0; j < len && j < trash.size; j++) ^ src/ssl_sock.c:2749:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (j >= trash.size) ^~ src/ssl_sock.c:2727:52: warning: unused parameter 's' [-Wunused-parameter] struct bind_conf *s, struct ssl_bind_conf *conf, ~~~~~~~~~~~~~~~~~~^ src/stream.c: In function 'cli_parse_show_sess': src/stream.c:3578:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c:3578:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'ssl_sock_populate_sni_keytypes_hplr': src/ssl_sock.c:3460:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < trash.size; i++) { ^ src/mux_h2.c: In function 'h2_io_cb': src/mux_h2.c:3529:43: warning: unused parameter 't' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~^ src/stream.c: In function 'cli_parse_shutdown_session': src/mux_h2.c:3529:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ src/stream.c:3830:58: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c:3830:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c: In function 'cli_parse_shutdown_sessions_server': src/stream.c:3857:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c:3857:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c: At top level: src/stream.c:3877:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "sess", NULL }, "show sess [id] : report the list of current sessions or dump this session", cli_parse_show_sess, cli_io_handler_dump_sess, cli_release_show_sess }, ^ In file included from src/stream.c:28: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3878:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "shutdown", "session", NULL }, "shutdown session : kill a specific session", cli_parse_shutdown_session, NULL, NULL }, ^ In file included from src/stream.c:28: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3879:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "shutdown", "sessions", "server" }, "shutdown sessions server : kill sessions on a server", cli_parse_shutdown_sessions_server, NULL, NULL }, ^ In file included from src/stream.c:28: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3880:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stream.c:28: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3883:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/stream.c:3887:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "use-service", stream_parse_use_service }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3891:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &stream_tcp_keywords); ^~~~~~~~~ src/stream.c:3894:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "use-service", stream_parse_use_service }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3898:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &stream_http_keywords); ^~~~~~~~~ src/mux_h2.c: In function 'h2_timeout_task': src/mux_h2.c:3668:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h2.c: In function 'h2_ctl': src/mux_h2.c:3798:77: warning: unused parameter 'output' [-Wunused-parameter] static int h2_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ~~~~~~^~~~~~ CC src/mux_fcgi.o src/ssl_sock.c: In function 'sh_ssl_sess_new_cb': src/ssl_sock.c:4657:29: warning: unused parameter 'ssl' [-Wunused-parameter] int sh_ssl_sess_new_cb(SSL *ssl, SSL_SESSION *sess) ~~~~~^~~ src/ssl_sock.c: In function 'sh_ssl_sess_get_cb': src/ssl_sock.c:4713:38: warning: unused parameter 'ssl' [-Wunused-parameter] SSL_SESSION *sh_ssl_sess_get_cb(SSL *ssl, __OPENSSL_110_CONST__ unsigned char *key, int key_len, int *do_copy) ~~~~~^~~ src/mux_h2.c: In function 'h2_deferred_shut': src/mux_h2.c:4113:51: warning: unused parameter 't' [-Wunused-parameter] static struct task *h2_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~^ src/mux_h2.c:4113:80: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h2.c: In function 'h2_shutw': src/mux_h2.c:4158:63: warning: unused parameter 'mode' [-Wunused-parameter] static void h2_shutw(struct conn_stream *cs, enum cs_shw_mode mode) ~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c: In function 'h2c_decode_headers': src/mux_h2.c:4240:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) - hole < h2c->dfl) ^ src/mux_h2.c:4270:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (hdr.sid != h2c->dsi) { ^~ src/mux_h2.c:4289:12: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (clen > hdr.len) ^ src/mux_h2.c:4322:22: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (read_n32(hdrs) == h2c->dsi) { ^~ src/mux_h2.c:4424:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (b_data(&h2c->dbuf) > h2c->dfl + hole) ^ src/mux_h2.c:4430:37: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (b_full(&h2c->dbuf) && h2c->dfl >= b_data(&h2c->dbuf)) { ^~ src/mux_h2.c: In function 'h2_frt_transfer_data': src/mux_h2.c:4510:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block) ^ src/mux_h2.c:4515:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block) ^ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_frt_make_resp_headers': src/mux_h2.c:4639:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h2.c:4692:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ src/mux_h2.c:4719:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (outbuf.data > h2c->mfs + 9) { ^ src/ssl_sock.c: In function 'ssl_sock_handshake': src/ssl_sock.c:6178:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (global.ssl_be_keys_per_sec.curr_ctr > global.ssl_be_keys_max) ^ src/ssl_sock.c:6183:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (global.ssl_fe_keys_per_sec.curr_ctr > global.ssl_fe_keys_max) ^ src/ssl_sock.c: In function 'ssl_add_xprt': src/ssl_sock.c:6282:44: warning: unused parameter 'conn' [-Wunused-parameter] static int ssl_add_xprt(struct connection *conn, void *xprt_ctx, void *toadd_ctx, const struct xprt_ops *toadd_ops, void **oldxprt_ctx, const struct xprt_ops **oldxprt_ops) ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_bck_make_req_headers': src/mux_h2.c:4875:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/ssl_sock.c: In function 'ssl_sock_io_cb': src/ssl_sock.c:6311:49: warning: unused parameter 't' [-Wunused-parameter] static struct task *ssl_sock_io_cb(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~^ src/ssl_sock.c:6311:82: warning: unused parameter 'state' [-Wunused-parameter] static struct task *ssl_sock_io_cb(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:4966:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (len < uri.len && uri.ptr[len] != ':') ^ src/mux_h2.c:4969:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len + 2 < uri.len && uri.ptr[len + 1] == '/' && uri.ptr[len + 2] == '/') { ^ src/mux_h2.c:5036:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ src/ssl_sock.c: In function 'ssl_sock_to_buf': src/ssl_sock.c:6375:110: warning: unused parameter 'flags' [-Wunused-parameter] static size_t ssl_sock_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/mux_h2.c:5077:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (outbuf.data > h2c->mfs + 9) { ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_fcgi.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ src/ssl_sock.c: In function 'ssl_sock_close': In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_fcgi.c:13: include/common/chunk.h: In function 'chunk_initlen': src/ssl_sock.c:6674:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) { ^ include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/ssl_sock.c:6698:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) ^ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_frt_make_resp_data': src/mux_h2.c:5240:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (unlikely(fsize == count && ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h2.c:5252:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize + 9 <= b_room(mbuf) && ^~ src/mux_h2.c:5254:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (fsize <= b_size(mbuf) / 4 && fsize + 9 <= b_contig_space(mbuf)))) { ^~ src/mux_h2.c:5254:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (fsize <= b_size(mbuf) / 4 && fsize + 9 <= b_contig_space(mbuf)))) { ^~ src/ssl_sock.c: In function 'ssl_sock_get_serial': src/ssl_sock.c:6850:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < serial->length) ^ src/ssl_sock.c: In function 'ssl_sock_crt2der': src/ssl_sock.c:6872:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < len) ^ src/mux_h2.c:5344:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize > count) ^ src/ssl_sock.c: In function 'ssl_sock_get_time': src/ssl_sock.c:6895:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < gentm->length-2) ^ src/mux_h2.c:5353:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize + 9 > outbuf.size) { ^ src/mux_h2.c:5359:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (fsize + 9 <= b_room(mbuf)) && ^~ src/ssl_sock.c:6909:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < utctm->length) ^ src/ssl_sock.c: In function 'ssl_sock_get_dn_entry': src/ssl_sock.c:6969:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (data_len > out->size) ^ src/ssl_sock.c: In function 'ssl_sock_get_dn_oneline': src/ssl_sock.c:7018:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (l > out->size) ^ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_make_trailers': src/mux_h2.c:5493:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_fcgi.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/mux_h2.c:5574:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (outbuf.data > h2c->mfs + 9) { ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_fcgi.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/ssl_sock.c: In function 'ssl_sock_get_alpn': src/mux_h2.c:5594:2: warning: label 'done' defined but not used [-Wunused-label] done: ^~~~ src/ssl_sock.c:7163:55: warning: unused parameter 'conn' [-Wunused-parameter] static int ssl_sock_get_alpn(const struct connection *conn, void *xprt_ctx, const char **str, int *len) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_early': src/ssl_sock.c:7190:46: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7190:84: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7190:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_crt': In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_fcgi.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/ssl_sock.c:7215:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7215:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7215:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c: In function 'h2_rcv_buf': In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_fcgi.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/mux_h2.c:5714:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_rcv_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_der': src/ssl_sock.c:7243:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7243:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_serial': src/mux_h2.c: In function 'h2_snd_buf': src/ssl_sock.c:7289:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:5809:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/ssl_sock.c:7289:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c: In function 'h2_parse_header_table_size': src/mux_h2.c:6059:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sha1': src/mux_h2.c:6059:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6060:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:7336:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_sha1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:6060:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:7336:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_sha1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:6060:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/mux_h2.c: In function 'h2_parse_initial_window_size': src/mux_h2.c:6075:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h2.c:6075:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6076:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6076:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:6076:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notafter': src/mux_h2.c: In function 'h2_parse_max_concurrent_streams': src/ssl_sock.c:7383:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_notafter(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:6091:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:7383:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notafter(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:6091:89: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6092:58: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6092:77: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:6092:87: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/mux_h2.c: In function 'h2_parse_max_frame_size': src/mux_h2.c:6107:53: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h2.c:6107:81: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6108:50: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6108:69: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:6108:79: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/mux_h2.c:13: src/mux_h2.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct mux_proto_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:6152:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_h2); ^~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_i_dn': include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:6163:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/ssl_sock.c:7428:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_i_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notbefore': src/ssl_sock.c:7487:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_notbefore(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7487:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notbefore(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_s_dn': src/ssl_sock.c:7532:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_s_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_used': src/ssl_sock.c:7588:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7588:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7588:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_version': src/ssl_sock.c:7620:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_version(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7620:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_version(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sig_alg': src/ssl_sock.c:7658:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_sig_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7658:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_sig_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_key_alg': src/ssl_sock.c:7710:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_key_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7710:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_key_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc': src/ssl_sock.c:7761:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7761:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_sni': src/ssl_sock.c:7773:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7773:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7773:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_is_resumed': src/ssl_sock.c:7794:47: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_is_resumed(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7794:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_is_resumed(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cipher': src/ssl_sock.c:7813:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cipher(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7813:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cipher(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alg_keysize': src/ssl_sock.c:7841:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_alg_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7841:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alg_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_use_keysize': src/ssl_sock.c:7867:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7867:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_npn': src/ssl_sock.c:7889:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_npn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7889:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_npn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alpn': src/ssl_sock.c:7919:41: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7919:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_protocol': src/ssl_sock.c:7953:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_protocol(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7953:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_protocol(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_session_id': src/ssl_sock.c:7981:47: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_session_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7981:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_session_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_random': src/ssl_sock.c:8012:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_random(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8012:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_random(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_session_key': src/ssl_sock.c:8043:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_session_key(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8043:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_session_key(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_sni': src/ssl_sock.c:8076:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8076:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:8076:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_bin': src/ssl_sock.c:8099:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8099:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:8099:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_xxh64': src/ssl_sock.c:8137:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8137:83: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:8137:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_str': src/ssl_sock.c:8168:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i + 1 < smp->data.u.str.data; i += 2) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_unique_id': src/ssl_sock.c:8196:46: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_unique_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8196:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_unique_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err': src/ssl_sock.c:8237:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8237:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:8237:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err_depth': src/ssl_sock.c:8261:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_ca_err_depth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8261:86: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_ca_err_depth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:8261:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_ca_err_depth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_err': src/ssl_sock.c:8285:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8285:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:8285:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_verify': src/ssl_sock.c:8310:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_verify(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8310:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_verify(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:8310:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_verify(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'ssl_bind_parse_ca_file': src/ssl_sock.c:8336:75: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ca_file(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ca_sign_file': src/ssl_sock.c:8357:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ca_sign_file(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ca_sign_pass': src/ssl_sock.c:8374:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ca_sign_pass(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_ciphers': src/ssl_sock.c:8386:75: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ciphers(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_ciphersuites': src/ssl_sock.c:8404:80: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ciphersuites(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_crt': src/ssl_sock.c:8422:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_crt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_crl_file': src/ssl_sock.c:8461:76: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_crl_file(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_curves': src/ssl_sock.c:8488:74: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_curves(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_ecdhe': src/ssl_sock.c:8510:73: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ecdhe(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ignore_err': src/ssl_sock.c:8538:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ignore_err(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_tls_method_options': src/ssl_sock.c:8609:82: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tls_method_options(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_tls_method_options': src/ssl_sock.c:8614:82: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_method_options(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_tls_method_minmax': src/ssl_sock.c:8649:85: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_tls_method_minmax(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_tls_method_minmax': src/ssl_sock.c:8657:81: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tls_method_minmax(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_tls_method_minmax': src/ssl_sock.c:8662:81: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_method_minmax(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_no_tls_tickets': src/ssl_sock.c:8668:45: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8668:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8668:78: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8668:113: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_bind_parse_allow_0rtt': src/ssl_sock.c:8675:45: warning: unused parameter 'args' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8675:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8675:78: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8675:117: warning: unused parameter 'err' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_allow_0rtt': src/ssl_sock.c:8681:41: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8681:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8681:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8681:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_bind_parse_npn': src/ssl_sock.c:8688:71: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_npn(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_alpn': src/ssl_sock.c:8744:72: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_alpn(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ssl': src/ssl_sock.c:8800:34: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8800:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8800:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8800:102: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_pcc': src/ssl_sock.c:8822:34: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8822:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8822:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8822:102: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_generate_certs': src/ssl_sock.c:8829:45: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8829:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8829:78: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8829:113: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_strict_sni': src/ssl_sock.c:8841:41: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8841:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8841:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8841:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_fcgi.c:13: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/ssl_sock.c: In function 'bind_parse_tls_ticket_keys': src/ssl_sock.c:8848:79: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tls_ticket_keys(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_verify': src/ssl_sock.c:8968:74: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_verify(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_no_ca_names': src/ssl_sock.c:8997:46: warning: unused parameter 'args' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8997:56: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8997:79: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8997:118: warning: unused parameter 'err' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_npn': src/ssl_sock.c:9010:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_npn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_alpn': src/ssl_sock.c:9063:68: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_alpn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_ca_file': src/ssl_sock.c:9124:71: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ca_file(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_check_sni': src/ssl_sock.c:9141:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_check_sni(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_check_ssl': src/ssl_sock.c:9159:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9159:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9159:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9159:107: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_ciphers': src/ssl_sock.c:9179:71: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ciphers(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_ciphersuites': src/ssl_sock.c:9193:76: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ciphersuites(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_crl_file': src/ssl_sock.c:9207:72: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_crl_file(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_crt': src/ssl_sock.c:9230:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_crt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_no_check_ssl': src/ssl_sock.c:9247:42: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ In file included from src/mux_fcgi.c:17: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ src/ssl_sock.c:9247:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9247:76: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/ssl_sock.c:9247:110: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_send_proxy_ssl': src/ssl_sock.c:9257:47: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9257:58: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9257:81: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9257:115: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_send_proxy_cn': src/ssl_sock.c:9265:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9265:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9265:80: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_fcgi.c:26: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/ssl_sock.c:9265:114: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_ssl': src/ssl_sock.c:9274:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9274:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9274:70: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9274:104: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_allow_0rtt': src/ssl_sock.c:9283:40: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9283:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9283:74: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9283:108: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_ssl_reuse': src/ssl_sock.c:9290:42: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9290:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9290:76: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9290:110: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_tls_tickets': src/ssl_sock.c:9297:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9297:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9297:78: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9297:112: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_send_proxy_ssl': src/ssl_sock.c:9303:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9303:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ In file included from src/mux_fcgi.c:26: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ src/ssl_sock.c:9303:78: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:9303:112: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_send_proxy_cn': src/ssl_sock.c:9311:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9311:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9311:77: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9311:111: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_sni': src/ssl_sock.c:9320:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_sni(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_ssl': src/ssl_sock.c:9342:33: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ In file included from include/proto/stream_interface.h:32, from src/mux_fcgi.c:34: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/ssl_sock.c:9342:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/ssl_sock.c:9342:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9342:101: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_ssl_reuse': src/ssl_sock.c:9355:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9355:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9355:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9355:107: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_tls_tickets': src/ssl_sock.c:9362:41: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9362:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9362:75: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9362:109: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_verify': In file included from include/common/cfgparse.h:27, from src/mux_fcgi.c:13: src/mux_fcgi.c: At top level: src/ssl_sock.c:9369:70: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_verify(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct trace_source *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_fcgi.c:351:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, trace_register_source, TRACE_SOURCE); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_fcgi.c:354:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_fcgi_conn, "fcgi_conn", sizeof(struct fcgi_conn)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_fcgi.c:355:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_fcgi_strm, "fcgi_strm", sizeof(struct fcgi_strm)); ^~~~~~~~~~~~~~~~~~~ src/ssl_sock.c: In function 'srv_parse_verifyhost': src/ssl_sock.c:9392:74: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_verifyhost(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/mux_fcgi.c: In function 'fcgi_trace': src/mux_fcgi.c:419:41: warning: unused parameter 'level' [-Wunused-parameter] static void fcgi_trace(enum trace_level level, uint64_t mask, const struct trace_source *src, ~~~~~~~~~~~~~~~~~^~~~~ src/mux_fcgi.c:420:27: warning: unused parameter 'where' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~~ src/mux_fcgi.c:420:51: warning: unused parameter 'func' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~ src/mux_fcgi.c: In function 'fcgi_release_buf': src/mux_fcgi.c:619:55: warning: unused parameter 'fconn' [-Wunused-parameter] static inline void fcgi_release_buf(struct fcgi_conn *fconn, struct buffer *bptr) ~~~~~~~~~~~~~~~~~~^~~~~ src/mux_fcgi.c: In function 'fcgi_avail_streams': src/mux_fcgi.c:682:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] ret2 = ((fconn->stream_cnt <= srv->max_reuse) ? srv->max_reuse - fconn->stream_cnt + 1: 0); ^~ src/ssl_sock.c: In function 'ssl_parse_default_bind_options': src/ssl_sock.c:9407:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9407:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9408:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9408:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9408:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_default_server_options': src/ssl_sock.c:9439:62: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_default_server_options(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9439:90: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_default_server_options(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9440:59: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9440:78: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9440:88: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ca_crt_base': src/ssl_sock.c:9471:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ca_crt_base(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9471:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ca_crt_base(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9472:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9472:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9472:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_async': src/ssl_sock.c:9498:46: warning: unused parameter 'args' [-Wunused-parameter] static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx, ~~~~~~~^~~~ src/ssl_sock.c:9498:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9498:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9499:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9499:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9499:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c:9500:47: warning: unused parameter 'err' [-Wunused-parameter] char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_engine': src/mux_fcgi.c: In function 'fcgi_set_default_param': src/mux_fcgi.c:1336:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (len = 0; len < path.len && *(path.ptr + len) != '?'; len++); ^ src/ssl_sock.c:9526:57: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ssl_engine(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_fcgi.c:1339:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (!(params->mask & FCGI_SP_REQ_QS) && len < path.len) ^ src/ssl_sock.c:9526:85: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ssl_engine(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9527:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9527:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9527:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ciphers': src/ssl_sock.c:9569:54: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_fcgi.c: In function 'fcgi_encode_default_param': src/mux_fcgi.c:1408:56: warning: unused parameter 'fconn' [-Wunused-parameter] static int fcgi_encode_default_param(struct fcgi_conn *fconn, struct fcgi_strm *fstrm, ~~~~~~~~~~~~~~~~~~^~~~~ src/mux_fcgi.c:1408:81: warning: unused parameter 'fstrm' [-Wunused-parameter] static int fcgi_encode_default_param(struct fcgi_conn *fconn, struct fcgi_strm *fstrm, ~~~~~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9569:82: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9570:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9570:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9570:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ciphersuites': src/mux_fcgi.c: In function 'fcgi_conn_send_get_values': src/mux_fcgi.c:1534:4: warning: label 'realign_again' defined but not used [-Wunused-label] realign_again: ^~~~~~~~~~~~~ src/ssl_sock.c:9594:59: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9594:87: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9595:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9595:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9595:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_int': src/ssl_sock.c:9619:50: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_int(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9619:78: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_int(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9620:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9620:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_fcgi.c: In function 'fcgi_strm_send_begin_request': src/mux_fcgi.c:1728:4: warning: label 'realign_again' defined but not used [-Wunused-label] realign_again: ^~~~~~~~~~~~~ src/ssl_sock.c:9620:76: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_private_cache': src/mux_fcgi.c: In function 'fcgi_strm_send_empty_record': src/mux_fcgi.c:1795:4: warning: label 'realign_again' defined but not used [-Wunused-label] realign_again: ^~~~~~~~~~~~~ src/ssl_sock.c:9682:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9682:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9683:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9683:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9683:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_lifetime': src/ssl_sock.c:9696:55: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_lifetime(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9696:83: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_lifetime(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9697:52: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9697:71: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9697:81: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_dh_param_file': src/ssl_sock.c:9732:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_dh_param_file(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9732:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_dh_param_file(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9733:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9733:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9733:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_default_dh': src/ssl_sock.c:9754:57: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_default_dh(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9754:85: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_default_dh(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9755:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9755:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9755:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'cli_parse_show_tlskeys': src/ssl_sock.c:9947:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:9947:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_set_tlskeys': src/ssl_sock.c:9968:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:9968:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_commit_cert': src/mux_fcgi.c: In function 'fcgi_recv': src/mux_fcgi.c:2759:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (ret == max) { ^~ src/ssl_sock.c:10249:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_commit_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:10249:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_commit_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mux_fcgi.c: In function 'fcgi_io_cb': src/mux_fcgi.c:2906:45: warning: unused parameter 't' [-Wunused-parameter] static struct task *fcgi_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~^ src/mux_fcgi.c:2906:74: warning: unused parameter 'status' [-Wunused-parameter] static struct task *fcgi_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ src/ssl_sock.c: In function 'cli_parse_set_cert': src/ssl_sock.c:10295:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mux_fcgi.c: In function 'fcgi_ctl': src/mux_fcgi.c:3017:79: warning: unused parameter 'output' [-Wunused-parameter] static int fcgi_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ~~~~~~^~~~~~ src/ssl_sock.c: In function 'cli_parse_abort_cert': src/ssl_sock.c:10529:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_abort_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:10529:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_abort_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mux_fcgi.c: In function 'fcgi_timeout_task': src/mux_fcgi.c:3036:85: warning: unused parameter 'state' [-Wunused-parameter] static struct task *fcgi_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_fcgi.c: In function 'fcgi_strm_capture_bad_message': src/mux_fcgi.c:3148:30: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] (h1m->err_pos >= 0) ? h1m->err_pos : h1m->next, ^~~~~~~~~~~~ src/ssl_sock.c: In function 'cli_parse_set_ocspresponse': src/ssl_sock.c:10573:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_ocspresponse(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'check_aes_gcm': src/ssl_sock.c:10634:64: warning: unused parameter 'conv' [-Wunused-parameter] static int check_aes_gcm(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:10635:21: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/ssl_sock.c:10635:31: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/ssl_sock.c: In function 'sample_conv_aes_gcm_dec': src/ssl_sock.c:10654:87: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_aes_gcm_dec(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: At top level: src/ssl_sock.c:10748:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "tls-keys", NULL }, "show tls-keys [id|*]: show tls keys references or dump tls ticket keys when id specified", cli_parse_show_tlskeys, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:10749:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "ssl", "tls-key", NULL }, "set ssl tls-key [id|keyfile] : set the next TLS key for the or listener to ", cli_parse_set_tlskeys, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:10751:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "ssl", "ocsp-response", NULL }, NULL, cli_parse_set_ocspresponse, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:10752:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "ssl", "cert", NULL }, "set ssl cert : replace a certificate file", cli_parse_set_cert, NULL, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:10753:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "commit", "ssl", "cert", NULL }, "commit ssl cert : commit a certificate file", cli_parse_commit_cert, cli_io_handler_commit_cert, cli_release_commit_cert }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:10754:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "abort", "ssl", "cert", NULL }, "abort ssl cert : abort a transaction for a certificate file", cli_parse_abort_cert, NULL, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:10755:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { NULL }, NULL, NULL, NULL } ^ In file included from src/ssl_sock.c:63: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10758:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/ssl_sock.c:10764:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc", smp_fetch_ssl_fc, 0, NULL, SMP_T_BOOL, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10765:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_alg_keysize", smp_fetch_ssl_fc_alg_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10767:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_alpn", smp_fetch_ssl_fc_alpn, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10769:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_cipher", smp_fetch_ssl_fc_cipher, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10771:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_npn", smp_fetch_ssl_fc_npn, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10773:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_is_resumed", smp_fetch_ssl_fc_is_resumed, 0, NULL, SMP_T_BOOL, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10774:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_protocol", smp_fetch_ssl_fc_protocol, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10775:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_unique_id", smp_fetch_ssl_fc_unique_id, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10776:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_use_keysize", smp_fetch_ssl_fc_use_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10778:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_session_id", smp_fetch_ssl_fc_session_id, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10781:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_client_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10782:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_server_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10783:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_session_key", smp_fetch_ssl_fc_session_key, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10785:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_ca_err", smp_fetch_ssl_c_ca_err, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10786:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_ca_err_depth", smp_fetch_ssl_c_ca_err_depth, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10787:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_der", smp_fetch_ssl_x_der, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10788:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_err", smp_fetch_ssl_c_err, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10789:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_i_dn", smp_fetch_ssl_x_i_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10790:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_key_alg", smp_fetch_ssl_x_key_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10791:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_notafter", smp_fetch_ssl_x_notafter, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10792:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_notbefore", smp_fetch_ssl_x_notbefore, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10793:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_sig_alg", smp_fetch_ssl_x_sig_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10794:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_s_dn", smp_fetch_ssl_x_s_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/mux_fcgi.c: In function 'fcgi_deferred_shut': src/ssl_sock.c:10795:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_serial", smp_fetch_ssl_x_serial, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/mux_fcgi.c:3667:53: warning: unused parameter 't' [-Wunused-parameter] static struct task *fcgi_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~^ src/mux_fcgi.c:3667:82: warning: unused parameter 'state' [-Wunused-parameter] static struct task *fcgi_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:10796:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_sha1", smp_fetch_ssl_x_sha1, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10797:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_used", smp_fetch_ssl_c_used, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10798:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_verify", smp_fetch_ssl_c_verify, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10799:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_version", smp_fetch_ssl_x_version, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/mux_fcgi.c: In function 'fcgi_shutw': src/ssl_sock.c:10800:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_der", smp_fetch_ssl_x_der, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/mux_fcgi.c:3712:65: warning: unused parameter 'mode' [-Wunused-parameter] static void fcgi_shutw(struct conn_stream *cs, enum cs_shw_mode mode) ~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:10801:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_i_dn", smp_fetch_ssl_x_i_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10802:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_key_alg", smp_fetch_ssl_x_key_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10803:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_notafter", smp_fetch_ssl_x_notafter, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10804:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_notbefore", smp_fetch_ssl_x_notbefore, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10805:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_sig_alg", smp_fetch_ssl_x_sig_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10806:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_s_dn", smp_fetch_ssl_x_s_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10807:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_serial", smp_fetch_ssl_x_serial, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10808:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_sha1", smp_fetch_ssl_x_sha1, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10809:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_version", smp_fetch_ssl_x_version, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/mux_fcgi.c: In function 'fcgi_rcv_buf': src/mux_fcgi.c:3795:90: warning: unused parameter 'flags' [-Wunused-parameter] static size_t fcgi_rcv_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/ssl_sock.c:10810:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc", smp_fetch_ssl_fc, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10811:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_alg_keysize", smp_fetch_ssl_fc_alg_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10812:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipher", smp_fetch_ssl_fc_cipher, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10813:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_crt", smp_fetch_ssl_fc_has_crt, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10814:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_early", smp_fetch_ssl_fc_has_early, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10815:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_sni", smp_fetch_ssl_fc_has_sni, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10816:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_is_resumed", smp_fetch_ssl_fc_is_resumed, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10818:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_npn", smp_fetch_ssl_fc_npn, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10821:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_alpn", smp_fetch_ssl_fc_alpn, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10823:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_protocol", smp_fetch_ssl_fc_protocol, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10825:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_unique_id", smp_fetch_ssl_fc_unique_id, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10827:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_use_keysize", smp_fetch_ssl_fc_use_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10829:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_session_id", smp_fetch_ssl_fc_session_id, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10832:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_client_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10833:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_server_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/mux_fcgi.c: In function 'fcgi_snd_buf': src/ssl_sock.c:10834:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_session_key", smp_fetch_ssl_fc_session_key, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/mux_fcgi.c:3854:90: warning: unused parameter 'flags' [-Wunused-parameter] static size_t fcgi_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/ssl_sock.c:10837:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_sni", smp_fetch_ssl_fc_sni, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10839:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_bin", smp_fetch_ssl_fc_cl_bin, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10840:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_hex", smp_fetch_ssl_fc_cl_hex, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/cfgparse.h:27, from src/mux_fcgi.c:13: src/mux_fcgi.c: At top level: src/ssl_sock.c:10841:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_str", smp_fetch_ssl_fc_cl_str, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct mux_proto_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_fcgi.c:4103:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_fcgi); ^~~~~~~~~ src/ssl_sock.c:10842:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_xxh", smp_fetch_ssl_fc_cl_xxh64, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10843:2: warning: missing initializer for field 'use' of 'struct sample_fetch' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:300:15: note: 'use' declared here unsigned int use; /* fetch source (SMP_USE_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10846:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ src/ssl_sock.c:10852:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "ssl_fc_sni_end", "ssl_fc_sni", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/ssl_sock.c:10853:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "ssl_fc_sni_reg", "ssl_fc_sni", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10857:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10928:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct srv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10980:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:11013:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/ssl_sock.c:11018:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "aes_gcm_dec", sample_conv_aes_gcm_dec, ARG4(4,SINT,STR,STR,STR), check_aes_gcm, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/ssl_sock.c:11020:2: warning: missing initializer for field 'out_type' of 'struct sample_conv' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:278:15: note: 'out_type' declared here unsigned int out_type; /* output sample type */ ^~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:11023:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &conv_kws); ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_action_wait_for_hs': src/ssl_sock.c:11047:57: warning: unused parameter 'rule' [-Wunused-parameter] enum act_return ssl_action_wait_for_hs(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:11047:77: warning: unused parameter 'px' [-Wunused-parameter] enum act_return ssl_action_wait_for_hs(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/ssl_sock.c:11048:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/ssl_sock.c: In function 'ssl_parse_wait_for_hs': src/ssl_sock.c:11066:62: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~~~~~~~~~^~~~ src/ssl_sock.c:11066:73: warning: unused parameter 'orig_arg' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~^~~~~~~~ src/ssl_sock.c:11066:97: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:11066:131: warning: unused parameter 'err' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~~~^~~ src/ssl_sock.c: At top level: src/ssl_sock.c:11074:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "wait-for-handshake", ssl_parse_wait_for_hs }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:11078:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_sctl_free_func': src/ssl_sock.c:11082:43: warning: unused parameter 'parent' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~~~ src/ssl_sock.c:11082:78: warning: unused parameter 'ad' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:11082:86: warning: unused parameter 'idx' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~^~~ src/ssl_sock.c:11082:96: warning: unused parameter 'argl' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~^~~~ src/ssl_sock.c:11082:108: warning: unused parameter 'argp' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~ src/ssl_sock.c: In function 'ssl_sock_capture_free_func': src/ssl_sock.c:11091:46: warning: unused parameter 'parent' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~~~ src/ssl_sock.c:11091:81: warning: unused parameter 'ad' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:11091:89: warning: unused parameter 'idx' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~^~~ src/ssl_sock.c:11091:99: warning: unused parameter 'argl' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~^~~~ src/ssl_sock.c:11091:111: warning: unused parameter 'argp' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~ CC src/cfgparse-listen.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/cfgparse-listen.c:23: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/cfgparse-listen.c:23: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/types/http_htx.h:26, from include/proto/http_htx.h:29, from src/cfgparse-listen.c:24: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ CC src/http_ana.o In file included from include/common/htx.h:28, from src/http_ana.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/htx.h:31, from src/http_ana.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/htx.h:31, from src/http_ana.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/htx.h:31, from src/http_ana.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/http_ana.c:16: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ CC src/stats.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/lb_map.h:26, from include/types/backend.h:32, from include/types/proxy.h:42, from include/types/acl.h:32, from include/proto/acl.h:26, from src/http_ana.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/lb_map.h:26, from include/types/backend.h:32, from include/types/proxy.h:42, from include/types/acl.h:32, from include/proto/acl.h:26, from src/http_ana.c:21: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/http_ana.c:23: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/http_ana.c:23: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/http_ana.c:25: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/http_ana.c:25: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/http_ana.c: In function 'http_wait_for_request': src/http_ana.c:114:9: warning: operand of ?: changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] ? csinfo->t_idle ^~~~~~~~~~~~~~ src/http_ana.c: In function 'http_process_tarpit': src/http_ana.c:955:68: warning: unused parameter 'an_bit' [-Wunused-parameter] int http_process_tarpit(struct stream *s, struct channel *req, int an_bit) ~~~~^~~~~~ src/http_ana.c: In function 'http_request_forward_body': src/http_ana.c:1286:2: warning: label 'waiting' defined but not used [-Wunused-label] waiting: ^~~~~~~ src/http_ana.c: In function 'http_process_res_common': src/http_ana.c:1875:94: warning: unused parameter 'px' [-Wunused-parameter] int http_process_res_common(struct stream *s, struct channel *rep, int an_bit, struct proxy *px) ~~~~~~~~~~~~~~^~ src/http_ana.c: In function 'http_apply_redirect_rule': src/http_ana.c:2436:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (qs < path.len) { ^ src/http_ana.c:2484:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (qs < path.len) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stats.c:27: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/http_ana.c: In function 'http_transform_header_str': src/http_ana.c:2657:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (output->data == -1) ^~ src/http_ana.c:2644:46: warning: unused parameter 's' [-Wunused-parameter] int http_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ~~~~~~~~~~~~~~~^ src/http_ana.c:2644:65: warning: unused parameter 'chn' [-Wunused-parameter] int http_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ~~~~~~~~~~~~~~~~^~~ src/http_ana.c: In function 'http_req_replace_stline': src/http_ana.c:2765:22: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct stream *s) ~~~~~~~~~~~~~~^~ In file included from src/stats.c:32: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/http_ana.c: In function 'http_manage_client_side_cookies': src/http_ana.c:3939:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if ((hdr_end - hdr_beg) != ctx.value.len) { ^~ In file included from src/stats.c:50: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/http_ana.c: In function 'http_check_request_for_cacheability': src/http_ana.c:4285:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/http_ana.c: In function 'http_check_response_for_cacheability': src/http_ana.c:4364:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/http_ana.c:4369:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i < v.len && *(v.ptr + i) == '=') { ^ src/http_ana.c: In function 'http_stats_check_uri': src/http_ana.c:4428:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (uri_auth->uri_len > uri.len) ^ In file included from include/proto/session.h:35, from src/stats.c:67: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/http_ana.c: In function 'http_reply_and_close': src/http_ana.c:4989:51: warning: unused parameter 'status' [-Wunused-parameter] void http_reply_and_close(struct stream *s, short status, struct buffer *msg) ~~~~~~^~~~~~ In file included from include/proto/ssl_sock.h:33, from src/stats.c:68: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/http_ana.c: In function 'http_capture_headers': src/http_ana.c:5251:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (h->namelen && (h->namelen == n.len) && ^~ src/http_ana.c:5263:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (v.len > h->len) ^ src/stats.c: In function 'stats_putchk': src/stats.c:265:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (chk->data >= channel_htx_recv_max(chn, htx)) ^~ src/stats.c: In function 'stats_emit_json_data_field': src/stats.c:388:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'const long long int'} and 'long long unsigned int' [-Wsign-compare] if (f->u.s64 < JSON_INT_MIN || f->u.s64 > JSON_INT_MAX) ^ src/stats.c:388:50: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'const long long int'} and 'long long unsigned int' [-Wsign-compare] if (f->u.s64 < JSON_INT_MIN || f->u.s64 > JSON_INT_MAX) ^ src/stats.c:416:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] return !(old_len == out->data); ^~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/http_ana.c:15: src/http_ana.c: At top level: src/stats.c: In function 'stats_emit_json_field_tags': src/stats.c:510:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] return !(old_len == out->data); ^~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/http_ana.c:5497:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_http_txn, "http_txn", sizeof(struct http_txn)); ^~~~~~~~~~~~ src/stats.c: In function 'stats_dump_fields_csv': src/stats.c:515:46: warning: unused parameter 'flags' [-Wunused-parameter] const struct field *stats, unsigned int flags) ~~~~~~~~~~~~~^~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/http_ana.c:5498:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_uniqueid, "uniqueid", UNIQUEID_LEN); ^~~~~~~~~~~~ src/stats.c: In function 'stats_dump_json_info_fields': src/stats.c:586:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (old_len == out->data) ^~ src/stats.c:562:51: warning: unused parameter 'flags' [-Wunused-parameter] const struct field *info, unsigned int flags) ~~~~~~~~~~~~~^~~~~ src/stats.c: In function 'stats_dump_fields_json': src/stats.c:652:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (old_len == out->data) ^~ src/stats.c: In function 'stats_dump_one_line': src/stats.c:1372:73: warning: unused parameter 'px' [-Wunused-parameter] static int stats_dump_one_line(const struct field *stats, struct proxy *px, struct appctx *appctx) ~~~~~~~~~~~~~~^~ src/stats.c: In function 'stats_fill_sv_stats': src/stats.c:1676:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (sv->max_idle_conns != -1) ^~ src/stats.c: In function 'stats_process_http_post': src/stats.c:2830:32: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (htx_free_data_space(htx) <= global.tune.maxrewrite) { ^~ src/stats.c:2877:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((plen > 0) && (plen <= sizeof(key))) { ^~ src/stats.c: In function 'stats_dump_json_schema': src/stats.c:3726:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (old_len == out->data) { ^~ src/stats.c: In function 'cli_parse_clear_counters': src/stats.c:3751:56: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_clear_counters(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c:3751:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_clear_counters(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c: In function 'cli_parse_show_info': src/stats.c:3821:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_info(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c:3821:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_info(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c: In function 'cli_parse_show_stat': src/stats.c:3842:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_stat(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c:3842:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_stat(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c: At top level: src/stats.c:3904:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "clear", "counters", NULL }, "clear counters : clear max statistics counters (add 'all' for all counters)", cli_parse_clear_counters, NULL, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:3905:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "info", NULL }, "show info : report information about the running process [desc|json|typed]*", cli_parse_show_info, cli_io_handler_dump_info, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:3906:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "stat", NULL }, "show stat : report counters for each proxy and server [desc|json|typed]*", cli_parse_show_stat, cli_io_handler_dump_stat, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:3907:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "schema", "json", NULL }, "show schema json : report schema used for stats", NULL, cli_io_handler_dump_json_schema, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:3908:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stats.c:44: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/stats.c:27: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stats.c:3911:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ CC src/mux_h1.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/flt_spoe.o In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/h2.h:34, from src/mux_h1.c:15: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h1.c:25: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/mux_h1.c:25: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/stream_interface.h:32, from src/mux_h1.c:31: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/cfgparse.h:27, from src/mux_h1.c:12: src/mux_h1.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct trace_source *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h1.c:245:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, trace_register_source, TRACE_SOURCE); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h1.c:248:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h1c, "h1c", sizeof(struct h1c)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h1.c:249:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h1s, "h1s", sizeof(struct h1s)); ^~~~~~~~~~~~~~~~~~~ src/mux_h1.c: In function 'h1_trace': src/mux_h1.c:264:39: warning: unused parameter 'level' [-Wunused-parameter] static void h1_trace(enum trace_level level, uint64_t mask, const struct trace_source *src, ~~~~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:265:39: warning: unused parameter 'where' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:265:63: warning: unused parameter 'func' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~ src/mux_h1.c: In function 'h1_process_input_conn_mode': src/mux_h1.c:990:86: warning: unused parameter 'htx' [-Wunused-parameter] static void h1_process_input_conn_mode(struct h1s *h1s, struct h1m *h1m, struct htx *htx) ~~~~~~~~~~~~^~~ src/mux_h1.c: In function 'h1_capture_bad_message': src/mux_h1.c:1082:30: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] (h1m->err_pos >= 0) ? h1m->err_pos : h1m->next, ^~~~~~~~~~~~ src/mux_h1.c: In function 'h1_io_cb': src/mux_h1.c:2204:43: warning: unused parameter 't' [-Wunused-parameter] static struct task *h1_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~^ src/mux_h1.c:2204:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h1_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ src/mux_h1.c: In function 'h1_reset': src/mux_h1.c:2220:41: warning: unused parameter 'conn' [-Wunused-parameter] static void h1_reset(struct connection *conn) ~~~~~~~~~~~~~~~~~~~^~~~ src/mux_h1.c: In function 'h1_timeout_task': src/mux_h1.c:2248:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h1_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h1.c: In function 'h1_snd_buf': src/mux_h1.c:2648:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h1_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/mux_h1.c: In function 'h1_ctl': src/mux_h1.c:2767:77: warning: unused parameter 'output' [-Wunused-parameter] static int h1_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ~~~~~~^~~~~~ src/mux_h1.c: In function 'cfg_parse_h1_header_case_adjust': src/mux_h1.c:2958:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_h1_header_case_adjust(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h1.c:2958:89: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_h1_header_case_adjust(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:2959:23: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:2959:42: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h1.c:2959:52: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/mux_h1.c: In function 'cfg_parse_h1_headers_case_adjust_file': src/mux_h1.c:2972:67: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_h1_headers_case_adjust_file(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h1.c:2972:95: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_h1_headers_case_adjust_file(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:2973:22: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:2973:41: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h1.c:2973:51: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/mux_h1.c:12: src/mux_h1.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h1.c:2996:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:152:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, cfg_register_postparser, (name), (parser)) ^~~~~~~~~ src/mux_h1.c:2997:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("h1-headers-map", cfg_h1_headers_case_adjust_postparser); ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct mux_proto_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h1.c:3037:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_htx); ^~~~~~~~~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from include/proto/filters.h:30, from src/flt_spoe.c:32: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/filters.h:30, from src/flt_spoe.c:32: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from src/flt_spoe.c:40: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/flt_spoe.c:42: include/proto/spoe.h: In function 'spoe_encode_frag_buffer': include/proto/spoe.h:84:30: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] ret = (p+len < end) ? len : (end - p); ^~~~~~~~~ In file included from include/proto/stream_interface.h:33, from src/flt_spoe.c:44: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: src/flt_spoe.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/flt_spoe.c:104:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_spoe_ctx, "spoe_ctx", sizeof(struct spoe_context)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/flt_spoe.c:105:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_spoe_appctx, "spoe_appctx", sizeof(struct spoe_appctx)); ^~~~~~~~~~~~~~~~~~~ src/flt_spoe.c: In function 'spoe_process_appctx': src/flt_spoe.c:1222:71: warning: unused parameter 'state' [-Wunused-parameter] spoe_process_appctx(struct task * task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/flt_spoe.c: In function 'spoe_sig_stop': src/flt_spoe.c:2962:35: warning: unused parameter 'sh' [-Wunused-parameter] spoe_sig_stop(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/flt_spoe.c: In function 'spoe_init': src/flt_spoe.c:2996:25: warning: unused parameter 'px' [-Wunused-parameter] spoe_init(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_spoe.c: In function 'spoe_deinit': src/flt_spoe.c:3025:27: warning: unused parameter 'px' [-Wunused-parameter] spoe_deinit(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_spoe.c: In function 'spoe_init_per_thread': src/flt_spoe.c:3117:36: warning: unused parameter 'p' [-Wunused-parameter] spoe_init_per_thread(struct proxy *p, struct flt_conf *fconf) ~~~~~~~~~~~~~~^ src/flt_spoe.c: In function 'spoe_stop': src/flt_spoe.c:3179:26: warning: unused parameter 's' [-Wunused-parameter] spoe_stop(struct stream *s, struct filter *filter) ~~~~~~~~~~~~~~~^ src/flt_spoe.c: In function 'spoe_end_analyze': src/flt_spoe.c:3301:33: warning: unused parameter 's' [-Wunused-parameter] spoe_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_spoe.c:3301:75: warning: unused parameter 'chn' [-Wunused-parameter] spoe_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~~^~~ src/flt_spoe.c: In function 'cfg_parse_spoe_agent': src/flt_spoe.c:3718:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] curagent->max_frame_size > MAX_FRAME_SIZE) { ^ src/flt_spoe.c: In function 'cfg_parse_spoe_group': src/flt_spoe.c:3789:70: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_spoe_group(const char *file, int linenum, char **args, int kwm) ~~~~^~~ CC src/server.o src/flt_spoe.c: In function 'cfg_parse_spoe_message': src/flt_spoe.c:3878:72: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_spoe_message(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/flt_spoe.c: In function 'parse_spoe_flt': src/flt_spoe.c:4074:59: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ~~~~~~^~~~~~~ src/flt_spoe.c: In function 'spoe_send_group': src/flt_spoe.c:4503:19: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/flt_spoe.c: In function 'parse_send_spoe_group': src/flt_spoe.c:4673:71: warning: unused parameter 'px' [-Wunused-parameter] parse_send_spoe_group(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~~^~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: src/flt_spoe.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct flt_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4700:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &flt_kws); ^~~~~~~~~ src/flt_spoe.c:4704:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "send-spoe-group", parse_send_spoe_group }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4709:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_action_kws); ^~~~~~~~~ src/flt_spoe.c:4712:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "send-spoe-group", parse_send_spoe_group }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4717:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_action_kws); ^~~~~~~~~ src/flt_spoe.c:4720:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "send-spoe-group", parse_send_spoe_group }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4725:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_action_kws); ^~~~~~~~~ src/flt_spoe.c:4728:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "send-spoe-group", parse_send_spoe_group }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4733:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_action_kws); ^~~~~~~~~ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/server.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/server.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/server.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/server.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/server.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/server.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/server.c:19: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/server.c:37: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/server.c:37: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/server.c:44: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/server.c:44: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/server.c: At top level: src/server.c:75:1: warning: missing initializer for field 'rwlock' of 'struct dict' [-Wmissing-field-initializers] }; ^ In file included from include/common/mini-clist.h:214, from include/common/cfgparse.h:28, from src/server.c:19: include/types/dict.h:16:31: note: 'rwlock' declared here __decl_hathreads(HA_RWLOCK_T rwlock); ^~~~~~ include/common/hathreads.h:255:32: note: in definition of macro '__decl_hathreads' #define __decl_hathreads(decl) decl ^~~~ src/server.c: In function 'srv_parse_addr': src/server.c:267:41: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_agent_check': src/server.c:313:41: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_agent_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:313:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_agent_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:314:48: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:314:88: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_backup': src/server.c:321:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_backup(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:321:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_backup(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:322:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:322:83: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_check': src/server.c:329:35: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:329:46: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:330:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:330:82: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_check_send_proxy': src/server.c:337:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:337:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:338:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:338:93: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_check_via_socks4': src/server.c:345:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_via_socks4(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:345:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_via_socks4(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:346:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:346:93: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_cookie': src/server.c:354:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_disabled': src/server.c:372:38: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_disabled(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:372:49: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_disabled(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:373:45: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:373:85: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_enabled': src/server.c:383:37: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_enabled(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:383:48: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_enabled(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:384:44: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:384:84: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_max_reuse': src/server.c:393:73: warning: unused parameter 'curproxy' [-Wunused-parameter] static int srv_parse_max_reuse(char **args, int *cur_arg, struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_pool_purge_delay': src/server.c:407:80: warning: unused parameter 'curproxy' [-Wunused-parameter] static int srv_parse_pool_purge_delay(char **args, int *cur_arg, struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_pool_max_conn': src/server.c:439:77: warning: unused parameter 'curproxy' [-Wunused-parameter] static int srv_parse_pool_max_conn(char **args, int *cur_arg, struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_namespace': src/server.c:492:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:492:71: warning: unused parameter 'newsrv' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~~^~~~~~ src/server.c: In function 'srv_parse_no_agent_check': src/server.c:533:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_agent_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:533:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_agent_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:534:52: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:534:92: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_backup': src/server.c:545:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_backup(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:545:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_backup(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:546:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:546:86: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_check': src/server.c:553:38: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:553:49: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:554:45: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:554:85: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_check_send_proxy': src/server.c:563:49: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:563:60: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:564:56: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:564:96: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_send_proxy': src/server.c:578:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:578:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:579:50: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:579:90: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_send_proxy_v2': src/server.c:585:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_v2(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:585:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_v2(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:586:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:586:93: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_tfo': src/server.c:592:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_tfo(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:592:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_tfo(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:593:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:593:83: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_non_stick': src/server.c:600:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_non_stick(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:600:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_non_stick(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:601:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:601:86: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_proto': src/server.c:615:21: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/server.c: In function 'srv_parse_proxy_v2_options': src/server.c:634:25: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/server.c: In function 'srv_parse_redir': src/server.c:705:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_send_proxy': src/server.c:723:40: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:723:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:724:47: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:724:87: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_send_proxy_v2': src/server.c:730:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_v2(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:730:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_v2(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:731:50: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:731:90: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_source': src/server.c:739:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_stick': src/server.c:911:35: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_stick(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:911:46: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_stick(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:912:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:912:82: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_track': src/server.c:920:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_socks4': src/server.c:938:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_tfo': src/server.c:987:33: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_tfo(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/server.c:987:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_tfo(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/server.c:987:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tfo(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/server.c:987:101: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_tfo(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: At top level: src/server.c:1386:2: warning: missing initializer for field 'default_ok' of 'struct srv_kw' [-Wmissing-field-initializers] { NULL, NULL, 0 }, ^ In file included from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/types/server.h:370:6: note: 'default_ok' declared here int default_ok; /* non-zero if kw is supported in default-server section */ ^~~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/server.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct srv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/server.c:1389:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ src/server.c: In function 'server_parse_weight_change_request': src/server.c:1463:13: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] if (w && w != sv->iweight && !(px->lbprm.algo & BE_LB_PROP_DYN)) ^~ src/server.c: In function 'server_health_check_init': src/server.c:1935:71: warning: unused parameter 'curproxy' [-Wunused-parameter] struct server *srv, struct proxy *curproxy) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'server_agent_check_init': src/server.c:1986:70: warning: unused parameter 'curproxy' [-Wunused-parameter] struct server *srv, struct proxy *curproxy) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'server_finalize_init': src/server.c:2056:1: warning: label 'err' defined but not used [-Wunused-label] err: ^~~ src/server.c: In function 'srv_tmpl_parse_range': src/server.c:2067:48: warning: unused parameter 'srv' [-Wunused-parameter] static int srv_tmpl_parse_range(struct server *srv, const char *arg, int *nb_low, int *nb_high) ~~~~~~~~~~~~~~~^~~ src/server.c: In function 'snr_resolution_error_cb': src/server.c:4297:66: warning: unused parameter 'error_code' [-Wunused-parameter] int snr_resolution_error_cb(struct dns_requester *requester, int error_code) ~~~~^~~~~~~~~~ src/server.c: In function 'cli_parse_set_server': src/server.c:4653:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4653:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_get_weight': src/server.c:4789:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_get_weight(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4789:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_get_weight(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_set_weight': src/server.c:4824:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_weight(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4824:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_weight(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_set_maxconn_server': src/server.c:4851:60: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_maxconn_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4851:98: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_maxconn_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_disable_agent': src/server.c:4878:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_agent(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4878:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_agent(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_disable_health': src/server.c:4899:56: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_health(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4899:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_health(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_disable_server': src/server.c:4920:56: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4920:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_enable_agent': src/server.c:4941:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_agent(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4941:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_agent(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_enable_health': src/server.c:4965:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_health(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4965:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_health(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_enable_server': src/server.c:4986:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4986:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: At top level: src/server.c:5009:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "disable", "agent", NULL }, "disable agent : disable agent checks (use 'set server' instead)", cli_parse_disable_agent, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:5010:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "disable", "health", NULL }, "disable health : disable health checks (use 'set server' instead)", cli_parse_disable_health, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:5011:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "disable", "server", NULL }, "disable server : disable a server for maintenance (use 'set server' instead)", cli_parse_disable_server, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:5012:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "enable", "agent", NULL }, "enable agent : enable agent checks (use 'set server' instead)", cli_parse_enable_agent, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:5013:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "enable", "health", NULL }, "enable health : enable health checks (use 'set server' instead)", cli_parse_enable_health, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:5014:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "enable", "server", NULL }, "enable server : enable a disabled server (use 'set server' instead)", cli_parse_enable_server, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:5015:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "maxconn", "server", NULL }, "set maxconn server : change a server's maxconn setting", cli_parse_set_maxconn_server, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:5016:2: warning: missing initializer for field 'io_handler' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "server", NULL }, "set server : change a server's state, weight or address", cli_parse_set_server }, ^ In file included from src/server.c:27: include/types/cli.h:44:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:5017:2: warning: missing initializer for field 'io_handler' of 'struct cli_kw' [-Wmissing-field-initializers] { { "get", "weight", NULL }, "get weight : report a server's current weight", cli_parse_get_weight }, ^ In file included from src/server.c:27: include/types/cli.h:44:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:5018:2: warning: missing initializer for field 'io_handler' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "weight", NULL }, "set weight : change a server's weight (deprecated)", cli_parse_set_weight }, ^ In file included from src/server.c:27: include/types/cli.h:44:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:5020:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/server.c:27: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/server.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/server.c:5023:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/server.c: In function 'srv_cleanup_toremove_connections': src/server.c:5561:72: warning: unused parameter 'context' [-Wunused-parameter] struct task *srv_cleanup_toremove_connections(struct task *task, void *context, unsigned short state) ~~~~~~^~~~~~~ src/server.c:5561:96: warning: unused parameter 'state' [-Wunused-parameter] struct task *srv_cleanup_toremove_connections(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/server.c: In function 'srv_cleanup_idle_connections': src/server.c:5618:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (did_remove && max_conn < srv->curr_idle_thr[i]) ^ src/server.c:5573:68: warning: unused parameter 'context' [-Wunused-parameter] struct task *srv_cleanup_idle_connections(struct task *task, void *context, unsigned short state) ~~~~~~^~~~~~~ src/server.c:5573:92: warning: unused parameter 'state' [-Wunused-parameter] struct task *srv_cleanup_idle_connections(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/server.c: In function 'cfg_parse_pool_fd_ratio': src/server.c:5644:53: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_pool_fd_ratio(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/server.c:5644:81: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_pool_fd_ratio(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/server.c:5645:50: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/server.c:5645:69: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/server.c:5645:79: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/server.c:19: src/server.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/server.c:5675:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ CC src/cfgparse.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from src/cfgparse.c:60: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/cfgparse.c:60: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/peers.h:28, from src/cfgparse.c:77: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/peers.h:28, from src/cfgparse.c:77: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/cfgparse.c: In function 'str2listener': src/cfgparse.c:147:94: warning: unused parameter 'file' [-Wunused-parameter] int str2listener(char *str, struct proxy *curproxy, struct bind_conf *bind_conf, const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/cfgparse.c:147:104: warning: unused parameter 'line' [-Wunused-parameter] int str2listener(char *str, struct proxy *curproxy, struct bind_conf *bind_conf, const char *file, int line, char **err) ~~~~^~~~ src/cfgparse.c: In function 'parse_process_number': src/cfgparse.c:385:27: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] high = ((!*(dash+1)) ? max : str2uic(dash + 1)); ^~~ src/cfgparse.c:393:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (low < 1 || low > max || high > max) { ^ src/cfgparse.c:393:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (low < 1 || low > max || high > max) { ^ src/cfgparse.c: In function 'cfg_parse_resolvers': src/cfgparse.c:955:73: warning: unused parameter 'kwm' [-Wunused-parameter] int cfg_parse_resolvers(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cfgparse.c: In function 'cfg_parse_mailers': src/cfgparse.c:1359:71: warning: unused parameter 'kwm' [-Wunused-parameter] int cfg_parse_mailers(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cfgparse.c: In function 'cfg_parse_netns': src/cfgparse.c:1547:55: warning: unused parameter 'args' [-Wunused-parameter] cfg_parse_netns(const char *file, int linenum, char **args, int kwm) ~~~~~~~^~~~ src/cfgparse.c:1547:65: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_netns(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cfgparse.c: In function 'cfg_parse_users': src/cfgparse.c:1589:65: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_users(const char *file, int linenum, char **args, int kwm) ~~~~^~~ In file included from include/common/cfgparse.h:27, from src/cfgparse.c:36: src/cfgparse.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4203:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("listen", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4204:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("frontend", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4205:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("backend", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4206:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("defaults", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4207:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("global", cfg_parse_global, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4208:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("userlist", cfg_parse_users, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4209:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("peers", cfg_parse_peers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4210:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("mailers", cfg_parse_mailers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4211:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("namespace_list", cfg_parse_netns, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4212:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("resolvers", cfg_parse_resolvers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ CC src/checks.o In file included from include/common/chunk.h:30, from src/checks.c:33: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/checks.c:33: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/checks.c:37: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/checks.c:37: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/checks.c:38: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ CC src/backend.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/backend.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from src/backend.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/backend.c:22: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/backend.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/backend.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/backend.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/backend.c:27: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/checks.c:41: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/checks.c:49: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/checks.c:56: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/checks.c:58: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/checks.c:58: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/stream_interface.h:33, from src/checks.c:58: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/checks.c:33: src/checks.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/checks.c:73:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_email_alert, "email_alert", sizeof(struct email_alert)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/checks.c:74:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_tcpcheck_rule, "tcpcheck_rule", sizeof(struct tcpcheck_rule)); ^~~~~~~~~~~~~~~~~~~ src/checks.c: In function 'chk_report_conn_err': src/checks.c:627:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ src/checks.c: In function 'event_srv_chk_io': src/checks.c:724:51: warning: unused parameter 't' [-Wunused-parameter] static struct task *event_srv_chk_io(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~^ src/checks.c:724:80: warning: unused parameter 'state' [-Wunused-parameter] static struct task *event_srv_chk_io(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/checks.c: In function '__event_srv_chk_w': src/checks.c:788:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) ^~ src/checks.c: In function '__event_srv_chk_r': src/checks.c:859:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) ^~ src/checks.c: In function 'wake_srv_chk': src/checks.c:1459:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ src/checks.c: In function 'server_warmup': src/checks.c:1527:81: warning: unused parameter 'state' [-Wunused-parameter] static struct task *server_warmup(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/checks.c: In function 'connect_conn_chk': src/checks.c:1601:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ src/checks.c:1612:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type && check->type != PR_O2_TCPCHK_CHK && !(check->state & CHK_ST_AGENT)) { ^~ src/checks.c:1697:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((check->type == 0 || check->type == PR_O2_TCPCHK_CHK) && ^~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/checks.c:33: src/checks.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:260:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/checks.c:1730:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(pid_list_lock); ^~~~~~~~~~~~~~~ src/checks.c: In function 'sigchld_handler': src/checks.c:1806:49: warning: unused parameter 'sh' [-Wunused-parameter] static void sigchld_handler(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/checks.c: In function 'process_chk_proc': src/checks.c:2095:84: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_chk_proc(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/checks.c: In function 'process_chk_conn': src/checks.c:2227:84: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_chk_conn(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/checks.c: In function 'process_chk': src/checks.c:2437:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_EXT_CHK) ^~ src/checks.c: In function 'start_check_task': src/checks.c:2449:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_EXT_CHK) ^~ src/checks.c: In function 'start_checks': src/checks.c:2551:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (s->check.type == PR_O2_EXT_CHK) { ^~ src/checks.c: In function 'tcpcheck_main': src/checks.c:2829:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] check->current_step->string_len >= b_room(&check->bo))) { ^~ src/checks.c:3055:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (check->current_step->string_len >= b_size(&check->bo)) { ^~ src/checks.c:3065:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (check->current_step->string_len >= b_room(&check->bo)) ^~ src/checks.c:3142:78: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (!done && (check->current_step->string != NULL) && (b_data(&check->bi) < check->current_step->string_len) ) ^ src/checks.c: In function 'send_email_alert': src/checks.c:3638:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len < 0 || len >= sizeof(buf)) { ^~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/checks.c:33: src/checks.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:302:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/checks.c:3692:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(start_checks); ^~~~~~~~~~~~~~~~~~~ src/checks.c: In function '__health_adjust': src/checks.c:446:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (s->check.health > s->check.rise) ^ src/checks.c:451:3: note: here case HANA_ONERR_FAILCHK: ^~~~ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/backend.c:38: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/checks.c: In function 'process_chk_conn': src/checks.c:2301:17: warning: this statement may fall through [-Wimplicit-fallthrough=] check->state |= CHK_ST_PORT_MISS; src/checks.c:2302:3: note: here case SF_ERR_PRXCOND: ^~~~ In file included from src/backend.c:38: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/backend.c:56: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:33, from src/backend.c:59: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/backend.c: In function 'get_server_sh': src/backend.c:182:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] while ((l + sizeof (int)) <= len) { ^~ src/backend.c: In function 'assign_server_and_queue': src/backend.c:977:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (srv->nbpend || srv->served >= srv_dynamic_maxconn(srv))) { ^~ src/backend.c: In function 'connect_server': src/backend.c:1288:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (i == tid) ^~ src/backend.c: In function 'smp_fetch_nbsrv': src/backend.c:2000:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_nbsrv(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2000:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_nbsrv(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_is_up': src/backend.c:2019:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_is_up(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2019:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_is_up(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_connslots': src/backend.c:2038:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_connslots(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2038:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_connslots(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_be_id': src/backend.c:2065:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_be_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2065:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2065:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_be_name': src/backend.c:2078:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_be_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2078:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2078:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_id': src/backend.c:2096:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_srv_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2096:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2096:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_name': src/backend.c:2112:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_srv_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2112:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2112:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_be_sess_rate': src/backend.c:2135:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2135:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_be_conn': src/backend.c:2148:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2148:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_be_conn_free': src/backend.c:2189:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (maxconn > iterator->cur_sess) ^ src/backend.c:2162:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2162:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_queue_size': src/backend.c:2201:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2201:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_avg_queue_size': src/backend.c:2218:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_avg_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2218:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_avg_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_conn': src/backend.c:2242:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2242:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_conn_free': src/backend.c:2269:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (maxconn > args->data.srv->cur_sess) ^ src/backend.c:2255:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2255:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_queue': src/backend.c:2282:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_queue(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2282:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_queue(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_sess_rate': src/backend.c:2295:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2295:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'sample_conv_nbsrv': src/backend.c:2303:48: warning: unused parameter 'args' [-Wunused-parameter] static int sample_conv_nbsrv(const struct arg *args, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2303:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_nbsrv(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'sample_conv_srv_queue': src/backend.c:2322:41: warning: unused parameter 'args' [-Wunused-parameter] sample_conv_srv_queue(const struct arg *args, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2322:73: warning: unused parameter 'private' [-Wunused-parameter] sample_conv_srv_queue(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/backend.c: At top level: src/backend.c:2358:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "avg_queue", smp_fetch_avg_queue_size, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2359:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_conn", smp_fetch_be_conn, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2360:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_conn_free", smp_fetch_be_conn_free, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2361:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_id", smp_fetch_be_id, 0, NULL, SMP_T_SINT, SMP_USE_BKEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2362:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_name", smp_fetch_be_name, 0, NULL, SMP_T_STR, SMP_USE_BKEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2363:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_sess_rate", smp_fetch_be_sess_rate, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2364:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "connslots", smp_fetch_connslots, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2365:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "nbsrv", smp_fetch_nbsrv, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2366:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "queue", smp_fetch_queue_size, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2367:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_conn", smp_fetch_srv_conn, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2368:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_conn_free", smp_fetch_srv_conn_free, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2369:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_id", smp_fetch_srv_id, 0, NULL, SMP_T_SINT, SMP_USE_SERVR, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2370:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_is_up", smp_fetch_srv_is_up, ARG1(1,SRV), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2371:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_name", smp_fetch_srv_name, 0, NULL, SMP_T_STR, SMP_USE_SERVR, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2372:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_queue", smp_fetch_srv_queue, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2373:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_sess_rate", smp_fetch_srv_sess_rate, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/backend.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/backend.c:2377:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ src/backend.c:2381:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "nbsrv", sample_conv_nbsrv, 0, NULL, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/backend.c:2382:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "srv_queue", sample_conv_srv_queue, 0, NULL, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/backend.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/backend.c:2386:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/backend.c:2395:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ CC src/log.o In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/log.c:30: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/log.c:30: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/log.c:30: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/log.c:30: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/log.c:31: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/cli.h:24, from src/log.c:33: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/log.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ CC src/peers.o In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/ssl_sock.h:33, from src/log.c:45: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/ssl_sock.h:33, from src/log.c:45: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/log.c:47: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/log.c:47: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/log.c: At top level: src/log.c:133:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "o", LOG_FMT_GLOBAL, PR_MODE_TCP, 0, NULL }, /* global option */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:136:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "B", LOG_FMT_BYTES, PR_MODE_TCP, LW_BYTES, NULL }, /* bytes from server to client */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:137:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "CC", LOG_FMT_CCLIENT, PR_MODE_HTTP, LW_REQHDR, NULL }, /* client cookie */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:138:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "CS", LOG_FMT_CSERVER, PR_MODE_HTTP, LW_RSPHDR, NULL }, /* server cookie */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:139:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "H", LOG_FMT_HOSTNAME, PR_MODE_TCP, LW_INIT, NULL }, /* Hostname */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:140:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ID", LOG_FMT_UNIQUEID, PR_MODE_HTTP, LW_BYTES, NULL }, /* Unique ID */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:141:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ST", LOG_FMT_STATUS, PR_MODE_TCP, LW_RESP, NULL }, /* status code */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:142:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "T", LOG_FMT_DATEGMT, PR_MODE_TCP, LW_INIT, NULL }, /* date GMT */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:143:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Ta", LOG_FMT_Ta, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time active (tr to end) */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:144:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tc", LOG_FMT_TC, PR_MODE_TCP, LW_BYTES, NULL }, /* Tc */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:145:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Th", LOG_FMT_Th, PR_MODE_TCP, LW_BYTES, NULL }, /* Time handshake */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:146:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Ti", LOG_FMT_Ti, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time idle */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:147:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tl", LOG_FMT_DATELOCAL, PR_MODE_TCP, LW_INIT, NULL }, /* date local timezone */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:148:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tq", LOG_FMT_TQ, PR_MODE_HTTP, LW_BYTES, NULL }, /* Tq=Th+Ti+TR */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:149:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tr", LOG_FMT_Tr, PR_MODE_HTTP, LW_BYTES, NULL }, /* Tr */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:150:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "TR", LOG_FMT_TR, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time to receive a valid request */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:151:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Td", LOG_FMT_TD, PR_MODE_TCP, LW_BYTES, NULL }, /* Td = Tt - (Tq + Tw + Tc + Tr) */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:152:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Ts", LOG_FMT_TS, PR_MODE_TCP, LW_INIT, NULL }, /* timestamp GMT */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:153:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tt", LOG_FMT_TT, PR_MODE_TCP, LW_BYTES, NULL }, /* Tt */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:154:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tw", LOG_FMT_TW, PR_MODE_TCP, LW_BYTES, NULL }, /* Tw */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:155:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "U", LOG_FMT_BYTES_UP, PR_MODE_TCP, LW_BYTES, NULL }, /* bytes from client to server */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:156:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ac", LOG_FMT_ACTCONN, PR_MODE_TCP, LW_BYTES, NULL }, /* actconn */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:157:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "b", LOG_FMT_BACKEND, PR_MODE_TCP, LW_INIT, NULL }, /* backend */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:158:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bc", LOG_FMT_BECONN, PR_MODE_TCP, LW_BYTES, NULL }, /* beconn */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:159:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bi", LOG_FMT_BACKENDIP, PR_MODE_TCP, LW_BCKIP, prepare_addrsource }, /* backend source ip */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:160:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bp", LOG_FMT_BACKENDPORT, PR_MODE_TCP, LW_BCKIP, prepare_addrsource }, /* backend source port */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:161:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bq", LOG_FMT_BCKQUEUE, PR_MODE_TCP, LW_BYTES, NULL }, /* backend_queue */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:162:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ci", LOG_FMT_CLIENTIP, PR_MODE_TCP, LW_CLIP | LW_XPRT, NULL }, /* client ip */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:163:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "cp", LOG_FMT_CLIENTPORT, PR_MODE_TCP, LW_CLIP | LW_XPRT, NULL }, /* client port */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:164:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "f", LOG_FMT_FRONTEND, PR_MODE_TCP, LW_INIT, NULL }, /* frontend */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:165:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "fc", LOG_FMT_FECONN, PR_MODE_TCP, LW_BYTES, NULL }, /* feconn */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:166:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "fi", LOG_FMT_FRONTENDIP, PR_MODE_TCP, LW_FRTIP | LW_XPRT, NULL }, /* frontend ip */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:167:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "fp", LOG_FMT_FRONTENDPORT, PR_MODE_TCP, LW_FRTIP | LW_XPRT, NULL }, /* frontend port */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:168:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ft", LOG_FMT_FRONTEND_XPRT, PR_MODE_TCP, LW_INIT, NULL }, /* frontend with transport mode */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:169:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hr", LOG_FMT_HDRREQUEST, PR_MODE_TCP, LW_REQHDR, NULL }, /* header request */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:170:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hrl", LOG_FMT_HDRREQUESTLIST, PR_MODE_TCP, LW_REQHDR, NULL }, /* header request list */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:171:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hs", LOG_FMT_HDRRESPONS, PR_MODE_TCP, LW_RSPHDR, NULL }, /* header response */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:172:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hsl", LOG_FMT_HDRRESPONSLIST, PR_MODE_TCP, LW_RSPHDR, NULL }, /* header response list */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:173:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HM", LOG_FMT_HTTP_METHOD, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP method */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:174:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HP", LOG_FMT_HTTP_PATH, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP path */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:175:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HQ", LOG_FMT_HTTP_QUERY, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP query */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:176:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HU", LOG_FMT_HTTP_URI, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP full URI */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:177:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HV", LOG_FMT_HTTP_VERSION, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP version */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:178:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "lc", LOG_FMT_LOGCNT, PR_MODE_TCP, LW_INIT, NULL }, /* log counter */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:179:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ms", LOG_FMT_MS, PR_MODE_TCP, LW_INIT, NULL }, /* accept date millisecond */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:180:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "pid", LOG_FMT_PID, PR_MODE_TCP, LW_INIT, NULL }, /* log pid */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:181:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "r", LOG_FMT_REQ, PR_MODE_HTTP, LW_REQ, NULL }, /* request */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:182:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "rc", LOG_FMT_RETRIES, PR_MODE_TCP, LW_BYTES, NULL }, /* retries */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:183:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "rt", LOG_FMT_COUNTER, PR_MODE_TCP, LW_REQ, NULL }, /* request counter (HTTP or TCP session) */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:184:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "s", LOG_FMT_SERVER, PR_MODE_TCP, LW_SVID, NULL }, /* server */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:185:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sc", LOG_FMT_SRVCONN, PR_MODE_TCP, LW_BYTES, NULL }, /* srv_conn */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:186:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "si", LOG_FMT_SERVERIP, PR_MODE_TCP, LW_SVIP, NULL }, /* server destination ip */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:187:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sp", LOG_FMT_SERVERPORT, PR_MODE_TCP, LW_SVIP, NULL }, /* server destination port */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:188:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sq", LOG_FMT_SRVQUEUE, PR_MODE_TCP, LW_BYTES, NULL }, /* srv_queue */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:189:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sslc", LOG_FMT_SSL_CIPHER, PR_MODE_TCP, LW_XPRT, NULL }, /* client-side SSL ciphers */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:190:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sslv", LOG_FMT_SSL_VERSION, PR_MODE_TCP, LW_XPRT, NULL }, /* client-side SSL protocol version */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:191:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "t", LOG_FMT_DATE, PR_MODE_TCP, LW_INIT, NULL }, /* date */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:192:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "tr", LOG_FMT_tr, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:193:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "trg",LOG_FMT_trg, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request, GMT */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:194:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "trl",LOG_FMT_trl, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request, local */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:195:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ts", LOG_FMT_TERMSTATE, PR_MODE_TCP, LW_BYTES, NULL },/* termination state */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:196:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "tsc", LOG_FMT_TERMSTATE_CK, PR_MODE_TCP, LW_INIT, NULL },/* termination state */ ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:210:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { 0, 0, 0, 0, NULL } ^ src/log.c:126:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c: In function 'prepare_addrsource': src/log.c:307:47: warning: unused parameter 'node' [-Wunused-parameter] int prepare_addrsource(struct logformat_node *node, struct proxy *curproxy) ~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/log.c: In function 'parse_logformat_var': src/log.c:381:42: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (strlen(logformat_keywords[j].name) == var_len && ^~ src/log.c: In function 'lf_ip': src/log.c:1362:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (iret < 0 || iret > size) ^ src/log.c: In function 'lf_port': src/log.c:1386:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (iret < 0 || iret > size) ^ In file included from include/common/config.h:25, from src/log.c:27: src/log.c: In function '__do_send_log': src/log.c:1633:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (unlikely(hdr_size >= logsrv->maxlen)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/log.c:1664:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (unlikely(pid_size >= maxlen)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/common/time.h:31, from src/peers.c:25: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/time.h:31, from src/peers.c:25: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/log.c: In function 'sess_build_logline': src/log.c:2401:72: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] ret = ltoa_o((logs->t_data >= 0) ? logs->t_close - logs->t_data : -1, ^~ src/log.c:2404:78: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] ret = ltoa_o((logs->t_connect >= 0) ? logs->t_close - logs->t_connect : -1, ^~ In file included from include/common/standard.h:38, from include/common/time.h:31, from src/peers.c:25: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from src/peers.c:25: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/log.c: In function 'cli_parse_show_startup_logs': src/log.c:3042:47: warning: unused parameter 'args' [-Wunused-parameter] static int cli_parse_show_startup_logs(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/log.c:3042:59: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_startup_logs(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/log.c:3042:97: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_startup_logs(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/log.c: At top level: src/log.c:3056:4: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] "show startup-logs : report logs emitted during HAProxy startup", cli_parse_show_startup_logs, NULL, NULL }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/log.c:33: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/log.c:3057:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/log.c:33: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from src/log.c:29: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/log.c:3060:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/log.c:3062:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(init_log_buffers); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/log.c:3063:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(deinit_log_buffers); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/peers.c:25: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/peers.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/channel.h:32, from src/peers.c:37: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/peers.c:37: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/peers.c:37: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/peers.h:28, from src/peers.c:44: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ CC src/cli.o In file included from include/proto/peers.h:28, from src/peers.c:44: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/peers.c: In function 'peer_prepare_hellomsg': src/peers.c:360:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret >= size) ^~ src/peers.c: In function 'peer_prepare_status_successmsg': src/peers.c:376:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret >= size) ^~ src/peers.c:371:92: warning: unused parameter 'p' [-Wunused-parameter] static int peer_prepare_status_successmsg(char *msg, size_t size, struct peer_prep_params *p) ~~~~~~~~~~~~~~~~~~~~~~~~~^ src/peers.c: In function 'peer_prepare_status_errormsg': src/peers.c:394:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret >= size) ^~ src/peers.c: In function 'peer_prepare_updatemsg': src/peers.c:426:53: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_updatemsg(char *msg, size_t size, struct peer_prep_params *p) ~~~~~~~^~~~ src/peers.c: In function 'peer_prepare_switchmsg': src/peers.c:596:53: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_switchmsg(char *msg, size_t size, struct peer_prep_params *params) ~~~~~~~^~~~ src/peers.c: In function 'peer_prepare_ackmsg': src/peers.c:681:50: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_ackmsg(char *msg, size_t size, struct peer_prep_params *p) ~~~~~~~^~~~ src/peers.c: In function 'peer_send_teachmsgs': src/peers.c:1242:2: warning: label 'out' defined but not used [-Wunused-label] out: ^~~ src/peers.c: In function 'peer_treat_updatemsg': src/peers.c:1326:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (msg_len < sizeof(update)) ^ src/peers.c: In function 'peer_treat_ackmsg': src/peers.c:1555:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (st->local_id == table_id) { ^~ src/peers.c: In function 'peer_treat_definemsg': src/peers.c:1633:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (!p->remote_table && (table_id_len == strlen(st->table->nid)) && ^~ src/peers.c:1657:35: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if (p->remote_table->table->type != table_type ^~ src/peers.c:1658:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] || p->remote_table->table->key_size != table_keylen) { ^~ src/peers.c: In function 'peer_recv_msg': src/peers.c:1712:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 3 ; i < msg_head_sz ; i++) { ^ src/peers.c:1723:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i == msg_head_sz) { ^~ src/peers.c: In function 'flush_dcache': src/peers.c:2924:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < dc->max_entries; i++) ^ src/peers.c: In function 'cli_parse_show_peers': src/peers.c:3019:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_peers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/peers.c:3019:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_peers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/peers.c: In function 'peers_dump_peer': src/peers.c:3177:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < dcache->max_entries; i++) { ^ src/peers.c:3193:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < dcache->max_entries; i++) { ^ src/peers.c:3204:2: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ src/peers.c: At top level: src/peers.c:3293:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "peers", NULL }, "show peers [peers section]: dump some information about all the peers or this peers section", cli_parse_show_peers, cli_io_handler_show_peers, }, ^ In file included from include/proto/cli.h:28, from src/peers.c:38: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/time.h:30, from src/peers.c:25: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/peers.c:3298:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:30, from src/peers.c:25: src/peers.c: In function 'peer_io_handler': include/common/hathreads.h:390:39: warning: this statement may fall through [-Wimplicit-fallthrough=] #define _HA_ATOMIC_ADD(val, i) __atomic_add_fetch(val, i, __ATOMIC_RELAXED) ^~~~~~~~~~~~~~~~~~ src/peers.c:2248:5: note: in expansion of macro '_HA_ATOMIC_ADD' _HA_ATOMIC_ADD(&active_peers, 1); ^~~~~~~~~~~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/chunk.h: In function 'chunk_initlen': src/peers.c:2251:4: note: here case PEER_SESS_ST_SENDSUCCESS: { ^~~~ include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/peers.c:2295:17: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st0 = PEER_SESS_ST_GETSTATUS; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/peers.c:2298:4: note: here case PEER_SESS_ST_GETSTATUS: { ^~~~ src/peers.c:2337:17: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st0 = PEER_SESS_ST_WAITMSG; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/peers.c:2340:4: note: here case PEER_SESS_ST_WAITMSG: { ^~~~ src/peers.c:2423:16: warning: this statement may fall through [-Wimplicit-fallthrough=] prev_state = appctx->st0; ~~~~~~~~~~~^~~~~~~~~~~~~ src/peers.c:2426:4: note: here case PEER_SESS_ST_END: { ^~~~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/haproxy.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/haproxy.c:83: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/haproxy.c:83: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/haproxy.c:83: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/haproxy.c:83: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/haproxy.c:83: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/haproxy.c:83: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cli.c:29: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from src/cli.c:50: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/cli.c:50: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from src/cli.c:66: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/ssl_sock.h:33, from src/cli.c:69: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/cli.c: In function 'alloc_stats_fe': src/cli.c:201:49: warning: unused parameter 'name' [-Wunused-parameter] static struct proxy *alloc_stats_fe(const char *name, const char *file, int line) ~~~~~~~~~~~~^~~~ src/cli.c: In function 'stats_parse_global': src/cli.c:234:48: warning: unused parameter 'section_type' [-Wunused-parameter] static int stats_parse_global(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/cli.c:234:76: warning: unused parameter 'curpx' [-Wunused-parameter] static int stats_parse_global(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/cli.c:235:45: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ In file included from include/common/cfgparse.h:27, from src/cli.c:29: src/cli.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:152:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, cfg_register_postparser, (name), (parser)) ^~~~~~~~~ src/cli.c:453:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("cli", cli_socket_setenv); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/cli.c: In function 'cli_io_handler_show_activity': src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1150:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "loops:"); SHOW_TOT(thr, activity[thr].loops); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1150:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "loops:"); SHOW_TOT(thr, activity[thr].loops); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1151:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_tasks:"); SHOW_TOT(thr, activity[thr].wake_tasks); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1151:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_tasks:"); SHOW_TOT(thr, activity[thr].wake_tasks); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1152:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_signal:"); SHOW_TOT(thr, activity[thr].wake_signal); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1152:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_signal:"); SHOW_TOT(thr, activity[thr].wake_signal); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1153:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_exp:"); SHOW_TOT(thr, activity[thr].poll_exp); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1153:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_exp:"); SHOW_TOT(thr, activity[thr].poll_exp); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1154:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_drop:"); SHOW_TOT(thr, activity[thr].poll_drop); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1154:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_drop:"); SHOW_TOT(thr, activity[thr].poll_drop); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1155:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_dead:"); SHOW_TOT(thr, activity[thr].poll_dead); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1155:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_dead:"); SHOW_TOT(thr, activity[thr].poll_dead); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1156:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_skip:"); SHOW_TOT(thr, activity[thr].poll_skip); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1156:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_skip:"); SHOW_TOT(thr, activity[thr].poll_skip); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1157:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "fd_lock:"); SHOW_TOT(thr, activity[thr].fd_lock); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1157:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "fd_lock:"); SHOW_TOT(thr, activity[thr].fd_lock); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1158:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "conn_dead:"); SHOW_TOT(thr, activity[thr].conn_dead); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1158:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "conn_dead:"); SHOW_TOT(thr, activity[thr].conn_dead); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1159:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "stream:"); SHOW_TOT(thr, activity[thr].stream); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1159:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "stream:"); SHOW_TOT(thr, activity[thr].stream); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1160:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "pool_fail:"); SHOW_TOT(thr, activity[thr].pool_fail); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1160:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "pool_fail:"); SHOW_TOT(thr, activity[thr].pool_fail); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1161:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "buf_wait:"); SHOW_TOT(thr, activity[thr].buf_wait); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1161:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "buf_wait:"); SHOW_TOT(thr, activity[thr].buf_wait); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1162:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "empty_rq:"); SHOW_TOT(thr, activity[thr].empty_rq); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1162:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "empty_rq:"); SHOW_TOT(thr, activity[thr].empty_rq); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1163:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "long_rq:"); SHOW_TOT(thr, activity[thr].long_rq); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1163:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "long_rq:"); SHOW_TOT(thr, activity[thr].long_rq); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1164:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "ctxsw:"); SHOW_TOT(thr, activity[thr].ctxsw); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1164:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "ctxsw:"); SHOW_TOT(thr, activity[thr].ctxsw); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1165:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "tasksw:"); SHOW_TOT(thr, activity[thr].tasksw); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1165:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "tasksw:"); SHOW_TOT(thr, activity[thr].tasksw); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1166:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_tot:"); SHOW_TOT(thr, activity[thr].cpust_total / 2); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1166:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_tot:"); SHOW_TOT(thr, activity[thr].cpust_total / 2); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1167:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_1s:"); SHOW_TOT(thr, read_freq_ctr(&activity[thr].cpust_1s) / 2); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1167:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_1s:"); SHOW_TOT(thr, read_freq_ctr(&activity[thr].cpust_1s) / 2); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1168:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_15s:"); SHOW_TOT(thr, read_freq_ctr_period(&activity[thr].cpust_15s, 15000) / 2); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1168:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_15s:"); SHOW_TOT(thr, read_freq_ctr_period(&activity[thr].cpust_15s, 15000) / 2); ^~~~~~~~ src/cli.c:1136:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1169:42: note: in expansion of macro 'SHOW_AVG' chunk_appendf(&trash, "avg_loop_us:"); SHOW_AVG(thr, swrate_avg(activity[thr].avg_loop_us, TIME_STATS_SAMPLES)); ^~~~~~~~ src/cli.c:1143:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1169:42: note: in expansion of macro 'SHOW_AVG' chunk_appendf(&trash, "avg_loop_us:"); SHOW_AVG(thr, swrate_avg(activity[thr].avg_loop_us, TIME_STATS_SAMPLES)); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1170:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accepted:"); SHOW_TOT(thr, activity[thr].accepted); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1170:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accepted:"); SHOW_TOT(thr, activity[thr].accepted); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1171:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_pushed:"); SHOW_TOT(thr, activity[thr].accq_pushed); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1171:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_pushed:"); SHOW_TOT(thr, activity[thr].accq_pushed); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1172:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_full:"); SHOW_TOT(thr, activity[thr].accq_full); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1172:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_full:"); SHOW_TOT(thr, activity[thr].accq_full); ^~~~~~~~ src/cli.c:1118:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1174:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_ring:"); SHOW_TOT(thr, (accept_queue_rings[thr].tail - accept_queue_rings[thr].head + ACCEPT_QUEUE_SIZE) % ACCEPT_QUEUE_SIZE); ^~~~~~~~ src/cli.c:1125:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1174:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_ring:"); SHOW_TOT(thr, (accept_queue_rings[thr].tail - accept_queue_rings[thr].head + ACCEPT_QUEUE_SIZE) % ACCEPT_QUEUE_SIZE); ^~~~~~~~ src/cli.c: In function 'cli_io_handler_show_cli_sock': src/cli.c:1271:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (pos = 0; pos < 8 * sizeof(bind_conf->bind_proc); pos++) { ^ src/cli.c: In function 'cli_parse_show_env': src/cli.c:1302:50: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_env(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1302:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_env(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_show_fd': src/cli.c:1333:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_fd(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1333:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_fd(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_set_timeout': src/cli.c:1348:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_timeout(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1348:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_timeout(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_set_maxconn_global': src/cli.c:1373:60: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_maxconn_global(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1373:98: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_maxconn_global(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_set_severity_output': src/cli.c:1418:61: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_severity_output(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1418:99: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_severity_output(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_show_lvl': src/cli.c:1428:38: warning: unused parameter 'args' [-Wunused-parameter] static int cli_parse_show_lvl(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/cli.c:1428:50: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_lvl(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1428:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_lvl(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_set_lvl': src/cli.c:1441:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_lvl(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1441:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_lvl(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_expert_mode': src/cli.c:1467:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_expert_mode(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1467:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_expert_mode(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_default': src/cli.c:1484:30: warning: unused parameter 'args' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/cli.c:1484:42: warning: unused parameter 'payload' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1484:66: warning: unused parameter 'appctx' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~~~~~~~~~^~~~~~ src/cli.c:1484:80: warning: unused parameter 'private' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_set_ratelimit': src/cli.c:1490:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_ratelimit(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1490:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_ratelimit(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'bind_parse_expose_fd': src/cli.c:1539:73: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_expose_fd(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/cli.c: In function 'bind_parse_level': src/cli.c:1557:69: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_level(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/cli.c: In function 'bind_parse_severity_output': src/cli.c:1582:79: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_severity_output(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/cli.c: In function '_getsocks': src/cli.c:1601:29: warning: unused parameter 'args' [-Wunused-parameter] static int _getsocks(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/cli.c:1601:41: warning: unused parameter 'payload' [-Wunused-parameter] static int _getsocks(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1601:79: warning: unused parameter 'private' [-Wunused-parameter] static int _getsocks(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_simple': src/cli.c:1862:48: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_simple(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1862:86: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_simple(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'pcli_wait_for_request': src/cli.c:2198:70: warning: unused parameter 'an_bit' [-Wunused-parameter] int pcli_wait_for_request(struct stream *s, struct channel *req, int an_bit) ~~~~^~~~~~ src/cli.c: In function 'pcli_wait_for_response': src/cli.c:2293:71: warning: unused parameter 'an_bit' [-Wunused-parameter] int pcli_wait_for_response(struct stream *s, struct channel *rep, int an_bit) ~~~~^~~~~~ src/cli.c: At top level: src/cli.c:2775:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "help", NULL }, NULL, cli_parse_simple, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2776:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "prompt", NULL }, NULL, cli_parse_simple, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2777:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "quit", NULL }, NULL, cli_parse_simple, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2778:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "maxconn", "global", NULL }, "set maxconn global : change the per-process maxconn setting", cli_parse_set_maxconn_global, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2779:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "rate-limit", NULL }, "set rate-limit : change a rate limiting value", cli_parse_set_ratelimit, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2780:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "severity-output", NULL }, "set severity-output [none|number|string] : set presence of severity level in feedback information", cli_parse_set_severity_output, NULL, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2781:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "timeout", NULL }, "set timeout : change a timeout setting", cli_parse_set_timeout, NULL, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2782:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "env", NULL }, "show env [var] : dump environment variables known to the process", cli_parse_show_env, cli_io_handler_show_env, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2785:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "fd", NULL }, "show fd [num] : dump list of file descriptors in use", cli_parse_show_fd, cli_io_handler_show_fd, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2786:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "activity", NULL }, "show activity : show per-thread activity stats (for support/developers)", cli_parse_default, cli_io_handler_show_activity, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2789:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "_getsocks", NULL }, NULL, _getsocks, NULL }, ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2790:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "expert-mode", NULL }, NULL, cli_parse_expert_mode, NULL }, // not listed ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2791:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from include/proto/cli.h:28, from src/cli.c:52: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/cli.c:29: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cli.c:2794:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cli.c:2801:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cli.c:2810:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ src/cli.c: In function 'cli_io_handler_show_cli_sock': src/cli.c:1214:16: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st2 = STAT_ST_LIST; ~~~~~~~~~~~~^~~~~~~~~~~~~~ src/cli.c:1216:3: note: here case STAT_ST_LIST: ^~~~ src/cli.c:1217:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (global.stats_fe) { ^ src/cli.c:1291:3: note: here default: ^~~~~~~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/haproxy.c:83: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from src/haproxy.c:114: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/haproxy.c:114: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/haproxy.c:116: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/haproxy.c:116: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/haproxy.c:119: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:43:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ~~~~~~~~~~~~~^~~ src/haproxy.c: In function 'sig_pause': src/haproxy.c:933:43: warning: unused parameter 'sh' [-Wunused-parameter] static void sig_pause(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'sig_listen': src/haproxy.c:942:44: warning: unused parameter 'sh' [-Wunused-parameter] static void sig_listen(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'sig_dump_state': src/haproxy.c:950:48: warning: unused parameter 'sh' [-Wunused-parameter] static void sig_dump_state(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'dump': src/haproxy.c:996:38: warning: unused parameter 'sh' [-Wunused-parameter] static void dump(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'get_old_sockets': src/haproxy.c:1214:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (totlen / sizeof(int) + got_fd > fd_nb) { ^ src/haproxy.c: In function 'compute_ideal_maxpipes': src/haproxy.c:1487:43: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] max = cur->fullconn ? cur->fullconn : global.maxconn; ^~~~~~~~~~~~~~ src/haproxy.c: In function 'run_thread_poll_loop': src/haproxy.c:2808:2: warning: implicit declaration of function 'pthread_getcpuclockid'; did you mean 'pthread_getspecific'? [-Wimplicit-function-declaration] pthread_getcpuclockid(pthread_self(), &ti->clock_id); ^~~~~~~~~~~~~~~~~~~~~ pthread_getspecific src/haproxy.c: In function 'manage_global_listener_queue': src/haproxy.c:2889:72: warning: unused parameter 'context' [-Wunused-parameter] static struct task *manage_global_listener_queue(struct task *t, void *context, unsigned short state) ~~~~~~^~~~~~~ src/haproxy.c:2889:96: warning: unused parameter 'state' [-Wunused-parameter] static struct task *manage_global_listener_queue(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/haproxy.c: In function 'main': src/haproxy.c:3214:21: warning: comparison of integer expressions of different signedness: 'rlim_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] if (limit.rlim_cur < global.maxsock) { ^ CC src/stick_table.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/standard.o In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/chunk.h:30, from src/standard.c:29: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/standard.c:29: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/standard.c:31: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/proto/http_ana.h:26, from src/stick_table.c:36: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/standard.c:31: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/stream_interface.h:32, from src/stick_table.c:41: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/stick_table.c:41: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:33, from src/stick_table.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/stick_table.c: In function 'process_table_expire': src/stick_table.c:616:91: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_table_expire(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/stick_table.c: In function 'sample_conv_in_table': src/stick_table.c:1102:84: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_in_table(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_bytes_in_rate': src/stick_table.c:1129:95: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_bytes_in_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_conn_cnt': src/stick_table.c:1166:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_conn_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_conn_cur': src/stick_table.c:1202:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_conn_cur(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_conn_rate': src/stick_table.c:1238:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_conn_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_bytes_out_rate': src/stick_table.c:1275:96: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_bytes_out_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpt0': src/stick_table.c:1312:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpt0(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc0': src/stick_table.c:1348:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc0(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc0_rate': src/stick_table.c:1384:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc0_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc1': src/stick_table.c:1421:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc1(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc1_rate': src/stick_table.c:1457:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc1_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_err_cnt': src/stick_table.c:1494:94: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_err_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_err_rate': src/stick_table.c:1530:95: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_err_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_req_cnt': src/stick_table.c:1567:94: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_req_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_req_rate': src/stick_table.c:1603:95: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_req_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_kbytes_in': src/stick_table.c:1640:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_kbytes_in(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_kbytes_out': src/stick_table.c:1676:92: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_kbytes_out(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_server_id': src/stick_table.c:1712:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_server_id(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_sess_cnt': src/stick_table.c:1748:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_sess_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_sess_rate': src/stick_table.c:1784:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_sess_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_trackers': src/stick_table.c:1821:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_trackers(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'action_inc_gpc0': src/stick_table.c:1849:77: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_inc_gpc0(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c:1850:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/stick_table.c: In function 'parse_inc_gpc0': src/stick_table.c:1896:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_inc_gpc0(const char **args, int *arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c: In function 'action_inc_gpc1': src/stick_table.c:1931:77: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_inc_gpc1(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c:1932:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/stick_table.c: In function 'parse_inc_gpc1': src/stick_table.c:1978:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_inc_gpc1(const char **args, int *arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c: In function 'action_set_gpt0': src/stick_table.c:2014:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/stick_table.c: In function 'smp_fetch_table_cnt': src/stick_table.c:2154:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_table_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/stick_table.c:2154:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_table_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_table_avl': src/stick_table.c:2166:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_table_avl(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/stick_table.c:2166:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_table_avl(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_tracked': src/stick_table.c:2298:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_tracked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_get_gpt0': src/stick_table.c:2321:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_get_gpt0(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_get_gpc0': src/stick_table.c:2362:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_get_gpc0(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_get_gpc1': src/stick_table.c:2403:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_get_gpc1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_gpc0_rate': src/stick_table.c:2444:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_gpc0_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_gpc1_rate': src/stick_table.c:2485:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_gpc1_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_inc_gpc0': src/stick_table.c:2525:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_inc_gpc0(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_inc_gpc1': src/stick_table.c:2578:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_inc_gpc1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_clr_gpc0': src/stick_table.c:2631:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_clr_gpc0(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_clr_gpc1': src/stick_table.c:2675:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_clr_gpc1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_conn_cnt': src/stick_table.c:2719:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_conn_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_conn_rate': src/stick_table.c:2760:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_conn_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_src_updt_conn_cnt': src/stick_table.c:2800:85: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_src_updt_conn_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/stick_table.c:2800:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_src_updt_conn_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_conn_cur': src/stick_table.c:2852:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_conn_cur(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_sess_cnt': src/stick_table.c:2891:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_sess_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_sess_rate': src/stick_table.c:2929:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_http_req_cnt': src/stick_table.c:2969:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_http_req_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_http_req_rate': src/stick_table.c:3008:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_http_req_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_http_err_cnt': src/stick_table.c:3048:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_http_err_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_http_err_rate': src/stick_table.c:3087:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_http_err_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_kbytes_in': src/stick_table.c:3127:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_kbytes_in(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_bytes_in_rate': src/stick_table.c:3166:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_bytes_in_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_kbytes_out': src/stick_table.c:3206:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_kbytes_out(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_bytes_out_rate': src/stick_table.c:3245:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_bytes_out_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_trackers': src/stick_table.c:3284:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_trackers(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'cli_parse_table_req': src/stick_table.c:3626:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_table_req(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stick_table.c: At top level: src/stick_table.c:3844:2: warning: missing initializer for field 'level' of 'struct cli_kw' [-Wmissing-field-initializers] { { "clear", "table", NULL }, "clear table : remove an entry from a table", cli_parse_table_req, cli_io_handler_table, cli_release_show_table, (void *)STK_CLI_ACT_CLR }, ^ In file included from src/stick_table.c:28: include/types/cli.h:47:6: note: 'level' declared here int level; /* this is the level needed to show the keyword usage and to use it */ ^~~~~ src/stick_table.c:3845:2: warning: missing initializer for field 'level' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "table", NULL }, "set table [id] : update or create a table entry's data", cli_parse_table_req, cli_io_handler_table, NULL, (void *)STK_CLI_ACT_SET }, ^ In file included from src/stick_table.c:28: include/types/cli.h:47:6: note: 'level' declared here int level; /* this is the level needed to show the keyword usage and to use it */ ^~~~~ src/stick_table.c:3846:2: warning: missing initializer for field 'level' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "table", NULL }, "show table [id]: report table usage stats or dump this table's contents", cli_parse_table_req, cli_io_handler_table, cli_release_show_table, (void *)STK_CLI_ACT_SHOW }, ^ In file included from src/stick_table.c:28: include/types/cli.h:47:6: note: 'level' declared here int level; /* this is the level needed to show the keyword usage and to use it */ ^~~~~ src/stick_table.c:3847:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stick_table.c:28: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3850:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/stick_table.c:3853:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3854:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3855:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3859:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_conn_keywords_register, &tcp_conn_kws); ^~~~~~~~~ src/stick_table.c:3862:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3863:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3864:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3868:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_sess_keywords_register, &tcp_sess_kws); ^~~~~~~~~ src/stick_table.c:3871:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3872:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3873:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3877:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_kws); ^~~~~~~~~ src/stick_table.c:3880:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3881:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3882:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3886:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_kws); ^~~~~~~~~ src/stick_table.c:3889:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3890:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3891:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3895:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/stick_table.c:3898:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3899:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3900:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3904:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_kws); ^~~~~~~~~ src/stick_table.c:3918:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3919:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3920:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3921:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3922:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_conn_cnt", smp_fetch_sc_conn_cnt, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3923:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_conn_cur", smp_fetch_sc_conn_cur, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3924:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_conn_rate", smp_fetch_sc_conn_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3925:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_get_gpt0", smp_fetch_sc_get_gpt0, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3926:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_get_gpc0", smp_fetch_sc_get_gpc0, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3927:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_get_gpc1", smp_fetch_sc_get_gpc1, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3928:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3929:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3930:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3931:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_http_err_rate", smp_fetch_sc_http_err_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3932:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3933:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_http_req_rate", smp_fetch_sc_http_req_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3934:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3935:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3936:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_kbytes_in", smp_fetch_sc_kbytes_in, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3937:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_kbytes_out", smp_fetch_sc_kbytes_out, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3938:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_sess_cnt", smp_fetch_sc_sess_cnt, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3939:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_sess_rate", smp_fetch_sc_sess_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3940:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_tracked", smp_fetch_sc_tracked, ARG2(1,SINT,TAB), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3941:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_trackers", smp_fetch_sc_trackers, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3942:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3943:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3944:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3945:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3946:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_conn_cnt", smp_fetch_sc_conn_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3947:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_conn_cur", smp_fetch_sc_conn_cur, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3948:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_conn_rate", smp_fetch_sc_conn_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3949:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_get_gpt0", smp_fetch_sc_get_gpt0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3950:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_get_gpc0", smp_fetch_sc_get_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3951:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3952:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3953:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3954:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3955:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3956:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3957:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_http_req_rate", smp_fetch_sc_http_req_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3958:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3959:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3960:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_kbytes_in", smp_fetch_sc_kbytes_in, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3961:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_kbytes_out", smp_fetch_sc_kbytes_out, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3962:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_sess_cnt", smp_fetch_sc_sess_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3963:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_sess_rate", smp_fetch_sc_sess_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3964:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_tracked", smp_fetch_sc_tracked, ARG1(0,TAB), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3965:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_trackers", smp_fetch_sc_trackers, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3966:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3967:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3968:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3969:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3970:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_conn_cnt", smp_fetch_sc_conn_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3971:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_conn_cur", smp_fetch_sc_conn_cur, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3972:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_conn_rate", smp_fetch_sc_conn_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3973:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_get_gpt0", smp_fetch_sc_get_gpt0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3974:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_get_gpc0", smp_fetch_sc_get_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3975:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3976:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3977:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3978:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3979:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3980:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3981:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_http_req_rate", smp_fetch_sc_http_req_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3982:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3983:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3984:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_kbytes_in", smp_fetch_sc_kbytes_in, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3985:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_kbytes_out", smp_fetch_sc_kbytes_out, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3986:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_sess_cnt", smp_fetch_sc_sess_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3987:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_sess_rate", smp_fetch_sc_sess_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3988:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_tracked", smp_fetch_sc_tracked, ARG1(0,TAB), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3989:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_trackers", smp_fetch_sc_trackers, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3990:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3991:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3992:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3993:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3994:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_conn_cnt", smp_fetch_sc_conn_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3995:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_conn_cur", smp_fetch_sc_conn_cur, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3996:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_conn_rate", smp_fetch_sc_conn_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3997:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_get_gpt0", smp_fetch_sc_get_gpt0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3998:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_get_gpc0", smp_fetch_sc_get_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3999:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4000:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4001:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4002:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4003:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4004:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4005:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_req_rate", smp_fetch_sc_http_req_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4006:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4007:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4008:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_kbytes_in", smp_fetch_sc_kbytes_in, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4009:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_kbytes_out", smp_fetch_sc_kbytes_out, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4010:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_sess_cnt", smp_fetch_sc_sess_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4011:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_sess_rate", smp_fetch_sc_sess_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4012:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_tracked", smp_fetch_sc_tracked, ARG1(0,TAB), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4013:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_trackers", smp_fetch_sc_trackers, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4014:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4015:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4016:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4017:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4018:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_conn_cnt", smp_fetch_sc_conn_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4019:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_conn_cur", smp_fetch_sc_conn_cur, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4020:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_conn_rate", smp_fetch_sc_conn_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4021:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_get_gpt0", smp_fetch_sc_get_gpt0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4022:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_get_gpc0", smp_fetch_sc_get_gpc0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4023:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4024:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4025:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4026:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4027:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4028:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4029:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_req_rate", smp_fetch_sc_http_req_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4030:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4031:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4032:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_kbytes_in", smp_fetch_sc_kbytes_in, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4033:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_kbytes_out", smp_fetch_sc_kbytes_out, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4034:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_sess_cnt", smp_fetch_sc_sess_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4035:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_sess_rate", smp_fetch_sc_sess_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4036:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_updt_conn_cnt", smp_fetch_src_updt_conn_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4037:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "table_avl", smp_fetch_table_avl, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4038:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "table_cnt", smp_fetch_table_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:4042:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_fetch_keywords); ^~~~~~~~~ src/stick_table.c:4046:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "in_table", sample_conv_in_table, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4047:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_bytes_in_rate", sample_conv_table_bytes_in_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4048:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_bytes_out_rate", sample_conv_table_bytes_out_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4049:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_conn_cnt", sample_conv_table_conn_cnt, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4050:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_conn_cur", sample_conv_table_conn_cur, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4051:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_conn_rate", sample_conv_table_conn_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4052:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_gpt0", sample_conv_table_gpt0, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4053:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_gpc0", sample_conv_table_gpc0, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4054:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_gpc1", sample_conv_table_gpc1, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4055:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_gpc0_rate", sample_conv_table_gpc0_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4056:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_gpc1_rate", sample_conv_table_gpc1_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4057:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_http_err_cnt", sample_conv_table_http_err_cnt, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4058:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_http_err_rate", sample_conv_table_http_err_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4059:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_http_req_cnt", sample_conv_table_http_req_cnt, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4060:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_http_req_rate", sample_conv_table_http_req_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4061:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_kbytes_in", sample_conv_table_kbytes_in, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4062:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_kbytes_out", sample_conv_table_kbytes_out, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4063:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_server_id", sample_conv_table_server_id, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4064:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_sess_cnt", sample_conv_table_sess_cnt, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4065:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_sess_rate", sample_conv_table_sess_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4066:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_trackers", sample_conv_table_trackers, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:4070:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/standard.c:33: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/standard.c:33: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/standard.c: In function 'ulltoa': src/standard.c:153:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ src/standard.c: In function 'ultoa_o': src/standard.c:265:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ src/standard.c: In function 'utoa_pad': src/standard.c:371:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ src/standard.c:373:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i < size) ^ src/standard.c: In function 'url2sa': src/standard.c:1319:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (trash.size < ulen) ^ src/standard.c: In function 'buf2ip': src/standard.c:2556:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (addr = buf; addr - buf < len; addr++) { ^ src/standard.c: In function 'quote_arg': src/standard.c:2627:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 1; i < sizeof(val) - 2 && *ptr; i++) ^ src/standard.c: In function 'in_net_ipv6': src/standard.c:2774:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/standard.c: In function 'strnistr': src/standard.c:3880:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (tmp1 >= len_str1) ^~ src/standard.c:3897:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (*pptr == '\0' || tmp2 == len_str2) /* end of pattern found */ ^~ src/standard.c:3899:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (*sptr == '\0' || tmp2 == len_str1) /* end of string found and the pattern is not fully found */ ^~ src/standard.c: In function 'dump_text_line': src/standard.c:4210:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (end > out->size) ^ src/standard.c:4218:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->data > end - 2) ^ src/standard.c:4222:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->data > end - 3) ^ src/standard.c:4234:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->data > end - 5) ^ CC src/sample.o CC src/proxy.o In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/sample.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/sample.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/sample.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/sample.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/sample.c:31: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/proxy.c:21: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/sample.c:33: include/proto/protocol_buffers.h: In function 'protobuf_skip_varint': include/proto/protocol_buffers.h:211:63: warning: unused parameter 'vlen' [-Wunused-parameter] protobuf_skip_varint(unsigned char **pos, size_t *len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_smp_store_varint': include/proto/protocol_buffers.h:280:70: warning: unused parameter 'vlen' [-Wunused-parameter] unsigned char *pos, size_t len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_skip_64bit': include/proto/protocol_buffers.h:334:66: warning: unused parameter 'vlen' [-Wunused-parameter] int protobuf_skip_64bit(unsigned char **pos, size_t *len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_smp_store_64bit': include/proto/protocol_buffers.h:352:69: warning: unused parameter 'vlen' [-Wunused-parameter] unsigned char *pos, size_t len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_skip_32bit': include/proto/protocol_buffers.h:425:66: warning: unused parameter 'vlen' [-Wunused-parameter] int protobuf_skip_32bit(unsigned char **pos, size_t *len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_smp_store_32bit': include/proto/protocol_buffers.h:443:69: warning: unused parameter 'vlen' [-Wunused-parameter] unsigned char *pos, size_t len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_field_lookup': include/proto/protocol_buffers.h:504:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (field < fid_sz) { ^ include/proto/protocol_buffers.h:553:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (found && field == fid_sz - 1) ^~ src/sample.c: In function 'c_bin2str': src/sample.c:618:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c: In function 'c_none': src/sample.c:703:27: warning: unused parameter 'smp' [-Wunused-parameter] int c_none(struct sample *smp) ~~~~~~~~~~~~~~~^~~ src/sample.c: In function 'sample_conv_debug': src/sample.c:1474:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < tmp.data.u.str.data; i++) { ^ src/sample.c:1440:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_debug(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_check_debug': src/sample.c:1494:66: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_debug(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:1495:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:1495:50: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_base642bin': src/sample.c:1520:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_base642bin(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1520:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_base642bin(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_bin2base64': src/sample.c:1538:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_bin2base64(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1538:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bin2base64(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_sha1': src/sample.c:1556:47: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_sha1(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1556:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_sha1(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_check_sha2': src/sample.c:1575:65: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_sha2(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:1576:39: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:1576:49: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_sha2': src/sample.c:1598:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_sha2(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_bin2hex': src/sample.c:1668:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (ptr < smp->data.u.str.data && trash->data <= trash->size - 2) { ^ src/sample.c:1661:50: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_bin2hex(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1661:83: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bin2hex(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_hex2int': src/sample.c:1684:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1679:50: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_hex2int(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1679:83: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_hex2int(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_djb2': src/sample.c:1697:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_djb2(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_length': src/sample.c:1707:49: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_length(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1707:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_length(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_str2lower': src/sample.c:1723:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1716:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_str2lower(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1716:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_str2lower(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_str2upper': src/sample.c:1737:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1730:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_str2upper(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1730:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_str2upper(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ In file included from include/proto/channel.h:32, from include/proto/filters.h:30, from src/proxy.c:43: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ src/sample.c: In function 'sample_conv_ipmask': src/sample.c:1745:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ipmask(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ src/sample.c: In function 'sample_conv_ltime': src/sample.c:1773:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ltime(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_sdbm': src/sample.c:1796:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_sdbm(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_utime': src/sample.c:1810:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_utime(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/sample.c: In function 'sample_conv_wt6': src/sample.c:1833:79: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_wt6(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_xxh32': src/sample.c:1846:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_xxh32(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_xxh64': src/sample.c:1866:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_xxh64(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_crc32': src/sample.c:1881:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_crc32(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_crc32c': src/sample.c:1892:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_crc32c(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_json_check': src/sample.c:1919:72: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_json_check(struct arg *arg, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:1920:47: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:1920:57: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ In file included from include/proto/filters.h:30, from src/proxy.c:43: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/sample.c: In function 'sample_conv_json': src/sample.c:1973:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_json(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_bytes': src/sample.c:2090:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bytes(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_field_check': src/sample.c:2108:74: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_field_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2109:47: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2109:57: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_field': src/sample.c:2161:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const unsigned int'} [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ src/sample.c:2180:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (end - smp->data.u.str.area < smp->data.u.str.data) { ^ src/sample.c:2181:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const unsigned int'} [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ src/sample.c:2147:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_field(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_word': src/sample.c:2241:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const unsigned int'} [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ src/sample.c:2269:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (end - smp->data.u.str.area < smp->data.u.str.data) { ^ src/sample.c:2271:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const unsigned int'} [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ src/sample.c:2225:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_word(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_regsub_check': src/sample.c:2321:75: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_regsub_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2322:49: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2322:59: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ In file included from src/proxy.c:49: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/sample.c: In function 'sample_conv_regsub': src/sample.c:2399:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const unsigned int'} [-Wsign-compare] if (max > arg_p[1].data.str.data) ^ src/sample.c:2358:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_regsub(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'check_operator': src/sample.c:2431:65: warning: unused parameter 'conv' [-Wunused-parameter] static int check_operator(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2432:39: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2432:49: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_binary_cpl': src/sample.c:2483:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_binary_cpl(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2483:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_cpl(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_binary_and': src/sample.c:2492:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_and(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_binary_or': src/sample.c:2506:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_or(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_binary_xor': src/sample.c:2520:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_xor(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_add': src/sample.c:2560:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_arith_add(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_sub': src/sample.c:2575:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_mul': src/sample.c:2607:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_div': src/sample.c:2652:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_mod': src/sample.c:2680:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_neg': src/sample.c:2706:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_neg(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2707:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_bool': src/sample.c:2719:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_bool(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2720:61: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_not': src/sample.c:2730:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_not(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2731:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_odd': src/sample.c:2741:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_odd(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2742:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_even': src/sample.c:2752:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_even(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2753:61: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_concat': src/sample.c:2779:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (max > trash->size - 1 - trash->data) ^ src/sample.c:2797:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (max > trash->size - 1 - trash->data) ^ src/sample.c:2810:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (max > trash->size - 1 - trash->data) ^ src/sample.c:2763:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_concat(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_check_concat': src/sample.c:2827:67: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_concat(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2828:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2828:50: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_strcmp': src/sample.c:2842:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_strcmp(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ In file included from include/proto/stream_interface.h:33, from src/proxy.c:52: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c: In function 'sample_conv_ungrpc': src/sample.c:2883:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ungrpc(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_protobuf': src/sample.c:2911:84: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_protobuf(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_protobuf_check': src/sample.c:2922:77: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_protobuf_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2923:51: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2923:61: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'smp_check_strcmp': src/sample.c:2948:67: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_strcmp(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2949:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2949:50: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'smp_fetch_true': src/sample.c:2966:34: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_true(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2966:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_true(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2966:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_true(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_false': src/sample.c:2978:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_false(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2978:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_false(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2978:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_false(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_env': src/sample.c:2987:71: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_env(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2987:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_env(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proxy.c: At top level: src/proxy.c:116:2: warning: missing initializer for field 'mode' of 'const struct cfg_opt' [-Wmissing-field-initializers] { NULL, 0, 0, 0 } ^ In file included from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/types/proxy.h:552:15: note: 'mode' declared here unsigned int mode; ^~~~ src/sample.c: In function 'smp_fetch_date': src/sample.c:3044:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_date(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3044:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_date(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_date_us': src/sample.c:3070:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_date_us(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3070:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_date_us(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3070:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_date_us(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_hostname': src/sample.c:3081:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_hostname(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3081:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_hostname(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3081:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_hostname(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_nbproc': src/sample.c:3092:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_nbproc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proxy.c: In function 'proxy_parse_timeout': src/proxy.c:199:49: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_timeout(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/proxy.c:200:65: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:200:75: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/sample.c:3092:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_nbproc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3092:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_nbproc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_proc': src/proxy.c: In function 'proxy_parse_rate_limit': src/proxy.c:329:52: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_rate_limit(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/proxy.c:330:68: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:330:78: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/sample.c:3101:34: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3101:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proxy.c: In function 'proxy_parse_max_ka_queue': src/proxy.c:384:54: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_max_ka_queue(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/proxy.c:385:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/proxy.c:385:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:385:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/sample.c:3101:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_thread': src/sample.c:3110:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_thread(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3110:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_thread(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3110:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_thread(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'proxy_parse_declare': src/proxy.c:423:49: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_declare(char **args, int section, struct proxy *curpx, ~~~~^~~~~~~ src/proxy.c:424:65: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:424:75: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/sample.c: In function 'smp_fetch_rand': src/sample.c:3121:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_rand(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3121:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_rand(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_stopping': src/sample.c:3136:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proxy.c: In function 'proxy_parse_retry_on': src/sample.c:3136:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proxy.c:518:39: warning: unused parameter 'section' [-Wunused-parameter] proxy_parse_retry_on(char **args, int section, struct proxy *curpx, ~~~~^~~~~~~ src/proxy.c:519:46: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/proxy.c:519:65: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:519:75: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/sample.c:3136:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_cpu_calls': src/sample.c:3145:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_cpu_calls(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3145:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_cpu_calls(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3145:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_cpu_calls(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_cpu_ns_avg': src/sample.c:3154:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_cpu_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3154:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_cpu_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3154:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_cpu_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_cpu_ns_tot': src/sample.c:3163:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_cpu_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3163:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_cpu_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3163:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_cpu_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_lat_ns_avg': src/sample.c:3172:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_lat_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3172:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_lat_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3172:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_lat_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_lat_ns_tot': src/sample.c:3181:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_lat_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3181:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_lat_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3181:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_lat_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_str': src/sample.c:3188:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_str(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3188:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_str(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_bool': src/proxy.c: In function 'manage_proxy': src/sample.c:3215:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_bool(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proxy.c:964:73: warning: unused parameter 'state' [-Wunused-parameter] struct task *manage_proxy(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/sample.c:3215:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_bool(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_int': src/sample.c:3222:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_int(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proxy.c: In function 'proxy_parse_hard_stop_after': src/proxy.c:1046:57: warning: unused parameter 'section_type' [-Wunused-parameter] static int proxy_parse_hard_stop_after(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/proxy.c:1046:85: warning: unused parameter 'curpx' [-Wunused-parameter] static int proxy_parse_hard_stop_after(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/sample.c:3222:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_int(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proxy.c:1047:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/sample.c: In function 'smp_fetch_const_ipv4': src/proxy.c:1047:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:1047:76: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/sample.c:3229:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_ipv4(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3229:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_ipv4(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_ipv6': src/proxy.c: In function 'hard_stop': src/sample.c:3236:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_ipv6(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proxy.c:1074:46: warning: unused parameter 'context' [-Wunused-parameter] struct task *hard_stop(struct task *t, void *context, unsigned short state) ~~~~~~^~~~~~~ src/proxy.c:1074:70: warning: unused parameter 'state' [-Wunused-parameter] struct task *hard_stop(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/sample.c:3236:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_ipv6(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_bin': src/sample.c:3256:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3256:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_check_const_meth': src/sample.c:3280:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < args[0].data.str.data; i++) { ^ src/sample.c: In function 'smp_fetch_const_meth': src/sample.c:3290:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3290:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_uuid': src/sample.c:3324:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_uuid(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3324:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_uuid(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: At top level: src/sample.c:3367:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "always_false", smp_fetch_false, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3368:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "always_true", smp_fetch_true, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3369:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "env", smp_fetch_env, ARG1(1,STR), NULL, SMP_T_STR, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3370:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "date", smp_fetch_date, ARG2(0,SINT,STR), smp_check_date_unit, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3371:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "date_us", smp_fetch_date_us, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3372:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hostname", smp_fetch_hostname, 0, NULL, SMP_T_STR, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3373:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "nbproc", smp_fetch_nbproc,0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3374:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "proc", smp_fetch_proc, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3375:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "thread", smp_fetch_thread, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3376:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rand", smp_fetch_rand, ARG1(0,SINT), NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3377:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "stopping", smp_fetch_stopping, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3378:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "stopping", smp_fetch_stopping, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3379:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "uuid", smp_fetch_uuid, ARG1(0, SINT), smp_check_uuid, SMP_T_STR, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3381:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cpu_calls", smp_fetch_cpu_calls, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3382:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cpu_ns_avg", smp_fetch_cpu_ns_avg, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3383:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cpu_ns_tot", smp_fetch_cpu_ns_tot, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proxy.c: In function 'proxy_capture_error': src/sample.c:3384:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "lat_ns_avg", smp_fetch_lat_ns_avg, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ src/proxy.c:1550:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len1 > buf_len) ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3385:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "lat_ns_tot", smp_fetch_lat_ns_tot, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3387:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "str", smp_fetch_const_str, ARG1(1,STR), NULL , SMP_T_STR, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3388:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "bool", smp_fetch_const_bool, ARG1(1,STR), smp_check_const_bool, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3389:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "int", smp_fetch_const_int, ARG1(1,SINT), NULL , SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3390:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ipv4", smp_fetch_const_ipv4, ARG1(1,IPV4), NULL , SMP_T_IPV4, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3391:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ipv6", smp_fetch_const_ipv6, ARG1(1,IPV6), NULL , SMP_T_IPV6, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3392:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "bin", smp_fetch_const_bin, ARG1(1,STR), smp_check_const_bin , SMP_T_BIN, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3393:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "meth", smp_fetch_const_meth, ARG1(1,STR), smp_check_const_meth, SMP_T_METH, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/types/global.h:28, from src/sample.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/sample.c:3398:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ src/sample.c:3402:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "debug", sample_conv_debug, ARG2(0,STR,STR), smp_check_debug, SMP_T_ANY, SMP_T_ANY }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3403:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "b64dec", sample_conv_base642bin,0, NULL, SMP_T_STR, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3404:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "base64", sample_conv_bin2base64,0, NULL, SMP_T_BIN, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3405:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "upper", sample_conv_str2upper, 0, NULL, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/proxy.c:21: src/proxy.c: At top level: src/sample.c:3406:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "lower", sample_conv_str2lower, 0, NULL, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proxy.c:1688:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/sample.c:3407:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "length", sample_conv_length, 0, NULL, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3408:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "hex", sample_conv_bin2hex, 0, NULL, SMP_T_BIN, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3409:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "hex2i", sample_conv_hex2int, 0, NULL, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/proxy.c: In function 'cli_parse_show_servers': src/proxy.c:1737:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_servers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/sample.c:3410:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "ipmask", sample_conv_ipmask, ARG2(1,MSK4,MSK6), NULL, SMP_T_ADDR, SMP_T_IPV4 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/proxy.c:1737:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_servers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/sample.c:3411:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "ltime", sample_conv_ltime, ARG2(1,STR,SINT), NULL, SMP_T_SINT, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3412:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "utime", sample_conv_utime, ARG2(1,STR,SINT), NULL, SMP_T_SINT, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3413:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "crc32", sample_conv_crc32, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3414:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "crc32c", sample_conv_crc32c, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3415:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "djb2", sample_conv_djb2, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3416:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "sdbm", sample_conv_sdbm, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3417:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "wt6", sample_conv_wt6, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3418:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "xxh32", sample_conv_xxh32, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3419:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "xxh64", sample_conv_xxh64, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3420:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "json", sample_conv_json, ARG1(1,STR), sample_conv_json_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3421:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "bytes", sample_conv_bytes, ARG2(1,SINT,SINT), NULL, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3422:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "field", sample_conv_field, ARG3(2,SINT,STR,SINT), sample_conv_field_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3423:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "word", sample_conv_word, ARG3(2,SINT,STR,SINT), sample_conv_field_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3424:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "regsub", sample_conv_regsub, ARG3(2,REG,STR,STR), sample_conv_regsub_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3425:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "sha1", sample_conv_sha1, 0, NULL, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3427:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "sha2", sample_conv_sha2, ARG1(0, SINT), smp_check_sha2, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3429:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "concat", sample_conv_concat, ARG3(1,STR,STR,STR), smp_check_concat, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/proxy.c: In function 'cli_parse_enable_dyncookie_backend': src/sample.c:3430:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "strcmp", sample_conv_strcmp, ARG1(1,STR), smp_check_strcmp, SMP_T_STR, SMP_T_SINT }, ^ src/proxy.c:1911:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/proxy.c:1911:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/sample.c:3433:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "ungrpc", sample_conv_ungrpc, ARG2(1,PBUF_FNUM,STR), sample_conv_protobuf_check, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3434:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "protobuf", sample_conv_protobuf, ARG2(1,PBUF_FNUM,STR), sample_conv_protobuf_check, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3436:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "and", sample_conv_binary_and, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3437:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "or", sample_conv_binary_or, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3438:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "xor", sample_conv_binary_xor, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3439:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "cpl", sample_conv_binary_cpl, 0, NULL, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3440:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "bool", sample_conv_arith_bool, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3441:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "not", sample_conv_arith_not, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3442:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "odd", sample_conv_arith_odd, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/proxy.c: In function 'cli_parse_disable_dyncookie_backend': src/sample.c:3443:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "even", sample_conv_arith_even, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/proxy.c:1943:67: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:1943:105: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/sample.c:3444:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "add", sample_conv_arith_add, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3445:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "sub", sample_conv_arith_sub, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3446:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "mul", sample_conv_arith_mul, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3447:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "div", sample_conv_arith_div, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3448:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "mod", sample_conv_arith_mod, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3449:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "neg", sample_conv_arith_neg, 0, NULL, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3451:2: warning: missing initializer for field 'out_type' of 'struct sample_conv' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:278:15: note: 'out_type' declared here unsigned int out_type; /* output sample type */ ^~~~~~~~ In file included from include/types/global.h:28, from src/sample.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/sample.c:3454:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ src/proxy.c: In function 'cli_parse_set_dyncookie_key_backend': src/proxy.c:1978:67: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_dyncookie_key_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:1978:105: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_dyncookie_key_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_set_maxconn_frontend': src/proxy.c:2019:62: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_maxconn_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2019:100: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_maxconn_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_shutdown_frontend': src/proxy.c:2062:59: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2062:97: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_disable_frontend': src/proxy.c:2089:58: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2089:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_enable_frontend': src/proxy.c:2121:57: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2121:95: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_show_errors': src/proxy.c:2151:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_errors(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2151:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_errors(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_io_handler_show_errors': src/proxy.c:2314:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] while (appctx->ctx.errors.ptr < es->buf_len && appctx->ctx.errors.ptr < global.tune.bufsize) { ^ src/proxy.c: At top level: src/proxy.c:2350:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "disable", "frontend", NULL }, "disable frontend : temporarily disable specific frontend", cli_parse_disable_frontend, NULL, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2351:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "enable", "frontend", NULL }, "enable frontend : re-enable specific frontend", cli_parse_enable_frontend, NULL, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2352:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "maxconn", "frontend", NULL }, "set maxconn frontend : change a frontend's maxconn setting", cli_parse_set_maxconn_frontend, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2353:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show","servers", "state", NULL }, "show servers state [id]: dump volatile server information (for backend )", cli_parse_show_servers, cli_io_handler_servers_state }, ^ In file included from src/proxy.c:33: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2354:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "backend", NULL }, "show backend : list backends in the current running config", NULL, cli_io_handler_show_backend }, ^ In file included from src/proxy.c:33: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2355:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "shutdown", "frontend", NULL }, "shutdown frontend : stop a specific frontend", cli_parse_shutdown_frontend, NULL, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2356:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "dynamic-cookie-key", "backend", NULL }, "set dynamic-cookie-key backend : change a backend secret key for dynamic cookies", cli_parse_set_dyncookie_key_backend, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2357:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "enable", "dynamic-cookie", "backend", NULL }, "enable dynamic-cookie backend : enable dynamic cookies on a specific backend", cli_parse_enable_dyncookie_backend, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2358:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "disable", "dynamic-cookie", "backend", NULL }, "disable dynamic-cookie backend : disable dynamic cookies on a specific backend", cli_parse_disable_dyncookie_backend, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2359:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "errors", NULL }, "show errors : report last request and response errors for each proxy", cli_parse_show_errors, cli_io_handler_show_errors, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2360:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/proxy.c:33: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/proxy.c:21: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proxy.c:2363:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ CC src/stream_interface.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/stream_interface.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from src/stream_interface.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/stream_interface.c:22: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/stream_interface.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ CC src/pattern.o In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/stream_interface.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/stream_interface.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/pattern.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/pattern.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/pattern.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/pattern.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ CC src/dns.o In file included from include/proto/channel.h:32, from src/stream_interface.c:31: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/stream_interface.c:31: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/stream_interface.c:31: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/stream_interface.c:32: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/stream_interface.c:32: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/stream_interface.c: In function 'si_cs_io_cb': src/stream_interface.c:793:39: warning: unused parameter 't' [-Wunused-parameter] struct task *si_cs_io_cb(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~^ src/stream_interface.c:793:68: warning: unused parameter 'state' [-Wunused-parameter] struct task *si_cs_io_cb(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/stream_interface.c: In function 'si_cs_recv': src/stream_interface.c:1454:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (cur_read <= ic->buf.size / 2)) { ^~ src/stream_interface.c:1473:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (cur_read >= ic->buf.size - global.tune.maxrewrite)) { ^~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/pattern.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/pattern.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/stream_interface.c: In function 'stream_int_shutw': src/stream_interface.c:238:13: warning: this statement may fall through [-Wimplicit-fallthrough=] si->state = SI_ST_DIS; ~~~~~~~~~~^~~~~~~~~~~ src/stream_interface.c:239:2: note: here default: ^~~~~~~ src/stream_interface.c: In function 'stream_int_shutw_applet': src/stream_interface.c:1692:13: warning: this statement may fall through [-Wimplicit-fallthrough=] si->state = SI_ST_DIS; ~~~~~~~~~~^~~~~~~~~~~ src/stream_interface.c:1693:2: note: here default: ^~~~~~~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/pattern.c:23: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ CC src/proto_tcp.o src/pattern.c: In function 'pat_parse_nothing': src/pattern.c:207:35: warning: unused parameter 'text' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~~~~~~^~~~ src/pattern.c:207:57: warning: unused parameter 'pattern' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~~~~~~~~~~^~~~~~~ src/pattern.c:207:70: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:207:85: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/pattern.c: In function 'pat_parse_str': src/pattern.c:213:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_str(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:213:81: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_str(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/pattern.c: In function 'pat_parse_bin': src/pattern.c:222:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_bin(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c: In function 'pat_parse_reg': src/pattern.c:234:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_reg(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:234:81: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_reg(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/pattern.c: In function 'pat_parse_int': src/pattern.c:255:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_int(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c: In function 'pat_parse_dotted_ver': src/pattern.c:340:73: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_dotted_ver(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c: In function 'pat_match_nothing': src/pattern.c:435:76: warning: unused parameter 'expr' [-Wunused-parameter] struct pattern *pat_match_nothing(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~~~~~~~~~~~~~~~~~~^~~~ src/pattern.c: In function 'pat_match_str': src/pattern.c:502:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (pattern->len != smp->data.u.str.data) ^~ src/pattern.c: In function 'pat_match_bin': src/pattern.c:541:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (pattern->len != smp->data.u.str.data) ^~ src/pattern.c:520:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_bin(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_regm': src/pattern.c:560:83: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_regm(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_reg': src/pattern.c:583:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_reg(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_beg': src/pattern.c:667:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (pattern->len > smp->data.u.str.data) ^ src/pattern.c: In function 'pat_match_end': src/pattern.c:708:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (pattern->len > smp->data.u.str.data) ^ src/pattern.c:686:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_end(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_sub': src/pattern.c:753:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (pattern->len > smp->data.u.str.data) ^ src/pattern.c:729:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_sub(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'match_word': src/pattern.c:809:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (pl > smp->data.u.str.data) ^ src/pattern.c: In function 'pat_match_dir': src/pattern.c:844:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_dir(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_dom': src/pattern.c:861:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_dom(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_int': src/pattern.c:875:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_int(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_len': src/pattern.c:890:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_len(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_ref_push': src/pattern.c:1910:22: warning: unused parameter 'patflags' [-Wunused-parameter] int patflags, char **err) ~~~~^~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from include/common/standard.h:36, from src/pattern.c:18: src/pattern.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/pattern.c:2739:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(pattern_per_thread_lru_alloc); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/pattern.c:2740:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(pattern_per_thread_lru_free); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/proto_tcp.c:39: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/proto_tcp.c:39: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/pattern.c: In function 'pattern_exec_match': src/pattern.c:2564:68: warning: this statement may fall through [-Wimplicit-fallthrough=] static_sample_data.u.str.area[static_sample_data.u.str.data] = 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/pattern.c:2565:6: note: here case SMP_T_IPV4: ^~~~ src/pattern.c:2568:7: warning: this statement may fall through [-Wimplicit-fallthrough=] memcpy(&static_sample_data, pat->data, sizeof(struct sample_data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pattern.c:2569:6: note: here default: ^~~~~~~ In file included from include/common/standard.h:38, from src/proto_tcp.c:39: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/proto_tcp.c:39: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/dns.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from src/dns.c:37: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/dns.c:37: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/dns.c:46: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:33, from src/dns.c:50: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/dns.c:22: src/dns.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/dns.c:59:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(dns_answer_item_pool, "dns_answer_item", sizeof(struct dns_answer_item)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/dns.c:60:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(dns_resolution_pool, "dns_resolution", sizeof(struct dns_resolution)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/dns.c:61:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(dns_requester_pool, "dns_requester", sizeof(struct dns_requester)); ^~~~~~~~~~~~ src/dns.c: In function 'dns_build_query': src/dns.c:230:72: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (sizeof(dns_hdr) + sizeof(qinfo) + sizeof(edns) + hostname_dn_len >= bufsize) ^~ src/dns.c: In function 'dns_check_dns_response': src/dns.c:550:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv->uweight != ha_weight) { ^~ src/dns.c: In function 'dns_resolve_recv': src/dns.c:1565:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (buflen > resolvers->accepted_payload_size) { ^ src/dns.c: In function 'dns_process_resolvers': src/dns.c:1778:89: warning: unused parameter 'state' [-Wunused-parameter] static struct task *dns_process_resolvers(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/dns.c: In function 'cli_parse_stat_resolvers': src/dns.c:2022:56: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_stat_resolvers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/dns.c:2022:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_stat_resolvers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/dns.c: At top level: src/dns.c:2109:5: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] cli_parse_stat_resolvers, cli_io_handler_dump_resolvers_to_buffer }, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/dns.c:31: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/dns.c:2110:3: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/dns.c:31: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/dns.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/dns.c:2114:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/dns.c: In function 'dns_action_do_resolve': src/dns.c:2156:56: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/dns.c: At top level: src/dns.c:2361:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "do-resolve", dns_parse_do_resolve, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/dns.c:22: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/dns.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/dns.c:2365:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/dns.c:2368:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "do-resolve", dns_parse_do_resolve, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/dns.c:22: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/dns.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/dns.c:2372:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_cont_actions); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(void (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:314:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_deinit, (fct)) ^~~~~~~~~ src/dns.c:2398:1: note: in expansion of macro 'REGISTER_POST_DEINIT' REGISTER_POST_DEINIT(dns_deinit); ^~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:152:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, cfg_register_postparser, (name), (parser)) ^~~~~~~~~ src/dns.c:2399:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("dns runtime resolver", dns_finalize_config); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/channel.h:32, from src/proto_tcp.c:48: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/proto_tcp.c:48: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/proto_tcp.c:48: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_tcp.c:49: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/proto_tcp.c:49: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:35: src/proto_tcp.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct protocol *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:92:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, protocol_register, &proto_tcpv4); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct protocol *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:117:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, protocol_register, &proto_tcpv6); ^~~~~~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_src': src/proto_tcp.c:1191:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_dst': src/proto_tcp.c:1223:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_src_port': src/proto_tcp.c:1255:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_dst_port': src/proto_tcp.c:1285:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/proto_tcp.c: In function 'tcp_exec_action_silent_drop': src/proto_tcp.c:1309:69: warning: unused parameter 'rule' [-Wunused-parameter] static enum act_return tcp_exec_action_silent_drop(struct act_rule *rule, struct proxy *px, struct session *sess, struct stream *strm, int flags) ~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1309:89: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return tcp_exec_action_silent_drop(struct act_rule *rule, struct proxy *px, struct session *sess, struct stream *strm, int flags) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1309:140: warning: unused parameter 'flags' [-Wunused-parameter] static enum act_return tcp_exec_action_silent_drop(struct act_rule *rule, struct proxy *px, struct session *sess, struct stream *strm, int flags) ~~~~^~~~~ src/proto_tcp.c: In function 'tcp_parse_silent_drop': src/proto_tcp.c:1424:62: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret tcp_parse_silent_drop(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1424:73: warning: unused parameter 'orig_arg' [-Wunused-parameter] static enum act_parse_ret tcp_parse_silent_drop(const char **args, int *orig_arg, struct proxy *px, ~~~~~^~~~~~~~ src/proto_tcp.c:1424:97: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret tcp_parse_silent_drop(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1425:79: warning: unused parameter 'err' [-Wunused-parameter] struct act_rule *rule, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'smp_fetch_src': src/proto_tcp.c:1438:37: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_src(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1438:75: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_src(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1438:85: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_src(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_sport': src/proto_tcp.c:1467:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_sport(const struct arg *args, struct sample *smp, const char *k, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1467:73: warning: unused parameter 'k' [-Wunused-parameter] smp_fetch_sport(const struct arg *args, struct sample *smp, const char *k, void *private) ~~~~~~~~~~~~^ src/proto_tcp.c:1467:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sport(const struct arg *args, struct sample *smp, const char *k, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_dst': src/proto_tcp.c:1487:33: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_dst(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1487:71: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_dst(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1487:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_dst(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_dst_is_local': src/proto_tcp.c:1517:46: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_dst_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1517:84: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_dst_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1517:94: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_dst_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_src_is_local': src/proto_tcp.c:1537:46: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_src_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1537:84: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_src_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1537:94: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_src_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_dport': src/proto_tcp.c:1556:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_dport(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1556:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_dport(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1556:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_dport(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'var_fc_counter': src/proto_tcp.c:1615:52: warning: unused parameter 'err' [-Wunused-parameter] static int var_fc_counter(struct arg *args, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'get_tcp_info': src/proto_tcp.c:1632:50: warning: unused parameter 'args' [-Wunused-parameter] static inline int get_tcp_info(const struct arg *args, struct sample *smp, ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c: In function 'smp_fetch_fc_rtt': src/proto_tcp.c:1686:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_rtt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1686:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_rtt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_rttvar': src/proto_tcp.c:1700:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_rttvar(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1700:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_rttvar(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_unacked': src/proto_tcp.c:1716:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_unacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1716:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_unacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_sacked': src/proto_tcp.c:1725:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_sacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1725:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_sacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_lost': src/proto_tcp.c:1734:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_lost(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1734:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_lost(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_retrans': src/proto_tcp.c:1743:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_retrans(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1743:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_retrans(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_fackets': src/proto_tcp.c:1752:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_fackets(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1752:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_fackets(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_reordering': src/proto_tcp.c:1761:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_reordering(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1761:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_reordering(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'bind_parse_v4v6': src/proto_tcp.c:1772:35: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/proto_tcp.c:1772:45: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/proto_tcp.c:1772:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1772:103: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_v6only': src/proto_tcp.c:1785:37: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/proto_tcp.c:1785:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/proto_tcp.c:1785:70: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1785:105: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_transparent': src/proto_tcp.c:1800:42: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/proto_tcp.c:1800:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/proto_tcp.c:1800:75: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1800:110: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_defer_accept': src/proto_tcp.c:1815:43: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/proto_tcp.c:1815:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/proto_tcp.c:1815:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1815:111: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_tfo': src/proto_tcp.c:1830:34: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/proto_tcp.c:1830:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/proto_tcp.c:1830:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1830:102: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_mss': src/proto_tcp.c:1845:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_mss(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: In function 'bind_parse_tcp_ut': src/proto_tcp.c:1872:70: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tcp_ut(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: In function 'bind_parse_interface': src/proto_tcp.c:1910:73: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_interface(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: In function 'srv_parse_tcp_ut': src/proto_tcp.c:1958:70: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tcp_ut(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: At top level: src/proto_tcp.c:1998:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst", smp_fetch_dst, 0, NULL, SMP_T_IPV4, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1999:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst_is_local", smp_fetch_dst_is_local, 0, NULL, SMP_T_BOOL, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2000:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst_port", smp_fetch_dport, 0, NULL, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2001:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src", smp_fetch_src, 0, NULL, SMP_T_IPV4, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2002:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_is_local", smp_fetch_src_is_local, 0, NULL, SMP_T_BOOL, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2003:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_port", smp_fetch_sport, 0, NULL, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2005:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rtt", smp_fetch_fc_rtt, ARG1(0,STR), val_fc_time_value, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2006:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rttvar", smp_fetch_fc_rttvar, ARG1(0,STR), val_fc_time_value, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2008:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_unacked", smp_fetch_fc_unacked, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2009:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_sacked", smp_fetch_fc_sacked, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2010:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_retrans", smp_fetch_fc_retrans, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2011:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_fackets", smp_fetch_fc_fackets, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2012:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_lost", smp_fetch_fc_lost, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2013:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_reordering", smp_fetch_fc_reordering, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:35: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2019:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2068:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ src/proto_tcp.c:2074:2: warning: missing initializer for field 'default_ok' of 'struct srv_kw' [-Wmissing-field-initializers] { NULL, NULL, 0 }, ^ In file included from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:42: include/types/server.h:370:6: note: 'default_ok' declared here int default_ok; /* non-zero if kw is supported in default-server section */ ^~~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:35: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct srv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2077:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ src/proto_tcp.c:2080:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2081:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2082:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst" , tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2083:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2084:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:35: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2088:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_conn_keywords_register, &tcp_req_conn_actions); ^~~~~~~~~ src/proto_tcp.c:2091:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2092:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2093:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst" , tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2094:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2095:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:35: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2099:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_sess_keywords_register, &tcp_req_sess_actions); ^~~~~~~~~ src/proto_tcp.c:2102:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst" , tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2103:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2104:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:35: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2108:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_cont_actions); ^~~~~~~~~ src/proto_tcp.c:2111:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:35: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2115:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_cont_actions); ^~~~~~~~~ src/proto_tcp.c:2118:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2119:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2120:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2121:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2122:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:35: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2126:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ src/proto_tcp.c:2129:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:42: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:35: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2133:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(const char *, int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:298:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, hap_register_build_opts, (str), 0) ^~~~~~~~~ src/proto_tcp.c:2135:1: note: in expansion of macro 'REGISTER_BUILD_OPTS' REGISTER_BUILD_OPTS("Built with transparent proxy support using:" ^~~~~~~~~~~~~~~~~~~ CC src/listener.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/cfgparse-global.o In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/h1.o In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/listener.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ CC src/http_rules.o In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/listener.c:34: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/common/h1.h:25, from src/h1.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/common/h1.h:25, from src/h1.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/listener.c:34: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/listener.c: In function 'accept_queue_push_mp': src/listener.c:138:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (addr_len > sizeof(e->addr)) ^ src/listener.c: In function 'accept_queue_process': src/listener.c:155:55: warning: unused parameter 't' [-Wunused-parameter] static struct task *accept_queue_process(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~^ src/listener.c:155:88: warning: unused parameter 'state' [-Wunused-parameter] static struct task *accept_queue_process(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from include/common/cfgparse.h:27, from src/listener.c:22: src/listener.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:152:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, cfg_register_postparser, (name), (parser)) ^~~~~~~~~ src/listener.c:222:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("multi-threaded accept queue", accept_queue_init); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/common/h1.h:25, from src/h1.c:15: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/listener.c: In function 'listener_accept': src/listener.c:669:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (max_accept > max) ^ src/listener.c:682:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (max_accept > max) ^ src/listener.c:695:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (max_accept > max) ^ src/listener.c:709:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (max_accept > max) ^ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/listener.c:22: src/listener.c:730:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (unlikely(l->maxconn && count >= l->maxconn)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/listener.c:759:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (unlikely(count >= global.maxconn)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/common/h1.h:25, from src/h1.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/listener.c: In function 'listener_queue_process': src/listener.c:1112:90: warning: unused parameter 'state' [-Wunused-parameter] static struct task *listener_queue_process(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from include/common/cfgparse.h:27, from src/listener.c:22: src/listener.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:152:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, cfg_register_postparser, (name), (parser)) ^~~~~~~~~ src/listener.c:1140:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("multi-threaded listener queue", listener_queue_init); ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(void (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:314:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_deinit, (fct)) ^~~~~~~~~ src/listener.c:1141:1: note: in expansion of macro 'REGISTER_POST_DEINIT' REGISTER_POST_DEINIT(listener_queue_deinit); ^~~~~~~~~~~~~~~~~~~~ src/listener.c: In function 'smp_fetch_dconn': src/listener.c:1214:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_dconn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/listener.c:1214:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_dconn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/listener.c:1214:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_dconn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/listener.c: In function 'smp_fetch_so_id': src/listener.c:1223:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_so_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/listener.c:1223:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_so_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/listener.c:1223:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_so_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/listener.c: In function 'smp_fetch_so_name': src/listener.c:1230:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_so_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/listener.c:1230:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_so_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/listener.c:1230:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_so_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/listener.c: In function 'bind_parse_accept_proxy': src/listener.c:1243:43: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/listener.c:1243:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/listener.c:1243:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c:1243:111: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/common/h1.h:25, from src/h1.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/listener.c: In function 'bind_parse_accept_netscaler_cip': src/listener.c:1254:84: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_accept_netscaler_cip(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_backlog': src/listener.c:1279:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_backlog(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_maxconn': src/listener.c:1345:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_maxconn(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_name': src/listener.c:1368:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_name(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_nice': In file included from include/common/h1.h:25, from src/h1.c:15: include/common/buffer.h: In function 'b_alloc_margin': src/listener.c:1384:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_nice(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/listener.c: In function 'bind_parse_process': src/listener.c:1407:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_process(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_proto': src/listener.c:1434:69: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_proto(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'cfg_parse_tune_listener_mq': src/listener.c:1453:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_tune_listener_mq(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/listener.c:1453:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_tune_listener_mq(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/listener.c:1454:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/listener.c:1454:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/listener.c:1454:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/listener.c: At top level: src/listener.c:1475:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst_conn", smp_fetch_dconn, 0, NULL, SMP_T_SINT, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/listener.c:1476:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "so_id", smp_fetch_so_id, 0, NULL, SMP_T_SINT, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/listener.c:1477:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "so_name", smp_fetch_so_name, 0, NULL, SMP_T_STR, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/cfgparse.h:27, from src/listener.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/listener.c:1481:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/listener.c:1490:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/listener.c:1512:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/listener.c:1520:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/chunk.h: In function 'chunk_initlen': In file included from include/proto/channel.h:32, from src/h1.c:18: include/common/htx.h: In function 'htx_get_prev': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/cfgparse-global.c: In function 'cfg_parse_global': src/cfgparse-global.c:526:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (global.nbproc < 1 || global.nbproc > MAX_PROCS) { ^ src/cfgparse-global.c:1156:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (!delim || delim - *env >= trash.size) { ^~ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/h1.c:18: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/h1.c:18: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/config.h:25, from src/h1.c:14: src/h1.c: In function 'h1_parse_cont_len_header': src/h1.c:51:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare] if (unlikely(cl > ULLONG_MAX / 10ULL)) ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/h1.c:72:37: warning: comparison of integer expressions of different signedness: 'long long int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] if (h1m->flags & H1_MF_CLEN && cl != h1m->body_len) ^~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/http_ana.h:26, from src/http_rules.c:36: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ CC src/http_fetch.o In file included from include/common/chunk.h:30, from src/http_fetch.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/http_fetch.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/common/h1.h:25, from src/http_fetch.c:24: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/common/h1.h:25, from src/http_fetch.c:24: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/common/h1.h:25, from src/http_fetch.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/h1.h:25, from src/http_fetch.c:24: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/http_fetch.c:26: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ CC src/cache.o CC src/session.o In file included from include/common/chunk.h:30, from include/types/proxy.h:30, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:30, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/fcgi-app.o In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/http_fetch.c:36: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/session.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from src/session.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/http_fetch.c:36: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/http_fetch.c:37: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/session.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/session.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/chunk.h:30, from src/fcgi-app.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/http_fetch.c:37: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/fcgi-app.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/session.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_fetch.c:20: src/http_fetch.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/http_fetch.c:81:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(alloc_raw_htx_chunk_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/http_fetch.c:82:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(free_raw_htx_chunk_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/session.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/http_fetch.c: In function 'smp_fetch_meth': src/http_fetch.c:304:45: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:304:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:304:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_rqver': src/http_fetch.c:334:46: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_rqver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:334:84: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_rqver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:334:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_rqver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_stver': src/http_fetch.c:361:46: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_stver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:361:84: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_stver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:361:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_stver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_stcode': src/http_fetch.c:389:47: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_stcode(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:389:85: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_stcode(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:389:95: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_stcode(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_uniqueid': src/http_fetch.c:410:49: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_uniqueid(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:410:87: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_uniqueid(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:410:97: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_uniqueid(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_hdrs': src/http_fetch.c:433:45: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_hdrs(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:433:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_hdrs(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:433:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_hdrs(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_hdrs_bin': src/http_fetch.c:478:49: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_hdrs_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:478:87: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_hdrs_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:478:97: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_hdrs_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_body': src/http_fetch.c:545:45: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_body(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:545:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_body(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:545:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_body(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_body_len': src/http_fetch.c:578:49: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_body_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:578:87: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_body_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:578:97: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_body_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_body_size': src/http_fetch.c:609:50: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_body_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:609:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_body_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:609:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_body_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_url': src/http_fetch.c:639:44: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_url(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:639:82: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_url(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:639:92: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_url_ip': src/http_fetch.c:655:47: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_url_ip(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:655:85: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_url_ip(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:655:95: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url_ip(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_url_port': src/http_fetch.c:676:49: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_url_port(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:676:87: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_url_port(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:676:97: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url_port(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_fhdr': src/http_fetch.c:704:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_fhdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_fhdr_cnt': src/http_fetch.c:757:97: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_fhdr_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_hdr_names': src/http_fetch.c:787:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_hdr_names(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_hdr': src/http_fetch.c:832:92: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_hdr_cnt': src/http_fetch.c:895:96: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_hdr_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_path': src/http_fetch.c:979:45: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_path(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:979:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_path(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:979:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_path(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_base32': src/http_fetch.c:1060:47: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_base32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1060:85: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_base32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1060:95: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_base32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_query': src/http_fetch.c:1150:46: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_query(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1150:84: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_query(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1150:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_query(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_proto_http': src/http_fetch.c:1177:51: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_proto_http(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1177:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_proto_http(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1177:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_proto_http(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_http_first_req': src/http_fetch.c:1190:55: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_http_first_req(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1190:93: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_http_first_req(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1190:103: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_http_first_req(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_http_auth_type': src/http_fetch.c:1200:55: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_http_auth_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1200:93: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_http_auth_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1200:103: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_http_auth_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_http_auth_user': src/http_fetch.c:1235:55: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_http_auth_user(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/fcgi-app.c:15: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/http_fetch.c:1235:93: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_http_auth_user(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1235:103: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_http_auth_user(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_http_auth_pass': src/http_fetch.c:1258:55: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_http_auth_pass(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1258:93: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_http_auth_pass(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1258:103: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_http_auth_pass(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_http_auth': src/http_fetch.c:1279:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_http_auth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1279:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_http_auth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_http_auth_grp': src/http_fetch.c:1299:92: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_http_auth_grp(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1299:102: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_http_auth_grp(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_req_hdr': src/http_fetch.c:1334:94: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_req_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1334:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_req_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_res_hdr': src/http_fetch.c:1358:94: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_res_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1358:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_res_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_req_method': src/http_fetch.c:1380:59: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_capture_req_method(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1380:97: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_req_method(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1380:107: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_req_method(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_req_uri': src/http_fetch.c:1406:56: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_capture_req_uri(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1406:94: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_req_uri(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1406:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_req_uri(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_req_ver': src/http_fetch.c:1444:56: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_capture_req_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1444:94: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_req_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/fcgi-app.c:15: include/common/standard.h: In function 'is_inet_addr': src/http_fetch.c:1444:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_req_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/http_fetch.c: In function 'smp_fetch_capture_res_ver': src/http_fetch.c:1466:56: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_capture_res_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1466:94: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_res_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1466:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_res_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_cookie': src/http_fetch.c:1495:95: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_cookie(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_cookie_cnt': src/http_fetch.c:1592:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_cookie_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_param': src/http_fetch.c:1668:90: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_param(char delim, const char *name, int name_len, const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1668:128: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_param(char delim, const char *name, int name_len, const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1668:138: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_param(char delim, const char *name, int name_len, const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/fcgi-app.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/http_fetch.c: In function 'smp_fetch_url32': src/http_fetch.c:1849:46: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_url32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1849:84: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_url32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1849:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: At top level: src/http_fetch.c:1956:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "base", smp_fetch_base, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/fcgi-app.c:15: include/common/buffer.h: In function 'b_alloc_margin': src/http_fetch.c:1957:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "base32", smp_fetch_base32, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1958:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "base32+src", smp_fetch_base32_src, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1961:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.req.hdr", smp_fetch_capture_req_hdr, ARG1(1,SINT), NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1964:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.req.method", smp_fetch_capture_req_method, 0, NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1965:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.req.uri", smp_fetch_capture_req_uri, 0, NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1966:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.req.ver", smp_fetch_capture_req_ver, 0, NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1968:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.res.hdr", smp_fetch_capture_res_hdr, ARG1(1,SINT), NULL, SMP_T_STR, SMP_USE_HRSHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1969:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.res.ver", smp_fetch_capture_res_ver, 0, NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1975:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1976:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cookie", smp_fetch_chn_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV|SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1977:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cook_cnt", smp_fetch_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1978:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cook_val", smp_fetch_cookie_val, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1984:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hdr", smp_fetch_chn_hdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRQHV|SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1985:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hdr_cnt", smp_fetch_hdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1986:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hdr_ip", smp_fetch_hdr_ip, ARG2(0,STR,SINT), val_hdr, SMP_T_IPV4, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1987:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hdr_val", smp_fetch_hdr_val, ARG2(0,STR,SINT), val_hdr, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1989:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "http_auth_type", smp_fetch_http_auth_type, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1990:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "http_auth_user", smp_fetch_http_auth_user, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1991:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "http_auth_pass", smp_fetch_http_auth_pass, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1992:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "http_auth", smp_fetch_http_auth, ARG1(1,USR), NULL, SMP_T_BOOL, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1993:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "http_auth_group", smp_fetch_http_auth_grp, ARG1(1,USR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1994:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "http_first_req", smp_fetch_http_first_req, 0, NULL, SMP_T_BOOL, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1995:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "method", smp_fetch_meth, 0, NULL, SMP_T_METH, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1996:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "path", smp_fetch_path, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:1997:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "query", smp_fetch_query, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2000:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.proto_http", smp_fetch_proto_http, 0, NULL, SMP_T_BOOL, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2001:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_proto_http", smp_fetch_proto_http, 0, NULL, SMP_T_BOOL, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2004:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ver", smp_fetch_rqver, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2005:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ver", smp_fetch_rqver, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2007:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.body", smp_fetch_body, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2008:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.body_len", smp_fetch_body_len, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2009:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.body_size", smp_fetch_body_size, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2010:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.body_param", smp_fetch_body_param, ARG1(0,STR), NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2012:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdrs", smp_fetch_hdrs, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2013:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdrs_bin", smp_fetch_hdrs_bin, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2016:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.ver", smp_fetch_stver, 0, NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2017:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "resp_ver", smp_fetch_stver, 0, NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2020:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.cook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2021:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.cook_cnt", smp_fetch_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2022:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.cook_val", smp_fetch_cookie_val, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2024:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.fhdr", smp_fetch_fhdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2025:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.fhdr_cnt", smp_fetch_fhdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2026:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr", smp_fetch_hdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2027:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr_cnt", smp_fetch_hdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2028:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr_ip", smp_fetch_hdr_ip, ARG2(0,STR,SINT), val_hdr, SMP_T_IPV4, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2029:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr_names", smp_fetch_hdr_names, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2030:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr_val", smp_fetch_hdr_val, ARG2(0,STR,SINT), val_hdr, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2033:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.cook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2034:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.cook_cnt", smp_fetch_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2035:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.cook_val", smp_fetch_cookie_val, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2037:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.fhdr", smp_fetch_fhdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2038:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.fhdr_cnt", smp_fetch_fhdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2039:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.hdr", smp_fetch_hdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2040:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.hdr_cnt", smp_fetch_hdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2041:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.hdr_ip", smp_fetch_hdr_ip, ARG2(0,STR,SINT), val_hdr, SMP_T_IPV4, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2042:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.hdr_names", smp_fetch_hdr_names, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2043:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.hdr_val", smp_fetch_hdr_val, ARG2(0,STR,SINT), val_hdr, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2046:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "scook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2047:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "scook_cnt", smp_fetch_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2048:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "scook_val", smp_fetch_cookie_val, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2049:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "set-cookie", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, /* deprecated */ ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2052:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "shdr", smp_fetch_hdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2053:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "shdr_cnt", smp_fetch_hdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2054:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "shdr_ip", smp_fetch_hdr_ip, ARG2(0,STR,SINT), val_hdr, SMP_T_IPV4, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2055:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "shdr_val", smp_fetch_hdr_val, ARG2(0,STR,SINT), val_hdr, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2057:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "status", smp_fetch_stcode, 0, NULL, SMP_T_SINT, SMP_USE_HRSHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2058:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "unique-id", smp_fetch_uniqueid, 0, NULL, SMP_T_STR, SMP_SRC_L4SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2059:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url", smp_fetch_url, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2060:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url32", smp_fetch_url32, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2061:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url32+src", smp_fetch_url32_src, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2062:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url_ip", smp_fetch_url_ip, 0, NULL, SMP_T_IPV4, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2063:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url_port", smp_fetch_url_port, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2064:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url_param", smp_fetch_url_param, ARG2(0,STR,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2065:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "urlp" , smp_fetch_url_param, ARG2(0,STR,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2066:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "urlp_val", smp_fetch_url_param_val, ARG2(0,STR,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_fetch.c:20: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_fetch.c:2070:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/channel.h:32, from src/cache.c:22: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/cache.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/cache.c:22: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/cache.c:31: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:33, from src/cache.c:31: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/cache.c:32: include/proto/shctx.h: In function '_shctx_wait4lock': include/proto/shctx.h:93:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < *count; i++) { ^ include/proto/shctx.h:89:72: warning: unused parameter 'uaddr' [-Wunused-parameter] static inline void _shctx_wait4lock(unsigned int *count, unsigned int *uaddr, int value) ~~~~~~~~~~~~~~^~~~~ include/proto/shctx.h:89:83: warning: unused parameter 'value' [-Wunused-parameter] static inline void _shctx_wait4lock(unsigned int *count, unsigned int *uaddr, int value) ~~~~^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from include/types/proxy.h:30, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: src/cache.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/cache.c:91:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_cache_st, "cache_st", sizeof(struct cache_st)); ^~~~~~~~~~~~~~~~~~~ src/cache.c: In function 'entry_exist': src/cache.c:108:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and '__time_t' {aka 'long int'} [-Wsign-compare] if (entry->expire > now.tv_sec) { ^ src/cache.c: In function 'cache_store_init': src/cache.c:131:32: warning: unused parameter 'px' [-Wunused-parameter] cache_store_init(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/cache.c: In function 'cache_store_deinit': src/cache.c:138:34: warning: unused parameter 'px' [-Wunused-parameter] cache_store_deinit(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/cache.c: In function 'cache_store_chn_start_analyze': src/cache.c:202:46: warning: unused parameter 's' [-Wunused-parameter] cache_store_chn_start_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/cache.c: In function 'cache_store_chn_end_analyze': src/cache.c:225:44: warning: unused parameter 's' [-Wunused-parameter] cache_store_chn_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/cache.c: In function 'cache_store_post_analyze': src/cache.c:254:83: warning: unused parameter 'chn' [-Wunused-parameter] cache_store_post_analyze(struct stream *s, struct filter *filter, struct channel *chn, ~~~~~~~~~~~~~~~~^~~ src/cache.c: In function 'cache_store_http_end': src/cache.c:399:37: warning: unused parameter 's' [-Wunused-parameter] cache_store_http_end(struct stream *s, struct filter *filter, ~~~~~~~~~~~~~~~^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/session.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/cache.c: In function 'http_action_store_cache': src/cache.c:539:78: warning: unused parameter 'px' [-Wunused-parameter] enum act_return http_action_store_cache(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/cache.c:540:22: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/cache.c:540:50: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/cache.c: In function 'htx_cache_dump_blk': src/cache.c:756:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'short int' [-Wsign-compare] if (blksz || offset == shctx->block_size) { ^~ src/cache.c: In function 'htx_cache_dump_data_blk': src/cache.c:804:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'short int' [-Wsign-compare] if (blksz || offset == shctx->block_size) { ^~ src/cache.c: In function 'http_action_req_cache_use': src/cache.c:1117:58: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/cache.c:1117:86: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/cache.c: In function 'cfg_parse_cache': src/cache.c:1191:69: warning: unused parameter 'kwm' [-Wunused-parameter] int cfg_parse_cache(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cache.c: In function 'parse_cache_flt': src/cache.c:1418:45: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ~~~~~~^~~~~~~ src/cache.c: In function 'cli_parse_show_cache': src/cache.c:1489:40: warning: unused parameter 'args' [-Wunused-parameter] static int cli_parse_show_cache(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/cache.c:1489:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_cache(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cache.c:1489:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_cache(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from include/types/proxy.h:30, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: src/cache.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct flt_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cache.c:1559:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &filter_kws); ^~~~~~~~~ src/cache.c:1562:2: warning: missing initializer for field 'level' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "cache", NULL }, "show cache : show cache status", cli_parse_show_cache, cli_io_handler_show_cache, NULL, NULL }, ^ In file included from src/cache.c:17: include/types/cli.h:47:6: note: 'level' declared here int level; /* this is the level needed to show the keyword usage and to use it */ ^~~~~ src/cache.c:1563:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/cache.c:17: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from include/types/proxy.h:30, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cache.c:1566:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/cache.c:1570:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "cache-store", parse_cache_store }, ^ In file included from src/cache.c:16: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/cache.c:1571:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from src/cache.c:16: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from include/types/proxy.h:30, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cache.c:1575:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ src/cache.c:1579:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "cache-use", parse_cache_use }, ^ In file included from src/cache.c:16: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/cache.c:1580:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from src/cache.c:16: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from include/types/proxy.h:30, from include/types/applet.h:28, from include/types/action.h:27, from src/cache.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cache.c:1584:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cache.c:1594:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("cache", cfg_parse_cache, cfg_post_parse_section_cache); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:302:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/cache.c:1595:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(post_check_cache); ^~~~~~~~~~~~~~~~~~~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/session.c:22: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/fcgi-app.c:15: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/session.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/session.c:14: src/session.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/session.c:31:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_session, "session", sizeof(struct session)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/session.c:32:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_sess_srv_list, "session server list", ^~~~~~~~~~~~ In file included from include/proto/fcgi-app.h:25, from src/fcgi-app.c:23: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/filters.h:30, from src/fcgi-app.c:24: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/fcgi-app.c:30: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/fcgi-app.c:14: src/fcgi-app.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/fcgi-app.c:39:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_fcgi_flt_ctx, "fcgi_flt_ctx", sizeof(struct fcgi_flt_ctx)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/fcgi-app.c:40:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_fcgi_param_rule, "fcgi_param_rule", sizeof(struct fcgi_param_rule)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/fcgi-app.c:41:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_fcgi_hdr_rule, "fcgi_hdr_rule", sizeof(struct fcgi_hdr_rule)); ^~~~~~~~~~~~~~~~~~~ src/fcgi-app.c: In function 'smp_fetch_fcgi_docroot': src/fcgi-app.c:159:53: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_fcgi_docroot(const struct arg *args, struct sample *smp, ~~~~~~~~~~~~~~~~~~^~~~ src/fcgi-app.c:160:19: warning: unused parameter 'kw' [-Wunused-parameter] const char *kw, void *private) ~~~~~~~~~~~~^~ src/fcgi-app.c:160:29: warning: unused parameter 'private' [-Wunused-parameter] const char *kw, void *private) ~~~~~~^~~~~~~ src/fcgi-app.c: In function 'smp_fetch_fcgi_index': src/fcgi-app.c:174:51: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_fcgi_index(const struct arg *args, struct sample *smp, ~~~~~~~~~~~~~~~~~~^~~~ src/fcgi-app.c:175:17: warning: unused parameter 'kw' [-Wunused-parameter] const char *kw, void *private) ~~~~~~~~~~~~^~ src/fcgi-app.c:175:27: warning: unused parameter 'private' [-Wunused-parameter] const char *kw, void *private) ~~~~~~^~~~~~~ src/fcgi-app.c: In function 'fcgi_flt_init': src/fcgi-app.c:192:40: warning: unused parameter 'px' [-Wunused-parameter] static int fcgi_flt_init(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/fcgi-app.c: In function 'fcgi_flt_deinit': src/fcgi-app.c:198:43: warning: unused parameter 'px' [-Wunused-parameter] static void fcgi_flt_deinit(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/fcgi-app.c: In function 'fcgi_flt_stop': src/fcgi-app.c:305:42: warning: unused parameter 's' [-Wunused-parameter] static void fcgi_flt_stop(struct stream *s, struct filter *filter) ~~~~~~~~~~~~~~~^ src/fcgi-app.c: In function 'parse_fcgi_flt': src/fcgi-app.c:520:51: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ~~~~~~^~~~~~~ src/fcgi-app.c: In function 'proxy_parse_use_fcgi_app': src/fcgi-app.c:581:54: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_use_fcgi_app(char **args, int section, struct proxy *curpx, ~~~~^~~~~~~ src/fcgi-app.c:582:23: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/fcgi-app.c:582:42: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/fcgi-app.c:582:52: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/fcgi-app.c: At top level: src/fcgi-app.c:1102:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fcgi.docroot", smp_fetch_fcgi_docroot, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/fcgi-app.c:15: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/fcgi-app.c:1103:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fcgi.index", smp_fetch_fcgi_index, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/fcgi-app.c:15: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/fcgi-app.c:14: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/fcgi-app.c:1114:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/fcgi-app.c:1115:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct flt_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/fcgi-app.c:1116:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &filter_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(void (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/fcgi-app.c:1118:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_deinit, fcgi_apps_deinit); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/fcgi-app.c:1120:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("fcgi-app", cfg_parse_fcgi_app, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:152:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, cfg_register_postparser, (name), (parser)) ^~~~~~~~~ src/fcgi-app.c:1121:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("fcgi-apps", cfg_fcgi_apps_postparser); ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/connection.o CC src/tcp_rules.o CC src/filters.o In file included from src/connection.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CC src/task.o In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/common/net_helper.h:31, from src/connection.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/net_helper.h:31, from src/connection.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/net_helper.h:31, from src/connection.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/filters.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from src/filters.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/task.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/task.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/filters.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/filters.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/filters.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/filters.c:13: include/common/buffer.h: In function 'b_alloc_margin': In file included from include/common/standard.h:38, from src/task.c:18: include/common/namespace.h: In function 'my_socketat': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/task.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/task.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/fd.h:32, from include/proto/connection.h:30, from src/connection.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/connection.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/connection.c:22: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/proxy.h:28, from src/task.c:25: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/filters.c:15: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/connection.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/channel.h:32, from src/tcp_rules.c:29: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/connection.c:26: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/tcp_rules.c:29: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/stream_interface.h:32, from src/connection.c:26: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/stream.h:32, from src/task.c:26: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/tcp_rules.c:30: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/connection.c:17: src/connection.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/connection.c:32:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_connection, "connection", sizeof(struct connection)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/connection.c:33:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_connstream, "conn_stream", sizeof(struct conn_stream)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/connection.c:34:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_sockaddr, "sockaddr", sizeof(struct sockaddr_storage)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/connection.c:35:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_authority, "authority", PP2_AUTHORITY_MAX); ^~~~~~~~~~~~ src/connection.c: In function 'conn_unsubscribe': src/connection.c:250:53: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] int conn_unsubscribe(struct connection *conn, void *xprt_ctx, int event_type, void *param) ~~~~~~^~~~~~~~ src/connection.c: In function 'conn_subscribe': src/connection.c:272:51: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] int conn_subscribe(struct connection *conn, void *xprt_ctx, int event_type, void *param) ~~~~~~^~~~~~~~ In file included from src/tcp_rules.c:30: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ src/connection.c: In function 'conn_recv_proxy': src/connection.c:617:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (tlv_offset < total_v2_len) { ^ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/connection.c:622:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (tlv_offset + TLV_HEADER_SIZE > total_v2_len) ^ src/connection.c:630:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (tlv_offset > total_v2_len) ^ src/connection.c:678:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (tlv_offset != total_v2_len) ^~ src/connection.c:702:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len2 != trash.data) ^~ In file included from src/filters.c:19: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ src/connection.c: In function 'conn_recv_netscaler_cip': src/connection.c:906:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len2 != trash.data) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/connection.c: In function 'make_tlv': src/connection.c:1241:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (!dest || (length + sizeof(*tlv) > dest_len)) ^ src/connection.c: In function 'make_proxy_line_v2': In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from src/task.c:16: src/task.c: At top level: src/connection.c:1338:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/task.c:29:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_task, "task", sizeof(struct task)); ^~~~~~~~~~~~ src/connection.c:1345:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/task.c:30:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_tasklet, "tasklet", sizeof(struct tasklet)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/task.c:35:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_notification, "notification", sizeof(struct notification)); ^~~~~~~~~~~~ src/connection.c:1363:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ src/connection.c:1373:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv_ssl)) ^ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:265:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/task.c:46:1: note: in expansion of macro '__decl_aligned_spinlock' __decl_aligned_spinlock(rq_lock); /* spin lock related to run queue */ ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:275:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_rwlock_init, &(lock)) ^~~~~~~~~ src/task.c:47:1: note: in expansion of macro '__decl_aligned_rwlock' __decl_aligned_rwlock(wq_lock); /* RW lock related to the wait queue */ ^~~~~~~~~~~~~~~~~~~~~ src/connection.c: In function 'smp_fetch_fc_http_major': src/connection.c:1447:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fc_http_major(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/connection.c:1447:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_http_major(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/connection.c: In function 'smp_fetch_fc_rcvd_proxy': src/connection.c:1458:47: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_fc_rcvd_proxy(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/connection.c:1458:85: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_fc_rcvd_proxy(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/connection.c:1458:95: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_fc_rcvd_proxy(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/connection.c: In function 'smp_fetch_fc_pp_authority': src/connection.c:1479:49: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_fc_pp_authority(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/connection.c:1479:87: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_fc_pp_authority(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/connection.c:1479:97: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_fc_pp_authority(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/connection.c: At top level: src/connection.c:1509:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_http_major", smp_fetch_fc_http_major, 0, NULL, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/connection.c:1510:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "bc_http_major", smp_fetch_fc_http_major, 0, NULL, SMP_T_SINT, SMP_USE_L4SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/connection.c:1511:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rcvd_proxy", smp_fetch_fc_rcvd_proxy, 0, NULL, SMP_T_BOOL, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/connection.c:1512:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_pp_authority", smp_fetch_fc_pp_authority, 0, NULL, SMP_T_STR, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/proto/filters.h:30, from src/filters.c:29: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/connection.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/connection.c:1516:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ src/tcp_rules.c: In function 'tcp_parse_response_rule': src/tcp_rules.c:580:62: warning: unused parameter 'section_type' [-Wunused-parameter] static int tcp_parse_response_rule(char **args, int arg, int section_type, ~~~~^~~~~~~~~~~~ src/tcp_rules.c:583:49: warning: unused parameter 'where' [-Wunused-parameter] unsigned int where, ~~~~~~~~~~~~~^~~~~ src/tcp_rules.c: In function 'tcp_parse_request_rule': src/tcp_rules.c:643:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int tcp_parse_request_rule(char **args, int arg, int section_type, ~~~~^~~~~~~~~~~~ src/task.c: In function 'init_task': src/task.c:568:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < MAX_THREADS; i++) { ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/filters.c:34: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/common/cfgparse.h:27, from src/tcp_rules.c:12: src/tcp_rules.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/tcp_rules.c:1217:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ In file included from include/proto/stream_interface.h:33, from src/filters.c:34: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/filters.c:13: src/filters.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/filters.c:39:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_filter, "filter", sizeof(struct filter)); ^~~~~~~~~~~~~~~~~~~ src/filters.c: In function 'parse_filter': src/filters.c:179:31: warning: unused parameter 'section_type' [-Wunused-parameter] parse_filter(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/filters.c: In function 'flt_end_analyze': src/filters.c:803:69: warning: unused parameter 'an_bit' [-Wunused-parameter] flt_end_analyze(struct stream *s, struct channel *chn, unsigned int an_bit) ~~~~~~~~~~~~~^~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/filters.c:13: src/filters.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/filters.c:1050:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:302:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/filters.c:1052:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(flt_init_all); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:330:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_init, (fct)) ^~~~~~~~~ src/filters.c:1053:1: note: in expansion of macro 'REGISTER_PER_THREAD_INIT' REGISTER_PER_THREAD_INIT(flt_init_all_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(void (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:334:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_deinit, (fct)) ^~~~~~~~~ src/filters.c:1054:1: note: in expansion of macro 'REGISTER_PER_THREAD_DEINIT' REGISTER_PER_THREAD_DEINIT(flt_deinit_all_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/mworker.o CC src/map.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/h1_htx.o In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/map.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/map.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/trace.o In file included from include/common/standard.h:38, from src/map.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/map.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/h1_htx.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/h1_htx.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/h1_htx.c:15: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/h1_htx.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/h1_htx.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/trace.c:21: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/h1_htx.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/buffer.h:30, from src/trace.c:21: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/trace.c:21: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/trace.c:21: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/trace.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/trace.c:21: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mworker.c:20: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/mworker.c:38: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from src/map.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from src/map.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream_interface.h:32, from src/mworker.c:38: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/mworker.c:38: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:33, from src/mworker.c:38: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/mworker.c: In function 'mworker_catch_sighup': src/mworker.c:231:47: warning: unused parameter 'sh' [-Wunused-parameter] void mworker_catch_sighup(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/mworker.c: In function 'mworker_catch_sigchld': src/mworker.c:253:48: warning: unused parameter 'sh' [-Wunused-parameter] void mworker_catch_sigchld(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/cfgparse.h:27, from src/mworker.c:20: src/mworker.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:330:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_init, (fct)) ^~~~~~~~~ src/mworker.c:392:1: note: in expansion of macro 'REGISTER_PER_THREAD_INIT' REGISTER_PER_THREAD_INIT(mworker_pipe_register_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/map.c:29: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/mworker.c: In function 'cli_parse_reload': src/mworker.c:554:36: warning: unused parameter 'args' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/mworker.c:554:48: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mworker.c:554:86: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mworker.c: In function 'mworker_parse_global_max_reloads': src/mworker.c:565:62: warning: unused parameter 'section_type' [-Wunused-parameter] static int mworker_parse_global_max_reloads(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mworker.c:565:90: warning: unused parameter 'curpx' [-Wunused-parameter] static int mworker_parse_global_max_reloads(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mworker.c:566:26: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int linenum, char **err) ~~~~~~~~~~~~~~^~~~~ In file included from include/common/cfgparse.h:27, from src/mworker.c:20: src/mworker.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mworker.c:625:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &mworker_kws); ^~~~~~~~~ src/mworker.c:635:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/mworker.c:25: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/mworker.c:20: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mworker.c:638:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/map.c:32: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/map.c:32: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/map.c:32: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/h1_htx.c:15: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream_interface.h:33, from src/map.c:32: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/map.c: In function 'cli_parse_get_map': src/map.c:591:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_get_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:591:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_get_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_show_map': src/map.c:642:50: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:642:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_set_map': src/map.c:676:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:676:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_add_map': src/map.c:760:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_add_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_del_map': src/map.c:862:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_del_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:862:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_del_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from src/h1_htx.c:18: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ src/map.c: In function 'cli_parse_clear_map': src/map.c:929:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_clear_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:929:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_clear_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: At top level: src/map.c:971:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "add", "acl", NULL }, "add acl : add acl entry", cli_parse_add_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:972:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "clear", "acl", NULL }, "clear acl : clear the content of this acl", cli_parse_clear_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:973:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "del", "acl", NULL }, "del acl : delete acl entry", cli_parse_del_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:974:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "get", "acl", NULL }, "get acl : report the patterns matching a sample for an ACL", cli_parse_get_map, cli_io_handler_map_lookup, cli_release_mlook }, ^ In file included from src/map.c:20: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/map.c:975:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "acl", NULL }, "show acl [id] : report available acls or dump an acl's contents", cli_parse_show_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:976:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "add", "map", NULL }, "add map : add map entry", cli_parse_add_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ include/common/htx.h: In function 'htx_get_max_blksz': src/map.c:977:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "clear", "map", NULL }, "clear map : clear the content of this map", cli_parse_clear_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/map.c:978:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "del", "map", NULL }, "del map : delete map entry", cli_parse_del_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:979:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "get", "map", NULL }, "get map : report the keys and values matching a sample for a map", cli_parse_get_map, cli_io_handler_map_lookup, cli_release_mlook }, ^ In file included from src/map.c:20: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/map.c:980:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "map", NULL }, "set map : modify map entry", cli_parse_set_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:981:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "map", NULL }, "show map [id] : report available maps or dump a map's contents", cli_parse_show_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:982:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { NULL }, NULL, NULL, NULL } ^ In file included from src/map.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ In file included from src/map.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/map.c:985:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/map.c:1039:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ src/h1_htx.c: In function 'h1_postparse_req_hdrs': src/h1_htx.c:213:3: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ src/h1_htx.c: In function 'h1_postparse_res_hdrs': src/h1_htx.c:315:3: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ src/h1_htx.c: In function 'h1_parse_msg_data': src/h1_htx.c:454:11: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > b_contig_data(srcbuf, ofs)) ^ src/h1_htx.c:503:12: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > b_contig_data(srcbuf, ofs)) ^ src/h1_htx.c:534:11: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > b_contig_data(srcbuf, ofs)) ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/trace.c:27: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/trace.c:21: src/trace.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/trace.c:48:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(alloc_trace_buffers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/trace.c:49:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(free_trace_buffers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ src/trace.c: In function 'cli_parse_trace': src/trace.c:266:47: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_trace(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/trace.c:266:85: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_trace(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/trace.c: In function 'cli_parse_show_trace': src/trace.c:600:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_trace(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/trace.c:600:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_trace(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/trace.c: At top level: src/trace.c:654:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "trace", NULL }, "trace [cmd [args...]] : manage live tracing", cli_parse_trace, NULL, NULL }, ^ In file included from include/proto/cli.h:28, from src/trace.c:26: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/trace.c:655:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "trace", NULL }, "show trace [] : show live tracing state", cli_parse_show_trace, NULL, NULL }, ^ In file included from include/proto/cli.h:28, from src/trace.c:26: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/trace.c:656:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from include/proto/cli.h:28, from src/trace.c:26: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/trace.c:21: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/trace.c:659:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ CC src/flt_trace.o In file included from include/common/htx.h:28, from src/flt_trace.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/htx.h:31, from src/flt_trace.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/htx.h:31, from src/flt_trace.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/htx.h:31, from src/flt_trace.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ CC src/acl.o In file included from src/flt_trace.c:16: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/flt_trace.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ CC src/http_htx.o In file included from include/types/channel.h:26, from src/flt_trace.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/acl.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/acl.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/acl.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/acl.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/flt_http_comp.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/flt_http_comp.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from src/flt_http_comp.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from include/proto/filters.h:30, from src/flt_trace.c:28: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/flt_http_comp.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/flt_http_comp.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/filters.h:30, from src/flt_trace.c:28: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/flt_http_comp.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/flt_http_comp.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/flt_trace.c: In function 'trace_hexdump': src/flt_trace.c:91:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < ist.len + padding; i++) { ^ src/flt_trace.c:97:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i < ist.len) ^ src/flt_trace.c:105:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for(j = i - 15; j <= i && j < ist.len; j++) ^ src/flt_trace.c: In function 'trace_raw_hexdump': src/flt_trace.c:119:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (block1 > b_contig_data(buf, offset)) ^ src/flt_trace.c: In function 'trace_deinit': src/flt_trace.c:207:28: warning: unused parameter 'px' [-Wunused-parameter] trace_deinit(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c: In function 'trace_check': src/flt_trace.c:222:27: warning: unused parameter 'px' [-Wunused-parameter] trace_check(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c:222:48: warning: unused parameter 'fconf' [-Wunused-parameter] trace_check(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~~~~^~~~~ src/flt_trace.c: In function 'trace_init_per_thread': src/flt_trace.c:229:37: warning: unused parameter 'px' [-Wunused-parameter] trace_init_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c: In function 'trace_deinit_per_thread': src/flt_trace.c:239:39: warning: unused parameter 'px' [-Wunused-parameter] trace_deinit_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c: In function 'trace_http_payload': src/flt_trace.c:473:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!ret || ret >= data) ^~ src/flt_trace.c:487:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (ret != len) ^~ src/flt_trace.c: In function 'trace_http_reply': src/flt_trace.c:516:65: warning: unused parameter 'status' [-Wunused-parameter] trace_http_reply(struct stream *s, struct filter *filter, short status, ~~~~~~^~~~~~ src/flt_trace.c:517:25: warning: unused parameter 'msg' [-Wunused-parameter] const struct buffer *msg) ~~~~~~~~~~~~~~~~~~~~~^~~ src/flt_trace.c: In function 'trace_tcp_payload': src/flt_trace.c:541:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!ret || ret >= data) ^~ src/flt_trace.c:570:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (ret != len) ^~ src/flt_trace.c: In function 'parse_trace_flt': src/flt_trace.c:613:59: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ~~~~~~^~~~~~~ In file included from include/common/hathreads.h:32, from src/flt_trace.c:15: src/flt_trace.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct flt_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_trace.c:674:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &flt_kws); ^~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/acl.c:23: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/acl.c:23: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/channel.h:32, from src/acl.c:28: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/acl.c:28: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/acl.c:28: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/http_htx.c:18: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/acl.c:18: src/acl.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/acl.c:1359:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ src/acl.c: In function 'parse_acl_expr': src/acl.c:644:11: warning: this statement may fall through [-Wimplicit-fallthrough=] value++; /* gt = ge + 1 */ ~~~~~^~ src/acl.c:646:5: note: here case STD_OP_GE: ^~~~ src/acl.c:656:11: warning: this statement may fall through [-Wimplicit-fallthrough=] value--; /* lt = le - 1 */ ~~~~~^~ src/acl.c:658:5: note: here case STD_OP_LE: ^~~~ src/http_htx.c: In function 'http_str_to_htx': src/http_htx.c:808:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] while (raw.len > ret) { ^ src/http_htx.c: In function 'http_htx_init': src/http_htx.c:848:1: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/http_htx.c:14: src/http_htx.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:152:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, cfg_register_postparser, (name), (parser)) ^~~~~~~~~ src/http_htx.c:852:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("http_htx", http_htx_init); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/flt_http_comp.c:15: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/filters.h:30, from src/flt_http_comp.c:26: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/flt_http_comp.c:13: src/flt_http_comp.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/flt_http_comp.c:42:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_comp_state, "comp_state", sizeof(struct comp_state)); ^~~~~~~~~~~~~~~~~~~ src/flt_http_comp.c: In function 'comp_flt_init': src/flt_http_comp.c:64:29: warning: unused parameter 'px' [-Wunused-parameter] comp_flt_init(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_http_comp.c: In function 'comp_flt_init_per_thread': src/flt_http_comp.c:71:40: warning: unused parameter 'px' [-Wunused-parameter] comp_flt_init_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_http_comp.c:71:61: warning: unused parameter 'fconf' [-Wunused-parameter] comp_flt_init_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~~~~^~~~~ src/flt_http_comp.c: In function 'comp_flt_deinit_per_thread': src/flt_http_comp.c:81:42: warning: unused parameter 'px' [-Wunused-parameter] comp_flt_deinit_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_http_comp.c:81:63: warning: unused parameter 'fconf' [-Wunused-parameter] comp_flt_deinit_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~~~~^~~~~ src/flt_http_comp.c: In function 'comp_start_analyze': src/flt_http_comp.c:90:35: warning: unused parameter 's' [-Wunused-parameter] comp_start_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c:90:77: warning: unused parameter 'chn' [-Wunused-parameter] comp_start_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~~^~~ src/flt_http_comp.c: In function 'comp_end_analyze': src/flt_http_comp.c:114:33: warning: unused parameter 's' [-Wunused-parameter] comp_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c:114:75: warning: unused parameter 'chn' [-Wunused-parameter] comp_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~~^~~ src/flt_http_comp.c: In function 'comp_http_post_analyze': src/flt_http_comp.c:156:26: warning: unused parameter 'chn' [-Wunused-parameter] struct channel *chn, unsigned an_bit) ~~~~~~~~~~~~~~~~^~~ src/flt_http_comp.c: In function 'comp_http_payload': src/flt_http_comp.c:213:13: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (ret == sz && !b_data(&trash)) { ^~ src/flt_http_comp.c: In function 'set_compression_response_header': src/flt_http_comp.c:300:71: warning: unused parameter 's' [-Wunused-parameter] set_compression_response_header(struct comp_state *st, struct stream *s, struct http_msg *msg) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c: In function 'select_compression_request_header': src/flt_http_comp.c:397:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (toklen < ctx.value.len && HTTP_IS_TOKEN(*(ctx.value.ptr + toklen))) ^ src/flt_http_comp.c: In function 'select_compression_response_header': src/flt_http_comp.c:547:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (ctx.value.len >= comp_type->name_len && ^~ src/flt_http_comp.c:565:42: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (read_freq_ctr(&global.comp_bps_in) > global.comp_rate_lim) ^ src/flt_http_comp.c:578:3: warning: label 'deinit_comp_ctx' defined but not used [-Wunused-label] deinit_comp_ctx: ^~~~~~~~~~~~~~~ src/flt_http_comp.c: In function 'parse_compression_options': src/flt_http_comp.c:632:44: warning: unused parameter 'section' [-Wunused-parameter] parse_compression_options(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/flt_http_comp.c:633:20: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/flt_http_comp.c: In function 'parse_http_comp_flt': src/flt_http_comp.c:696:28: warning: unused parameter 'args' [-Wunused-parameter] parse_http_comp_flt(char **args, int *cur_arg, struct proxy *px, ~~~~~~~^~~~ src/flt_http_comp.c:697:63: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ~~~~~~^~~~~~~ src/flt_http_comp.c: In function 'smp_fetch_res_comp': src/flt_http_comp.c:777:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_res_comp(const struct arg *args, struct sample *smp, const char *kw, ~~~~~~~~~~~~~~~~~~^~~~ src/flt_http_comp.c:777:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_res_comp(const struct arg *args, struct sample *smp, const char *kw, ~~~~~~~~~~~~^~ src/flt_http_comp.c:778:12: warning: unused parameter 'private' [-Wunused-parameter] void *private) ~~~~~~^~~~~~~ src/flt_http_comp.c: In function 'smp_fetch_res_comp_algo': src/flt_http_comp.c:791:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_res_comp_algo(const struct arg *args, struct sample *smp, ~~~~~~~~~~~~~~~~~~^~~~ src/flt_http_comp.c:792:16: warning: unused parameter 'kw' [-Wunused-parameter] const char *kw, void *private) ~~~~~~~~~~~~^~ src/flt_http_comp.c:792:26: warning: unused parameter 'private' [-Wunused-parameter] const char *kw, void *private) ~~~~~~^~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/flt_http_comp.c:13: src/flt_http_comp.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_http_comp.c:824:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct flt_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_http_comp.c:833:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &filter_kws); ^~~~~~~~~ src/flt_http_comp.c:837:3: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.comp", smp_fetch_res_comp, 0, NULL, SMP_T_BOOL, SMP_USE_HRSHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/flt_http_comp.c:838:3: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.comp_algo", smp_fetch_res_comp_algo, 0, NULL, SMP_T_STR, SMP_USE_HRSHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/flt_http_comp.c:13: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_http_comp.c:843:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ CC src/payload.o In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/common/net_helper.h:31, from src/payload.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/net_helper.h:31, from src/payload.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/net_helper.h:31, from src/payload.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/net_helper.h:31, from src/payload.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/payload.c:18: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ CC src/vars.o CC src/debug.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/debug.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/net_helper.h:31, from src/debug.c:24: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from include/common/net_helper.h:31, from src/debug.c:24: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/net_helper.h:31, from src/debug.c:24: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/mux_pt.o In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/lb_map.h:26, from include/types/backend.h:32, from include/types/proxy.h:42, from include/types/acl.h:32, from include/proto/acl.h:26, from src/payload.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/lb_map.h:26, from include/types/backend.h:32, from include/types/proxy.h:42, from include/types/acl.h:32, from include/proto/acl.h:26, from src/payload.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/payload.c:21: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/connection.h:26, from src/mux_pt.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/payload.c:21: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/payload.c: In function 'smp_fetch_wait_end': src/payload.c:36:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_wait_end(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:36:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_wait_end(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:36:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_wait_end(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_len': src/payload.c:49:33: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:49:71: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:49:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_req_ssl_st_ext': src/payload.c:74:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:74:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:74:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_req_ssl_ec_ext': src/payload.c:204:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_req_ssl_ec_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:204:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_req_ssl_ec_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:204:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_req_ssl_ec_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_ssl_hello_type': src/payload.c:324:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_hello_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:324:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_hello_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:324:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_hello_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_req_ssl_ver': src/payload.c:391:41: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_req_ssl_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:391:79: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_req_ssl_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:391:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_req_ssl_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_ssl_hello_sni': src/payload.c:531:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_hello_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:531:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_hello_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:531:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_hello_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_ssl_hello_alpn': src/payload.c:697:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_hello_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:697:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_hello_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:697:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_hello_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_rdp_cookie': src/payload.c:927:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_rdp_cookie(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:927:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_rdp_cookie(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_payload_lv': src/payload.c:976:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < len_size; i++) { ^ src/payload.c:991:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (!buf_size || buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:991:75: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (!buf_size || buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:956:79: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_payload_lv(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:956:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_payload_lv(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_payload': src/payload.c:1023:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:1023:62: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:1013:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_payload(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:1013:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_payload(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_distcc_param': src/payload.c:1123:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (ofs + 12 <= channel_recv_limit(chn) + b_orig(&chn->buf) - ci_head(chn)) ^~ src/payload.c:1097:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_distcc_param(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:1097:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_distcc_param(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_distcc_body': src/payload.c:1199:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (ofs + 12 <= channel_recv_limit(chn) + b_orig(&chn->buf) - ci_head(chn)) ^~ src/payload.c:1236:21: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (ofs + body > channel_recv_limit(chn) + b_orig(&chn->buf) - ci_head(chn)) { ^ src/payload.c:1174:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_distcc_body(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:1174:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_distcc_body(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: At top level: src/payload.c:1303:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "distcc_body", smp_fetch_distcc_body, ARG2(1,STR,SINT), val_distcc, SMP_T_BIN, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1304:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "distcc_param", smp_fetch_distcc_param, ARG2(1,STR,SINT), val_distcc, SMP_T_SINT, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1305:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "payload", smp_fetch_payload, ARG2(2,SINT,SINT), NULL, SMP_T_BIN, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1306:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "payload_lv", smp_fetch_payload_lv, ARG3(2,SINT,SINT,STR), val_payload_lv, SMP_T_BIN, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1307:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rdp_cookie", smp_fetch_rdp_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1308:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rdp_cookie_cnt", smp_fetch_rdp_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1309:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rep_ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1310:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_len", smp_fetch_len, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1311:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1312:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ssl_sni", smp_fetch_ssl_hello_sni, 0, NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1313:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ssl_ver", smp_fetch_req_ssl_ver, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1315:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.len", smp_fetch_len, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1316:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.payload", smp_fetch_payload, ARG2(2,SINT,SINT), NULL, SMP_T_BIN, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1317:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.payload_lv", smp_fetch_payload_lv, ARG3(2,SINT,SINT,STR), val_payload_lv, SMP_T_BIN, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1318:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.rdp_cookie", smp_fetch_rdp_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1319:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.rdp_cookie_cnt", smp_fetch_rdp_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1320:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_ec_ext", smp_fetch_req_ssl_ec_ext, 0, NULL, SMP_T_BOOL, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1321:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_st_ext", smp_fetch_req_ssl_st_ext, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1322:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1323:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_sni", smp_fetch_ssl_hello_sni, 0, NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1324:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_alpn", smp_fetch_ssl_hello_alpn, 0, NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1325:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_ver", smp_fetch_req_ssl_ver, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1326:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.len", smp_fetch_len, 0, NULL, SMP_T_SINT, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1327:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.payload", smp_fetch_payload, ARG2(2,SINT,SINT), NULL, SMP_T_BIN, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1328:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.payload_lv", smp_fetch_payload_lv, ARG3(2,SINT,SINT,STR), val_payload_lv, SMP_T_BIN, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1329:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1330:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "wait_end", smp_fetch_wait_end, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from src/payload.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/payload.c:1334:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ src/payload.c:1340:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "payload", "req.payload", PAT_MATCH_BIN }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1341:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "payload_lv", "req.payload_lv", PAT_MATCH_BIN }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1342:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_rdp_cookie", "req.rdp_cookie", PAT_MATCH_STR }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1343:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_rdp_cookie_cnt", "req.rdp_cookie_cnt", PAT_MATCH_INT }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1344:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ssl_sni", "req.ssl_sni", PAT_MATCH_STR }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1345:2: warning: missing initializer for field 'index' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ssl_ver", "req.ssl_ver", PAT_MATCH_INT, pat_parse_dotted_ver }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:96:8: note: 'index' declared here int (*index)(struct pattern_expr *expr, struct pattern *pattern, char **err); ^~~~~ src/payload.c:1346:2: warning: missing initializer for field 'index' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req.ssl_ver", "req.ssl_ver", PAT_MATCH_INT, pat_parse_dotted_ver }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:96:8: note: 'index' declared here int (*index)(struct pattern_expr *expr, struct pattern *pattern, char **err); ^~~~~ In file included from src/payload.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/payload.c:1350:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/debug.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/debug.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ In file included from src/debug.c:32: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/hlua.h:43:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ~~~~~~~~~~~~~^~~ include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/debug.c:33: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from include/proto/stream_interface.h:32, from src/debug.c:33: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/http_ana.h:26, from src/vars.c:12: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/debug.c:33: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/cfgparse.h:27, from src/vars.c:3: src/vars.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/vars.c:19:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(var_pool, "vars", sizeof(struct var)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:270:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_rwlock_init, &(lock)) ^~~~~~~~~ src/vars.c:37:1: note: in expansion of macro '__decl_rwlock' __decl_rwlock(var_names_rwlock); ^~~~~~~~~~~~~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/debug.c:33: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/vars.c: In function 'smp_fetch_var': src/vars.c:304:82: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_var(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/vars.c:304:92: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_var(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/vars.c: In function 'smp_conv_store': src/vars.c:469:77: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_store(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/vars.c: In function 'smp_conv_clear': src/vars.c:475:77: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_clear(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/vars.c: In function 'action_store': src/vars.c:634:81: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/vars.c: In function 'action_clear': src/vars.c:665:81: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/vars.c: In function 'conv_check_var': src/vars.c:690:65: warning: unused parameter 'conv' [-Wunused-parameter] static int conv_check_var(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/vars.c:691:39: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err_msg) ~~~~~~~~~~~~^~~~ src/vars.c:691:49: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err_msg) ~~~~^~~~ src/vars.c: In function 'vars_max_size': src/vars.c:781:43: warning: unused parameter 'section_type' [-Wunused-parameter] static int vars_max_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/vars.c:781:71: warning: unused parameter 'curpx' [-Wunused-parameter] static int vars_max_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/vars.c:782:40: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/vars.c:782:59: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/vars.c:782:69: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/vars.c: At top level: src/vars.c:832:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "var", smp_fetch_var, ARG1(1,STR), smp_check_var, SMP_T_STR, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:836:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ src/vars.c:839:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "set-var", smp_conv_store, ARG1(1,STR), conv_check_var, SMP_T_ANY, SMP_T_ANY }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/vars.c:840:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "unset-var", smp_conv_clear, ARG1(1,STR), conv_check_var, SMP_T_ANY, SMP_T_ANY }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:844:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ src/vars.c:847:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:848:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:852:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_sess_keywords_register, &tcp_req_sess_kws); ^~~~~~~~~ src/vars.c:855:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:856:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:860:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_cont_kws); ^~~~~~~~~ src/vars.c:863:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:864:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:868:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_kws); ^~~~~~~~~ src/vars.c:871:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:872:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:876:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/vars.c:879:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:880:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:185:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:884:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:895:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ In file included from include/proto/stream_interface.h:33, from src/debug.c:33: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/debug.c: In function 'ha_thread_dump': src/debug.c:81:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (thr != tid) ^~ src/debug.c: In function 'debug_parse_cli_exit': src/debug.c:214:52: warning: unused parameter 'payload' [-Wunused-parameter] static int debug_parse_cli_exit(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c:214:90: warning: unused parameter 'private' [-Wunused-parameter] static int debug_parse_cli_exit(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c: In function 'debug_parse_cli_close': src/debug.c:227:53: warning: unused parameter 'payload' [-Wunused-parameter] static int debug_parse_cli_close(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c:227:91: warning: unused parameter 'private' [-Wunused-parameter] static int debug_parse_cli_close(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c: In function 'debug_parse_cli_delay': src/debug.c:250:53: warning: unused parameter 'payload' [-Wunused-parameter] static int debug_parse_cli_delay(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c:250:91: warning: unused parameter 'private' [-Wunused-parameter] static int debug_parse_cli_delay(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c: In function 'debug_parse_cli_log': src/debug.c:263:51: warning: unused parameter 'payload' [-Wunused-parameter] static int debug_parse_cli_log(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c:263:89: warning: unused parameter 'private' [-Wunused-parameter] static int debug_parse_cli_log(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c: In function 'debug_parse_cli_loop': src/debug.c:283:52: warning: unused parameter 'payload' [-Wunused-parameter] static int debug_parse_cli_loop(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c:283:90: warning: unused parameter 'private' [-Wunused-parameter] static int debug_parse_cli_loop(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c: In function 'debug_parse_cli_panic': src/debug.c:302:41: warning: unused parameter 'args' [-Wunused-parameter] static int debug_parse_cli_panic(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/debug.c:302:53: warning: unused parameter 'payload' [-Wunused-parameter] static int debug_parse_cli_panic(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c:302:91: warning: unused parameter 'private' [-Wunused-parameter] static int debug_parse_cli_panic(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c: In function 'debug_parse_cli_hex': src/debug.c:353:51: warning: unused parameter 'payload' [-Wunused-parameter] static int debug_parse_cli_hex(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c:353:89: warning: unused parameter 'private' [-Wunused-parameter] static int debug_parse_cli_hex(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c: In function 'debug_parse_cli_tkill': src/debug.c:381:53: warning: unused parameter 'payload' [-Wunused-parameter] static int debug_parse_cli_tkill(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c:381:91: warning: unused parameter 'private' [-Wunused-parameter] static int debug_parse_cli_tkill(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c: In function 'debug_parse_cli_stream': src/debug.c:413:54: warning: unused parameter 'payload' [-Wunused-parameter] static int debug_parse_cli_stream(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c:413:92: warning: unused parameter 'private' [-Wunused-parameter] static int debug_parse_cli_stream(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/debug.c: In function 'ha_thread_dump_all_to_trash': src/debug.c:567:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (thr = 0; thr < global.nbthread; thr++) ^ src/debug.c: At top level: src/debug.c:690:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] {{ "show", "threads", NULL, NULL }, "show threads : show some threads debugging information", NULL, cli_io_handler_show_threads, NULL }, ^ In file included from include/proto/cli.h:28, from src/debug.c:30: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/debug.c:691:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from include/proto/cli.h:28, from src/debug.c:30: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from src/debug.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/debug.c:694:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ In file included from include/common/standard.h:36, from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/mux_pt.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/mux_pt.c:15: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/mux_pt.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/fd.h:32, from include/proto/connection.h:30, from src/mux_pt.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/mux_pt.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_pt.c:15: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_pt.c:15: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/mux_pt.c:15: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/mux_pt.c:14: src/mux_pt.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_pt.c:25:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_pt_ctx, "mux_pt", sizeof(struct mux_pt_ctx)); ^~~~~~~~~~~~~~~~~~~ src/mux_pt.c: In function 'mux_pt_io_cb': src/mux_pt.c:49:47: warning: unused parameter 't' [-Wunused-parameter] static struct task *mux_pt_io_cb(struct task *t, void *tctx, unsigned short status) ~~~~~~~~~~~~~^ src/mux_pt.c:49:77: warning: unused parameter 'status' [-Wunused-parameter] static struct task *mux_pt_io_cb(struct task *t, void *tctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ src/mux_pt.c: In function 'mux_pt_init': src/mux_pt.c:85:63: warning: unused parameter 'prx' [-Wunused-parameter] static int mux_pt_init(struct connection *conn, struct proxy *prx, struct session *sess, ~~~~~~~~~~~~~~^~~ src/mux_pt.c:85:84: warning: unused parameter 'sess' [-Wunused-parameter] static int mux_pt_init(struct connection *conn, struct proxy *prx, struct session *sess, ~~~~~~~~~~~~~~~~^~~~ src/mux_pt.c:86:25: warning: unused parameter 'input' [-Wunused-parameter] struct buffer *input) ~~~~~~~~~~~~~~~^~~~~ src/mux_pt.c: In function 'mux_pt_attach': src/mux_pt.c:163:83: warning: unused parameter 'sess' [-Wunused-parameter] static struct conn_stream *mux_pt_attach(struct connection *conn, struct session *sess) ~~~~~~~~~~~~~~~~^~~~ src/mux_pt.c: In function 'mux_pt_ctl': src/mux_pt.c:338:81: warning: unused parameter 'output' [-Wunused-parameter] static int mux_pt_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ~~~~~~^~~~~~ In file included from src/mux_pt.c:14: src/mux_pt.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct mux_proto_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_pt.c:380:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_pt); ^~~~~~~~~ CC src/http_act.o In file included from include/common/chunk.h:30, from src/http_act.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/http_act.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/h2.o CC src/queue.o In file included from include/common/standard.h:38, from src/http_act.c:26: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/http_act.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http-hdr.h:31, from include/common/h2.h:33, from src/h2.c:30: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/htx.h:31, from include/common/h2.h:34, from src/h2.c:30: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/common/time.h:31, from src/queue.c:75: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/time.h:31, from src/queue.c:75: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/fd.o In file included from include/common/standard.h:38, from include/common/htx.h:31, from include/common/h2.h:34, from src/h2.c:30: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:38, from include/common/time.h:31, from src/queue.c:75: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/htx.h:31, from include/common/h2.h:34, from src/h2.c:30: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/h2.h:34, from src/h2.c:30: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ In file included from include/common/time.h:31, from src/queue.c:75: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/queue.c:75: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/fd.c:93: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/fd.c:93: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/fd.c:93: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/fd.c:93: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_act.c:30: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_act.c:30: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/http_htx.h:26, from include/proto/http_htx.h:29, from src/http_act.c:35: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/http_act.c:36: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream_interface.h:32, from src/http_act.c:38: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/http_act.c:38: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:33, from src/http_act.c:38: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/common/buffer.h: In function 'b_alloc_margin': In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/h2.c:33: include/common/time.h: In function 'tv_leaving_poll': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/h2.c:33: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/http_act.c: In function 'http_action_set_req_line': src/http_act.c:49:65: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:49:93: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'http_action_replace_uri': src/http_act.c:142:64: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:142:92: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'action_http_set_status': src/http_act.c:224:84: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_http_set_status(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:225:63: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:225:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'parse_http_set_status': src/http_act.c:236:97: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_http_set_status(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c: In function 'http_action_reject': src/http_act.c:278:60: warning: unused parameter 'rule' [-Wunused-parameter] static enum act_return http_action_reject(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~~~~^~~~ src/http_act.c:278:80: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_reject(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:279:87: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'parse_http_action_reject': src/http_act.c:304:65: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret parse_http_action_reject(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~^~~~ src/http_act.c:304:76: warning: unused parameter 'orig_arg' [-Wunused-parameter] static enum act_parse_ret parse_http_action_reject(const char **args, int *orig_arg, struct proxy *px, ~~~~~^~~~~~~~ src/http_act.c:304:100: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_http_action_reject(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:305:82: warning: unused parameter 'err' [-Wunused-parameter] struct act_rule *rule, char **err) ~~~~~~~^~~ src/http_act.c: In function 'http_req_disable_l7_retry': src/http_act.c:318:67: warning: unused parameter 'rule' [-Wunused-parameter] static enum act_return http_req_disable_l7_retry(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~~~~^~~~ src/http_act.c:318:87: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_req_disable_l7_retry(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:319:59: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:319:87: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'parse_http_req_disable_l7_retry': src/http_act.c:335:72: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret parse_http_req_disable_l7_retry(const char **args, ~~~~~~~~~~~~~^~~~ src/http_act.c:336:15: warning: unused parameter 'orig_args' [-Wunused-parameter] int *orig_args, struct proxy *px, ~~~~~^~~~~~~~~ src/http_act.c:336:40: warning: unused parameter 'px' [-Wunused-parameter] int *orig_args, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:337:40: warning: unused parameter 'err' [-Wunused-parameter] struct act_rule *rule, char **err) ~~~~~~~^~~ src/http_act.c: In function 'http_action_req_capture': src/http_act.c:349:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_req_capture(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:350:92: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'http_action_req_capture_by_id': src/http_act.c:381:91: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_req_capture_by_id(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:382:98: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ In file included from include/proto/http_ana.h:26, from src/queue.c:80: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ src/http_act.c: In function 'http_action_res_capture_by_id': src/http_act.c:566:91: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_res_capture_by_id(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:567:98: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/http_act.c: At top level: src/http_act.c:703:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "capture", parse_http_req_capture }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:704:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "reject", parse_http_action_reject }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/h2.c: In function 'h2_make_htx_request': src/http_act.c:705:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "disable-l7-retry", parse_http_req_disable_l7_retry }, ^ src/h2.c:351:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = !!phdr; i < list[idx].n.len; i++) ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:706:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "replace-path", parse_replace_uri }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:707:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "replace-uri", parse_replace_uri }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:708:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-method", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:709:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-path", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:710:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-query", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:711:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-uri", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:712:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_act.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_act.c:716:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ src/http_act.c:720:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "capture", parse_http_res_capture }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:721:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-status", parse_http_set_status }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:722:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_act.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_act.c:726:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ In file included from src/queue.c:81: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/h2.c: In function 'h2_make_htx_response': src/h2.c:607:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = !!phdr; i < list[idx].n.len; i++) ^ src/h2.c: In function 'h2_make_htx_trailers': src/h2.c:738:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < list[idx].n.len; i++) ^ In file included from src/queue.c:83: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:32, from src/queue.c:85: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/stream_interface.h:33, from src/queue.c:85: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/fd.c:93: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/fd.c:93: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/queue.c:73: src/queue.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/queue.c:96:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_pendconn, "pendconn", sizeof(struct pendconn)); ^~~~~~~~~~~~ src/queue.c: In function 'pendconn_add': src/queue.c:374:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (srv->nbpend > srv->counters.nbpend_max) ^ src/queue.c:381:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (px->nbpend > px->be_counters.nbpend_max) ^ src/queue.c: In function 'action_set_priority_class': src/queue.c:515:94: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/queue.c: In function 'action_set_priority_offset': src/queue.c:528:95: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/queue.c: At top level: src/queue.c:598:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-class", parse_set_priority_class }, ^ In file included from include/proto/http_rules.h:27, from src/queue.c:79: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/queue.c:599:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-offset", parse_set_priority_offset }, ^ In file included from include/proto/http_rules.h:27, from src/queue.c:79: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from src/queue.c:73: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/queue.c:603:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_cont_kws); ^~~~~~~~~ src/queue.c:606:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-class", parse_set_priority_class }, ^ In file included from include/proto/http_rules.h:27, from src/queue.c:79: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/queue.c:607:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-offset", parse_set_priority_offset }, ^ In file included from include/proto/http_rules.h:27, from src/queue.c:79: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from src/queue.c:73: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/queue.c:611:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/queue.c: In function 'smp_fetch_priority_class': src/queue.c:614:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_priority_class(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/queue.c:614:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_priority_class(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/queue.c:614:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_priority_class(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/queue.c: In function 'smp_fetch_priority_offset': src/queue.c:626:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_priority_offset(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/queue.c:626:83: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_priority_offset(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/queue.c:626:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_priority_offset(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/queue.c: At top level: src/queue.c:639:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "prio_class", smp_fetch_priority_class, 0, NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/queue.c:640:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "prio_offset", smp_fetch_priority_offset, 0, NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from src/queue.c:73: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/queue.c:644:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/fd.c:96: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/fd.c: In function 'fd_write_frag_line': src/fd.c:390:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] while (vec < (sizeof(iovec) / sizeof(iovec[0]) - 1)) { ^ src/fd.c: In function 'my_closefrom': src/fd.c:460:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (step > sizeof(poll_events) / sizeof(poll_events[0])) ^ In file included from include/types/global.h:28, from src/fd.c:93: src/fd.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/fd.c:732:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(alloc_pollers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:330:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_init, (fct)) ^~~~~~~~~ src/fd.c:733:1: note: in expansion of macro 'REGISTER_PER_THREAD_INIT' REGISTER_PER_THREAD_INIT(init_pollers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(void (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:334:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_deinit, (fct)) ^~~~~~~~~ src/fd.c:734:1: note: in expansion of macro 'REGISTER_PER_THREAD_DEINIT' REGISTER_PER_THREAD_DEINIT(deinit_pollers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/fd.c:735:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(free_pollers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ CC src/proto_uxst.o CC src/lb_chash.o CC src/ring.o In file included from include/common/chunk.h:30, from include/types/proxy.h:30, from include/types/applet.h:28, from src/ring.c:26: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:30, from include/types/applet.h:28, from src/ring.c:26: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/lb_chash.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/lb_chash.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/proto_uxst.c:35: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/proto_uxst.c:35: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/lb_chash.c:22: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:38, from src/proto_uxst.c:35: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/lb_chash.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/proto_uxst.c:35: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/proto_uxst.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ CC src/frontend.o In file included from include/common/chunk.h:30, from src/frontend.c:25: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/frontend.c:25: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/frontend.c:30: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/frontend.c:30: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/frontend.c:31: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from src/ring.c:26: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from src/ring.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from src/ring.c:26: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from src/ring.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_chash.c:25: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_chash.c:25: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/proto_uxst.c:39: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/lb_chash.c:29: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/lb_chash.c: In function 'chash_server_is_eligible': src/lb_chash.c:313:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return s->served < slots; ^ src/lb_chash.c: In function 'chash_get_next_server': src/lb_chash.c:446:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!s->maxconn || (!s->nbpend && s->served < srv_dynamic_maxconn(s))) { ^ src/lb_chash.c: In function 'chash_init_server_tree': src/lb_chash.c:502:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (node = 0; node < srv->lb_nodes_tot; node++) { ^ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/ring.c:29: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_uxst.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from include/proto/stream_interface.h:32, from src/ring.c:29: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream_interface.h:32, from src/ring.c:29: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_uxst.c:41: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/ring.c:29: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:33, from src/ring.c:29: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/proto_uxst.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_uxst.c:31: src/proto_uxst.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct protocol *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_uxst.c:81:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, protocol_register, &proto_unix); ^~~~~~~~~ src/proto_uxst.c: In function 'uxst_bind_listener': src/proto_uxst.c:307:37: warning: comparison of integer expressions of different signedness: 'uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] (((listener->bind_conf->ux.uid != -1 || listener->bind_conf->ux.gid != -1) && ^~ src/proto_uxst.c:307:74: warning: comparison of integer expressions of different signedness: 'gid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] (((listener->bind_conf->ux.uid != -1 || listener->bind_conf->ux.gid != -1) && ^~ src/proto_uxst.c: In function 'uxst_add_listener': src/proto_uxst.c:389:62: warning: unused parameter 'port' [-Wunused-parameter] static void uxst_add_listener(struct listener *listener, int port) ~~~~^~~~ src/ring.c: In function 'ring_write': src/ring.c:133:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < npfx; i++) ^ src/ring.c:135:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < nmsg; i++) ^ src/ring.c:170:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < npfx; i++) { ^ src/ring.c:180:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < nmsg; i++) { ^ src/proto_uxst.c: In function 'bind_parse_mode': src/proto_uxst.c:641:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_mode(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_uxst.c: In function 'bind_parse_gid': src/proto_uxst.c:656:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_gid(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_uxst.c: In function 'bind_parse_group': src/proto_uxst.c:668:69: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_group(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_uxst.c: In function 'bind_parse_uid': src/proto_uxst.c:688:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_uid(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ In file included from include/common/config.h:25, from include/common/debug.h:25, from include/common/buf.h:35, from src/ring.c:22: src/ring.c: In function 'cli_io_handler_show_ring': src/ring.c:263:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (unlikely(ofs == ~0)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/proto_uxst.c: In function 'bind_parse_user': src/proto_uxst.c:700:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_user(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_uxst.c:31: src/proto_uxst.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_uxst.c:735:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ src/ring.c: In function 'cli_io_release_show_ring': src/ring.c:344:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (ofs != ~0) { ^~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/channel.h:32, from src/frontend.c:37: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/frontend.c:37: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/frontend.c:37: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/frontend.c:46: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:33, from src/frontend.c:46: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/frontend.c: In function 'smp_fetch_fe_id': src/frontend.c:185:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fe_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/frontend.c:185:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:185:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_name': src/frontend.c:195:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fe_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/frontend.c:195:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:195:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_defbe': src/frontend.c:209:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fe_defbe(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/frontend.c:209:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_defbe(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:209:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_defbe(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_req_rate': src/frontend.c:228:79: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_req_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:228:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_req_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_sess_rate': src/frontend.c:241:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:241:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_conn': src/frontend.c:254:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:254:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: At top level: src/frontend.c:267:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_conn", smp_fetch_fe_conn, ARG1(1,FE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:268:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_defbe", smp_fetch_fe_defbe, 0, NULL, SMP_T_STR, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:269:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_id", smp_fetch_fe_id, 0, NULL, SMP_T_SINT, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:270:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_name", smp_fetch_fe_name, 0, NULL, SMP_T_STR, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:271:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_req_rate", smp_fetch_fe_req_rate, ARG1(1,FE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:272:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_sess_rate", smp_fetch_fe_sess_rate, ARG1(1,FE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/frontend.c:25: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/frontend.c:276:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/frontend.c:285:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ CC src/raw_sock.o CC src/htx.o CC src/xprt_handshake.o CC src/memory.o In file included from include/proto/connection.h:26, from src/xprt_handshake.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/chunk.h:30, from src/htx.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/htx.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/raw_sock.c:25: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from src/raw_sock.c:25: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/htx.h:31, from src/htx.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/chunk.h:30, from include/types/proxy.h:30, from include/types/applet.h:28, from src/memory.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:30, from include/types/applet.h:28, from src/memory.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/htx.h:31, from src/htx.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/htx.c:14: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/htx.c: In function 'htx_defrag': src/htx.c:43:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] for (old = htx_get_head(htx); old != -1; old = htx_get_next(htx, old)) { ^~ src/htx.c:54:18: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (htx->first == old) ^~ src/htx.c:74:18: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return ((blkpos == -1) ? NULL : htx_get_blk(htx, blkpos)); ^~ src/htx.c: In function 'htx_prepare_blk_expansion': src/htx.c:237:17: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] else if (delta > htx_free_space(htx)) { ^ src/htx.c:243:13: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (delta < tailroom) { ^ src/htx.c:268:13: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (delta < headroom) { ^ src/htx.c: In function 'htx_remove_blk': src/htx.c:346:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (pos == htx->head) { ^~ src/htx.c:350:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] else if (pos == htx->tail) { ^~ src/htx.c:360:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (pos == htx->first) ^~ src/htx.c:361:51: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] htx->first = (blk ? htx_get_blk_pos(htx, blk) : -1); ^~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/raw_sock.c:25: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/htx.c: In function 'htx_xfer_blks': src/htx.c:677:47: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (sl->hdrs_bytes != -1 && sl->hdrs_bytes > count) { ^ src/htx.c:725:3: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ src/htx.c: In function 'htx_add_data': src/htx.c:957:10: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (len > htx_free_data_space(htx)) ^ src/htx.c:988:11: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (room < len) ^ src/htx.c:991:3: warning: label 'append_data' defined but not used [-Wunused-label] append_data: ^~~~~~~~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/raw_sock.c:25: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/raw_sock.c:25: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/raw_sock.c:25: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/standard.h:36, from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/xprt_handshake.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/xprt_handshake.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/xprt_handshake.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/fd.h:32, from include/proto/connection.h:30, from src/xprt_handshake.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from src/memory.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/xprt_handshake.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from src/memory.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/xprt_handshake.c:13: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from src/memory.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from src/memory.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/raw_sock.c:33: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/memory.c:19: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/xprt_handshake.c:13: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/xprt_handshake.c:13: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/xprt_handshake.c:14: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/raw_sock.c:33: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/xprt_handshake.c:14: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/channel.h:32, from src/memory.c:32: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/raw_sock.c:33: include/proto/connection.h: In function 'conn_get_best_mux_entry': In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/proto/connection.h:27, from src/xprt_handshake.c:13: src/xprt_handshake.c: At top level: include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/xprt_handshake.c:25:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(xprt_handshake_ctx_pool, "xprt_handshake_ctx_pool", sizeof(struct xprt_handshake_ctx)); ^~~~~~~~~~~~~~~~~~~ include/proto/connection.h: In function 'conn_get_best_mux': src/xprt_handshake.c: In function 'xprt_handshake_from_buf': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/xprt_handshake.c:30:58: warning: unused parameter 'conn' [-Wunused-parameter] static size_t xprt_handshake_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~~~~~~~~~~~~~~~~^~~~ src/xprt_handshake.c:30:70: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] static size_t xprt_handshake_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~~~^~~~~~~~ src/xprt_handshake.c:30:101: warning: unused parameter 'buf' [-Wunused-parameter] static size_t xprt_handshake_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~~~~~~~~~~~~~~~~~~^~~ src/xprt_handshake.c:30:113: warning: unused parameter 'count' [-Wunused-parameter] static size_t xprt_handshake_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~~~~^~~~~ src/xprt_handshake.c:30:124: warning: unused parameter 'flags' [-Wunused-parameter] static size_t xprt_handshake_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/xprt_handshake.c: In function 'xprt_handshake_to_buf': src/xprt_handshake.c:35:56: warning: unused parameter 'conn' [-Wunused-parameter] static size_t xprt_handshake_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~~~~~~~~~~~~~~~~^~~~ src/xprt_handshake.c:35:68: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] static size_t xprt_handshake_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~~~^~~~~~~~ src/xprt_handshake.c:35:93: warning: unused parameter 'buf' [-Wunused-parameter] static size_t xprt_handshake_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~~~~~~~~~~~~^~~ src/xprt_handshake.c:35:105: warning: unused parameter 'count' [-Wunused-parameter] static size_t xprt_handshake_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~~~~^~~~~ In file included from src/memory.c:32: include/proto/channel.h: In function 'channel_htx_may_recv': src/xprt_handshake.c:35:116: warning: unused parameter 'flags' [-Wunused-parameter] static size_t xprt_handshake_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/xprt_handshake.c: In function 'xprt_handshake_io_cb': src/xprt_handshake.c:40:55: warning: unused parameter 't' [-Wunused-parameter] static struct task *xprt_handshake_io_cb(struct task *t, void *bctx, unsigned short state) ~~~~~~~~~~~~~^ src/xprt_handshake.c:40:85: warning: unused parameter 'state' [-Wunused-parameter] static struct task *xprt_handshake_io_cb(struct task *t, void *bctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/xprt_handshake.c: In function 'xprt_handshake_subscribe': src/xprt_handshake.c:207:56: warning: unused parameter 'conn' [-Wunused-parameter] static int xprt_handshake_subscribe(struct connection *conn, void *xprt_ctx, int event_type, void *param) ~~~~~~~~~~~~~~~~~~~^~~~ src/xprt_handshake.c: In function 'xprt_handshake_unsubscribe': src/xprt_handshake.c:232:58: warning: unused parameter 'conn' [-Wunused-parameter] static int xprt_handshake_unsubscribe(struct connection *conn, void *xprt_ctx, int event_type, void *param) ~~~~~~~~~~~~~~~~~~~^~~~ src/xprt_handshake.c: In function 'xprt_handshake_add_xprt': src/xprt_handshake.c:255:55: warning: unused parameter 'conn' [-Wunused-parameter] static int xprt_handshake_add_xprt(struct connection *conn, void *xprt_ctx, void *toadd_ctx, const struct xprt_ops *toadd_ops, void **oldxprt_ctx, const struct xprt_ops **oldxprt_ops) ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/raw_sock.c:39: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/memory.c:34: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/raw_sock.c:39: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/raw_sock.c: In function 'raw_sock_to_buf': src/raw_sock.c:275:12: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret < try) { ^ In file included from include/proto/stream_interface.h:33, from src/memory.c:34: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ src/raw_sock.c:231:62: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] static size_t raw_sock_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~~~^~~~~~~~ include/proto/connection.h: In function 'conn_get_best_mux': src/raw_sock.c:231:110: warning: unused parameter 'flags' [-Wunused-parameter] static size_t raw_sock_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/raw_sock.c: In function 'raw_sock_from_buf': src/raw_sock.c:379:12: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret < try) ^ src/raw_sock.c:343:64: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] static size_t raw_sock_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~~~^~~~~~~~ src/raw_sock.c: In function 'raw_sock_remove_xprt': src/raw_sock.c:419:52: warning: unused parameter 'conn' [-Wunused-parameter] static int raw_sock_remove_xprt(struct connection *conn, void *xprt_ctx, void *toremove_ctx, const struct xprt_ops *newops, void *newctx) ~~~~~~~~~~~~~~~~~~~^~~~ src/raw_sock.c:419:64: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] static int raw_sock_remove_xprt(struct connection *conn, void *xprt_ctx, void *toremove_ctx, const struct xprt_ops *newops, void *newctx) ~~~~~~^~~~~~~~ src/raw_sock.c:419:80: warning: unused parameter 'toremove_ctx' [-Wunused-parameter] static int raw_sock_remove_xprt(struct connection *conn, void *xprt_ctx, void *toremove_ctx, const struct xprt_ops *newops, void *newctx) ~~~~~~^~~~~~~~~~~~ src/raw_sock.c:419:117: warning: unused parameter 'newops' [-Wunused-parameter] static int raw_sock_remove_xprt(struct connection *conn, void *xprt_ctx, void *toremove_ctx, const struct xprt_ops *newops, void *newctx) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/raw_sock.c:419:131: warning: unused parameter 'newctx' [-Wunused-parameter] static int raw_sock_remove_xprt(struct connection *conn, void *xprt_ctx, void *toremove_ctx, const struct xprt_ops *newops, void *newctx) ~~~~~~^~~~~~ src/memory.c: In function 'create_pool': src/memory.c:139:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (thr = 0; thr < MAX_THREADS; thr++) ^ src/memory.c: In function 'init_pools': src/memory.c:597:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (thr = 0; thr < MAX_THREADS; thr++) { ^ src/memory.c: At top level: src/memory.c:610:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "pools", NULL }, "show pools : report information about the memory pools usage", NULL, cli_io_handler_dump_pools }, ^ In file included from src/memory.c:15: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/memory.c:611:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/memory.c:15: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from include/types/proxy.h:30, from include/types/applet.h:28, from src/memory.c:14: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/memory.c:614:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/memory.c:678:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &mem_cfg_kws); ^~~~~~~~~ CC src/applet.o CC src/channel.o CC src/signal.o In file included from include/common/chunk.h:30, from include/types/proxy.h:30, from include/types/applet.h:28, from include/proto/applet.h:30, from src/applet.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:30, from include/types/applet.h:28, from include/proto/applet.h:30, from src/applet.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/lb_fwrr.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/channel.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from src/channel.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/proto/signal.h:15, from src/signal.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/proto/signal.h:15, from src/signal.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/channel.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:38, from include/proto/signal.h:15, from src/signal.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/channel.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/signal.h:15, from src/signal.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/channel.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from src/signal.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/channel.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from src/signal.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/channel.h:32, from src/channel.c:21: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fwrr.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fwrr.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/lb_fwrr.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/lb_fwrr.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/applet.h:30, from src/applet.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/applet.h:30, from src/applet.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/applet.h:30, from src/applet.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/applet.h:30, from src/applet.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/channel.h:32, from src/applet.c:19: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/applet.c:19: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/signal.c:19: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/applet.c:19: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/channel.c:21: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/applet.c:21: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/common/hathreads.h:32, from src/signal.c:16: src/signal.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/signal.c:35:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_sig_handlers, "sig_handlers", sizeof(struct sig_handler)); ^~~~~~~~~~~~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fwrr.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/stream_interface.h:33, from src/applet.c:21: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fwrr.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from src/applet.c:17: src/applet.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:129:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/applet.c:26:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_appctx, "appctx", sizeof(struct appctx)); ^~~~~~~~~~~~ src/applet.c: In function 'task_run_applet': src/applet.c:61:76: warning: unused parameter 'state' [-Wunused-parameter] struct task *task_run_applet(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from src/channel.c:21: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/lb_fwrr.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/channel.c: In function 'co_inject': src/channel.c:85:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || len > c_size(chn)) { ^ In file included from include/common/config.h:25, from src/channel.c:18: src/channel.c: In function 'ci_putblk': src/channel.c:154:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (unlikely(len > max - c_data(chn))) { ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/lb_fwrr.c: In function 'fwrr_update_server_weight': src/lb_fwrr.c:232:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv->npos > prev_next) ^ src/lb_fwrr.c:234:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv->npos < grp->curr_pos + 2) ^ src/channel.c: In function 'co_getline': src/channel.c:206:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (max > co_data(chn)) { ^ src/channel.c:220:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (ret < co_data(chn) || channel_may_recv(chn)) && ^ src/channel.c: In function 'co_getblk': src/channel.c:243:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len + offset > co_data(chn)) { ^ src/channel.c: In function 'co_getline_nc': src/channel.c:291:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (l = 0; l < *len1 && (*blk1)[l] != '\n'; l++); ^ src/lb_fwrr.c: In function 'fwrr_queue_srv': src/channel.c:292:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (l < *len1 && (*blk1)[l] == '\n') { ^ src/lb_fwrr.c:353:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] s->npos >= 2 * grp->curr_weight || ^~ src/lb_fwrr.c:354:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] s->npos >= grp->curr_weight + grp->next_weight) { ^~ src/channel.c:298:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (l = 0; l < *len2 && (*blk2)[l] != '\n'; l++); ^ src/channel.c:299:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (l < *len2 && (*blk2)[l] == '\n') { ^ src/channel.c: In function 'ci_getline_nc': src/channel.c:367:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (l = 0; l < *len1 && (*blk1)[l] != '\n'; l++); ^ src/lb_fwrr.c: In function 'fwrr_get_server_from_group': src/channel.c:368:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (l < *len1 && (*blk1)[l] == '\n') { ^ src/lb_fwrr.c:463:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (s1->cur_eweight && s1->npos <= grp->curr_pos) ^~ src/channel.c:374:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (l = 0; l < *len2 && (*blk2)[l] != '\n'; l++); ^ src/channel.c:375:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (l < *len2 && (*blk2)[l] == '\n') { ^ src/lb_fwrr.c: In function 'fwrr_get_next_server': src/lb_fwrr.c:571:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!srv->maxconn || (!srv->nbpend && srv->served < srv_dynamic_maxconn(srv))) { ^ CC src/ev_select.o CC src/sink.o In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/common/ticks.h:56, from src/ev_select.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ CC src/http_conv.o include/common/ist.h: In function 'ist2str_uc': In file included from src/sink.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/ticks.h:56, from src/ev_select.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/proto_sockpair.o In file included from include/common/standard.h:38, from include/common/ticks.h:56, from src/ev_select.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/ticks.h:56, from src/ev_select.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:36, from include/common/time.h:31, from src/sink.c:25: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/ev_select.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/standard.h:38, from include/common/time.h:31, from src/sink.c:25: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from src/sink.c:25: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/sink.c:25: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/chunk.h:30, from src/http_conv.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/http_conv.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/proto_sockpair.c:35: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/proto_sockpair.c:35: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/http_conv.c:26: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/http_conv.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from src/proto_sockpair.c:35: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/proto_sockpair.c:35: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/proto_sockpair.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/ev_select.c:23: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/ev_select.c: In function '_do_poll': src/ev_select.c:169:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < (maxfd + FD_SETSIZE - 1)/(8*sizeof(int)); i++) { ^ src/ev_select.c:195:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (fds = 0; (fds * BITS_PER_INT) < maxfd; fds++) { ^ src/ev_select.c:92:45: warning: unused parameter 'p' [-Wunused-parameter] REGPRM3 static void _do_poll(struct poller *p, int exp, int wake) ~~~~~~~~~~~~~~~^ src/ev_select.c: In function '_do_test': src/ev_select.c:298:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ~~~~~~~~~~~~~~~^ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/cli.h:26, from src/sink.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/sink.c:27: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/proto_sockpair.c:39: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/sink.c:30: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from src/http_conv.c:34: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream_interface.h:32, from src/sink.c:30: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_sockpair.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/sink.c:30: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:33, from src/sink.c:30: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/http_conv.c: In function 'smp_check_http_date_unit': src/http_conv.c:36:75: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_http_date_unit(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/http_conv.c:37:49: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/http_conv.c:37:59: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/http_conv.c: In function 'sample_conv_http_date': src/http_conv.c:48:84: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_http_date(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/http_conv.c: In function 'sample_conv_q_preferred': src/http_conv.c:100:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_q_preferred(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/http_conv.c: In function 'sample_conv_url_dec': src/http_conv.c:247:50: warning: unused parameter 'args' [-Wunused-parameter] static int sample_conv_url_dec(const struct arg *args, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_conv.c:247:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_url_dec(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/http_conv.c: In function 'smp_conv_req_capture': src/http_conv.c:272:83: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_req_capture(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_sockpair.c:41: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/http_conv.c: In function 'smp_conv_res_capture': src/http_conv.c:313:83: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_res_capture(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/http_conv.c: At top level: src/http_conv.c:360:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "http_date", sample_conv_http_date, ARG2(0,SINT,STR), smp_check_http_date_unit, SMP_T_SINT, SMP_T_STR}, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:361:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "language", sample_conv_q_preferred, ARG2(1,STR,STR), NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:362:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "capture-req", smp_conv_req_capture, ARG1(1,SINT), NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sink.c: In function 'cli_parse_show_events': src/sink.c:203:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_events(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/sink.c:203:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_events(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/http_conv.c:363:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "capture-res", smp_conv_res_capture, ARG1(1,SINT), NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:364:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "url_dec", sample_conv_url_dec, 0, NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:365:2: warning: missing initializer for field 'out_type' of 'struct sample_conv' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:278:15: note: 'out_type' declared here unsigned int out_type; /* output sample type */ ^~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_conv.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_conv.c:368:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from src/sink.c:24: src/sink.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(void (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:314:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_deinit, (fct)) ^~~~~~~~~ src/sink.c:269:1: note: in expansion of macro 'REGISTER_POST_DEINIT' REGISTER_POST_DEINIT(sink_deinit); ^~~~~~~~~~~~~~~~~~~~ src/sink.c:272:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "events", NULL }, "show events [] : show event sink state", cli_parse_show_events, NULL, NULL }, ^ In file included from include/proto/cli.h:28, from src/sink.c:26: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/sink.c:273:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from include/proto/cli.h:28, from src/sink.c:26: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from src/sink.c:24: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/sink.c:276:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ In file included from src/proto_sockpair.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_sockpair.c:31: src/proto_sockpair.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct protocol *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_sockpair.c:78:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, protocol_register, &proto_sockpair); ^~~~~~~~~ src/proto_sockpair.c: In function 'sockpair_add_listener': src/proto_sockpair.c:87:66: warning: unused parameter 'port' [-Wunused-parameter] static void sockpair_add_listener(struct listener *listener, int port) ~~~~^~~~ CC src/mworker-prog.o CC src/activity.o CC src/lb_fwlc.o CC src/http.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker-prog.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker-prog.c:23: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from src/http.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker-prog.c:23: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:36, from src/http.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fwlc.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fwlc.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker-prog.c:23: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker-prog.c:23: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mworker-prog.c:23: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/lb_fwlc.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:38, from src/http.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/global.h:30, from src/lb_fwlc.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/http.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/http.c: In function 'http_extract_cookie_value': src/http.c:751:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (att_end - att_beg == cookie_name_l && ^~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fwlc.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fwlc.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/activity.c:13: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/lb_fwlc.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/lb_fwlc.c: In function 'fwlc_get_next_server': src/lb_fwlc.c:329:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!s->maxconn || (!s->nbpend && s->served < srv_dynamic_maxconn(s))) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mworker-prog.c:23: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from src/activity.c:19: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/activity.c:19: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/activity.c:22: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ CC src/lb_fas.o In file included from include/common/cfgparse.h:27, from src/mworker-prog.c:23: src/mworker-prog.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/mworker-prog.c:354:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("program", cfg_parse_program, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:152:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, cfg_register_postparser, (name), (parser)) ^~~~~~~~~ src/mworker-prog.c:355:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("program", cfg_program_postparser); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/proto/stream_interface.h:33, from src/activity.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/activity.c: In function 'cfg_parse_prof_tasks': src/activity.c:44:50: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_prof_tasks(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/activity.c:44:78: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_prof_tasks(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/activity.c:45:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/activity.c:45:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/activity.c:45:76: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/activity.c: In function 'cli_parse_set_profiling': src/activity.c:65:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_profiling(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/activity.c:65:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_profiling(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from include/common/cfgparse.h:27, from src/activity.c:13: src/activity.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/activity.c:131:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/activity.c:135:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "profiling", NULL }, "show profiling : show CPU profiling options", NULL, cli_io_handler_show_profiling, NULL }, ^ In file included from include/proto/cli.h:28, from src/activity.c:20: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/activity.c:136:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "profiling", NULL }, "set profiling : enable/disable CPU profiling", cli_parse_set_profiling, NULL }, ^ In file included from include/proto/cli.h:28, from src/activity.c:20: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/activity.c:137:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from include/proto/cli.h:28, from src/activity.c:20: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/activity.c:13: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/activity.c:140:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fas.c:24: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fas.c:24: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/uri_auth.o CC src/hathreads.o In file included from include/common/standard.h:38, from include/types/global.h:30, from src/lb_fas.c:24: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/lb_fas.c:24: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ CC src/regex.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from src/uri_auth.c:21: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from src/uri_auth.c:21: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from src/uri_auth.c:21: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/regex.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/regex.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from src/uri_auth.c:21: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from src/uri_auth.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from src/uri_auth.c:21: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/regex.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/global.h:30, from src/regex.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fas.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fas.c:24: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/lb_fas.c:28: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/lb_fas.c: In function 'fas_get_next_server': src/lb_fas.c:331:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!s->maxconn || (!s->nbpend && s->served < srv_dynamic_maxconn(s))) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/uri_auth.c:21: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/regex.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/regex.c:17: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/regex.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ CC src/auth.o src/hathreads.c: In function 'ha_tkillall': src/hathreads.c:147:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (thr = 0; thr < global.nbthread; thr++) { ^ src/hathreads.c: In function 'parse_nbthread': src/hathreads.c:243:31: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] if (nbthread < 1 || nbthread > MAX_THREADS) { ^ src/regex.c: In function 'regex_exec_match': src/regex.c:219:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0; i size)) ^ CC src/compression.o In file included from include/common/standard.h:38, from include/types/global.h:30, from src/auth.c:28: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/auth.c:28: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ CC src/proto_udp.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/buffer.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from src/buffer.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/buffer.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/buffer.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/buffer.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/buffer.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/proto_udp.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/proto_udp.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/proto_udp.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/proto_udp.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/auth.c:28: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/auth.c:28: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/auth.c:35: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/auth.c: In function 'pat_match_auth': src/auth.c:284:67: warning: unused parameter 'fill' [-Wunused-parameter] pat_match_auth(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ In file included from include/types/global.h:28, from src/auth.c:28: src/auth.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(const char *, int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:298:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, hap_register_build_opts, (str), 0) ^~~~~~~~~ src/auth.c:317:1: note: in expansion of macro 'REGISTER_BUILD_OPTS' REGISTER_BUILD_OPTS("Encrypted password support via crypt(3): yes"); ^~~~~~~~~~~~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/buffer.c:18: src/buffer.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:265:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/buffer.c:27:1: note: in expansion of macro '__decl_aligned_spinlock' __decl_aligned_spinlock(buffer_wq_lock); ^~~~~~~~~~~~~~~~~~~~~~~ src/buffer.c: In function '__offer_buffer': src/buffer.c:116:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (avail <= threshold) ^~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/proto_udp.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/proto_udp.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/lb_map.o CC src/chunk.o CC src/wdt.o In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/compression.c:29: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/cfgparse.h:27, from src/compression.c:29: src/compression.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:260:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/compression.c:45:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(comp_pool_lock); ^~~~~~~~~~~~~~~ src/compression.c:100:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "identity", 8, "identity", 8, identity_init, identity_add_data, identity_flush, identity_finish, identity_end }, ^ In file included from src/compression.c:36: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:106:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "deflate", 7, "deflate", 7, deflate_init, deflate_add_data, deflate_flush, deflate_finish, deflate_end }, ^ In file included from src/compression.c:36: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:107:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "raw-deflate", 11, "deflate", 7, raw_def_init, deflate_add_data, deflate_flush, deflate_finish, deflate_end }, ^ In file included from src/compression.c:36: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:108:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "gzip", 4, "gzip", 4, gzip_init, deflate_add_data, deflate_flush, deflate_finish, deflate_end }, ^ In file included from src/compression.c:36: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:110:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { NULL, 0, NULL, 0, NULL , NULL, NULL, NULL, NULL } ^ In file included from src/compression.c:36: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ In file included from include/common/cfgparse.h:27, from src/compression.c:29: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/compression.c:149:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_comp_ctx, "comp_ctx", sizeof(struct comp_ctx)); ^~~~~~~~~~~~~~~~~~~ src/compression.c: In function 'init_comp_ctx': src/compression.c:159:70: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] if (global.maxzlibmem > 0 && (global.maxzlibmem - zlib_used_memory) < sizeof(struct comp_ctx)) ^ src/compression.c: In function 'identity_init': src/compression.c:209:44: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_init(struct comp_ctx **comp_ctx, int level) ~~~~~~~~~~~~~~~~~~^~~~~~~~ src/compression.c:209:58: warning: unused parameter 'level' [-Wunused-parameter] static int identity_init(struct comp_ctx **comp_ctx, int level) ~~~~^~~~~ src/compression.c: In function 'identity_add_data': src/compression.c:218:47: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_add_data(struct comp_ctx *comp_ctx, const char *in_data, int in_len, struct buffer *out) ~~~~~~~~~~~~~~~~~^~~~~~~~ src/compression.c: In function 'identity_flush': src/compression.c:233:44: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_flush(struct comp_ctx *comp_ctx, struct buffer *out) ~~~~~~~~~~~~~~~~~^~~~~~~~ src/compression.c:233:69: warning: unused parameter 'out' [-Wunused-parameter] static int identity_flush(struct comp_ctx *comp_ctx, struct buffer *out) ~~~~~~~~~~~~~~~^~~ src/compression.c: In function 'identity_finish': src/compression.c:238:45: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_finish(struct comp_ctx *comp_ctx, struct buffer *out) ~~~~~~~~~~~~~~~~~^~~~~~~~ src/compression.c:238:70: warning: unused parameter 'out' [-Wunused-parameter] static int identity_finish(struct comp_ctx *comp_ctx, struct buffer *out) ~~~~~~~~~~~~~~~^~~ src/compression.c: In function 'identity_end': src/compression.c:246:43: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_end(struct comp_ctx **comp_ctx) ~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/lb_map.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/lb_map.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/compression.c: In function 'deflate_flush_or_finish': src/compression.c:615:72: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((global.comp_rate_lim > 0 && (read_freq_ctr(&global.comp_bps_out) > global.comp_rate_lim)) || /* rate */ ^ src/compression.c: In function 'zlib_parse_global_memlevel': src/compression.c:655:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int zlib_parse_global_memlevel(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/compression.c:655:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int zlib_parse_global_memlevel(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/compression.c:656:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/compression.c:656:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/compression.c:656:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/compression.c: In function 'zlib_parse_global_windowsize': src/compression.c:677:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int zlib_parse_global_windowsize(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/compression.c:677:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int zlib_parse_global_windowsize(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/compression.c:678:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/compression.c:678:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/compression.c:678:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/compression.c:29: src/compression.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/compression.c:709:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/lb_map.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/lb_map.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/wdt.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/chunk.h:30, from src/chunk.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/wdt.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/chunk.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/wdt.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:38, from src/chunk.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/wdt.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/chunk.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ CC src/hpack-dec.o In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_map.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_map.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/lb_map.c:23: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/lb_map.c: In function 'recalc_server_map': src/lb_map.c:112:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((cur->flags & SRV_F_BACKUP) == flag && ^~ src/lb_map.c: In function 'map_get_server_rr': src/lb_map.c:238:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!srv->maxconn || (!srv->nbpend && srv->served < srv_dynamic_maxconn(srv))) { ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/wdt.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/chunk.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/wdt.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/chunk.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/chunk.c: In function 'init_trash_buffers': src/chunk.c:93:28: warning: unused parameter 'first' [-Wunused-parameter] int init_trash_buffers(int first) ~~~~^~~~~ src/chunk.c: In function 'chunk_printf': src/chunk.c:141:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret >= chk->size) ^~ src/chunk.c: In function 'chunk_appendf': src/chunk.c:164:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret >= chk->size - chk->data) ^~ src/chunk.c: In function 'chunk_htmlencode': src/chunk.c:186:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < src->data; i++) { ^ src/chunk.c: In function 'chunk_asciiencode': src/chunk.c:228:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < src->data; i++) { ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/chunk.c:19: src/chunk.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/chunk.c:311:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(alloc_trash_buffers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/chunk.c:312:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(free_trash_buffers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/hpack-dec.c:33: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/hpack-dec.c:33: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/wdt.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/standard.h:38, from src/hpack-dec.c:33: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/hpack-dec.c:33: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/hpack-dec.h:34, from src/hpack-dec.c:34: include/common/hpack-tbl.h: In function 'hpack_valid_idx': include/common/hpack-tbl.h:161:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ In file included from include/common/h2.h:34, from src/hpack-dec.c:38: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:465:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:487:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:674:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ CC src/action.o CC src/xxhash.o CC src/pipe.o In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/action.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/action.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/action.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/action.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/pipe.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/pipe.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/pipe.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/pipe.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-dec.c:41: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-dec.c:41: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from include/proto/action.h:25, from src/action.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/action.h:27, from include/proto/action.h:25, from src/action.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/shctx.o src/action.c: In function 'act_resolution_cb': src/action.c:73:79: warning: unused parameter 'nameserver' [-Wunused-parameter] int act_resolution_cb(struct dns_requester *requester, struct dns_nameserver *nameserver) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/action.c: In function 'act_resolution_error_cb': src/action.c:89:66: warning: unused parameter 'error_code' [-Wunused-parameter] int act_resolution_error_cb(struct dns_requester *requester, int error_code) ~~~~^~~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/pipe.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/pipe.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/hathreads.h:32, from src/pipe.c:17: src/pipe.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:124:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:134:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/pipe.c:23:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_pipe, "pipe", sizeof(struct pipe)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:260:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/pipe.c:27:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(pipes_lock); /* lock used to protect pipes list */ ^~~~~~~~~~~~~~~ CC src/hpack-tbl.o In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/shctx.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/shctx.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/http_acl.o In file included from include/common/standard.h:38, from include/types/global.h:30, from src/shctx.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/shctx.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http-hdr.h:31, from include/common/hpack-tbl.h:33, from src/hpack-tbl.c:34: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/hpack-tbl.c:34: include/common/hpack-tbl.h: In function 'hpack_valid_idx': include/common/hpack-tbl.h:161:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ CC src/sha1.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/hpack-tbl.c:37: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/hpack-tbl.c:37: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/chunk.h:30, from src/http_acl.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/http_acl.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/hpack-tbl.c:37: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from src/http_acl.c:26: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/http_acl.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/shctx.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/shctx.c:17: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/shctx.c:19: include/proto/shctx.h: In function '_shctx_wait4lock': include/proto/shctx.h:93:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < *count; i++) { ^ include/proto/shctx.h:89:72: warning: unused parameter 'uaddr' [-Wunused-parameter] static inline void _shctx_wait4lock(unsigned int *count, unsigned int *uaddr, int value) ~~~~~~~~~~~~~~^~~~~ include/proto/shctx.h:89:83: warning: unused parameter 'value' [-Wunused-parameter] static inline void _shctx_wait4lock(unsigned int *count, unsigned int *uaddr, int value) ~~~~^~~~~ src/shctx.c: In function 'shctx_row_reserve_hot': src/shctx.c:43:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (data_len > shctx->nbav * shctx->block_size) ^ src/shctx.c:49:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!first && data_len > shctx->max_obj_size)) ^ src/shctx.c: In function 'shctx_row_inc_hot': src/shctx.c:159:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (count >= first->block_count) ^~ src/shctx.c: In function 'shctx_row_dec_hot': src/shctx.c:186:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (count >= first->block_count) ^~ src/shctx.c: In function 'shctx_row_data_append': src/shctx.c:209:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len > first->block_count * shctx->block_size - first->len) ^ src/shctx.c: In function 'shctx_row_data_get': src/shctx.c:257:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len > first->len) ^ src/shctx.c:264:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (count >= first->block_count || len <= 0) ^~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-tbl.c:37: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-tbl.c:37: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/time.o In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC src/hpack-enc.o src/http_acl.c: In function 'pat_parse_meth': src/http_acl.c:40:74: warning: unused parameter 'mflags' [-Wunused-parameter] static int pat_parse_meth(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/http_acl.c:40:89: warning: unused parameter 'err' [-Wunused-parameter] static int pat_parse_meth(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/http_acl.c: In function 'pat_match_meth': src/http_acl.c:78:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (pattern->len != smp->data.u.meth.str.data) ^~ src/http_acl.c:60:90: warning: unused parameter 'fill' [-Wunused-parameter] static struct pattern *pat_match_meth(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/http_acl.c: At top level: src/http_acl.c:97:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base", "base", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:98:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_beg", "base", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:99:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_dir", "base", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:100:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_dom", "base", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:101:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_end", "base", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:102:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_len", "base", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:103:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_reg", "base", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:104:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_sub", "base", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:106:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook", "req.cook", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:107:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_beg", "req.cook", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:108:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_dir", "req.cook", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:109:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_dom", "req.cook", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:110:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_end", "req.cook", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:111:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_len", "req.cook", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:112:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_reg", "req.cook", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:113:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_sub", "req.cook", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:115:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr", "req.hdr", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:116:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_beg", "req.hdr", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:117:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_dir", "req.hdr", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:118:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_dom", "req.hdr", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:119:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_end", "req.hdr", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:120:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_len", "req.hdr", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:121:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_reg", "req.hdr", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:122:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_sub", "req.hdr", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:130:2: warning: missing initializer for field 'smp' of 'struct acl_keyword' [-Wmissing-field-initializers] { "http_auth_group", NULL, PAT_MATCH_STR, NULL, pat_idx_list_str, pat_del_list_ptr, NULL, pat_match_auth }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:101:23: note: 'smp' declared here struct sample_fetch *smp; /* the sample fetch we depend on */ ^~~ src/http_acl.c:131:2: warning: missing initializer for field 'smp' of 'struct acl_keyword' [-Wmissing-field-initializers] { "method", NULL, PAT_MATCH_STR, pat_parse_meth, pat_idx_list_str, pat_del_list_ptr, NULL, pat_match_meth }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:101:23: note: 'smp' declared here struct sample_fetch *smp; /* the sample fetch we depend on */ ^~~ src/http_acl.c:133:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path", "path", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:134:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_beg", "path", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:135:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_dir", "path", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:136:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_dom", "path", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:137:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_end", "path", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:138:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_len", "path", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:139:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_reg", "path", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:140:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_sub", "path", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:142:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ver", "req.ver", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:143:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "resp_ver", "res.ver", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:145:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook", "res.cook", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:146:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_beg", "res.cook", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:147:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_dir", "res.cook", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:148:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_dom", "res.cook", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:149:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_end", "res.cook", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:150:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_len", "res.cook", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:151:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_reg", "res.cook", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:152:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_sub", "res.cook", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:154:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr", "res.hdr", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:155:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_beg", "res.hdr", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:156:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_dir", "res.hdr", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:157:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_dom", "res.hdr", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:158:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_end", "res.hdr", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:159:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_len", "res.hdr", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:160:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_reg", "res.hdr", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:161:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_sub", "res.hdr", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:163:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url", "url", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:164:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_beg", "url", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:165:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_dir", "url", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:166:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_dom", "url", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:167:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_end", "url", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:168:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_len", "url", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:169:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_reg", "url", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:170:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_sub", "url", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:172:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp", "urlp", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:173:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_beg", "urlp", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:174:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_dir", "urlp", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:175:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_dom", "urlp", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:176:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_end", "urlp", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:177:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_len", "urlp", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:178:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_reg", "urlp", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:179:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_sub", "urlp", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_acl.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_acl.c:184:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/time.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/time.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/fcgi.o CC src/arg.o In file included from include/common/standard.h:38, from src/time.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/http.h:27, from include/common/hpack-enc.h:35, from src/hpack-enc.c:33: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/time.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/hpack-enc.c:37: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/time.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/time.c: In function 'timeofday_as_iso_us': src/time.c:281:22: warning: comparison of integer expressions of different signedness: '__time_t' {aka 'long int'} and 'unsigned int' [-Wsign-compare] if (new_date.tv_sec != iso_time_sec || !new_date.tv_sec) { ^~ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/hpack-enc.c:37: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/hpack-enc.c:37: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/common/fcgi.h:28, from src/fcgi.c:27: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/fcgi.h:28, from src/fcgi.c:27: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/arg.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/arg.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/fcgi.h:28, from src/fcgi.c:27: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/fcgi.h:28, from src/fcgi.c:27: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from src/arg.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/arg.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/arg.c: In function 'make_arg_list': src/arg.c:117:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (nbarg = 0; nbarg < ARGM_NBARGS && ((mask >> (nbarg * ARGT_BITS)) & ARGT_MASK); nbarg++); ^ CC src/base64.o CC src/protocol.o CC src/freq_ctr.o In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-enc.c:37: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-enc.c:37: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/config.h:25, from include/common/debug.h:25, from include/common/buf.h:35, from include/common/hpack-enc.h:33, from src/hpack-enc.c:33: src/hpack-enc.c: In function 'hpack_encode_header': src/hpack-enc.c:180:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (likely(n.len < 127 && len + 2 + n.len <= size)) { ^~ include/common/compiler.h:124:38: note: in definition of macro 'likely' #define likely(x) (__builtin_expect((x) != 0, 1)) ^ src/hpack-enc.c:187:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] len + 1 + hpack_len_to_bytes(n.len) + n.len <= size) { ^~ src/hpack-enc.c:201:46: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] len + hpack_len_to_bytes(v.len) + v.len > size) { ^ CC src/lru.o In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/protocol.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/freq_ctr.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/protocol.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/freq_ctr.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/protocol.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:38, from src/freq_ctr.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/protocol.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/freq_ctr.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1084:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from src/protocol.c:18: src/protocol.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:260:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/protocol.c:31:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(proto_lock); ^~~~~~~~~~~~~~~ In file included from src/freq_ctr.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ CC src/hpack-huff.o src/hpack-huff.c: In function 'huff_enc': src/hpack-huff.c:1395:35: warning: unused parameter 'out' [-Wunused-parameter] int huff_enc(const char *s, char *out) ~~~~~~^~~ CC src/dict.o CC src/hash.o CC src/mailers.o CC src/version.o CC ebtree/ebtree.o CC ebtree/eb32sctree.o CC ebtree/eb32tree.o CC ebtree/eb64tree.o CC ebtree/ebmbtree.o CC ebtree/ebsttree.o CC ebtree/ebimtree.o CC ebtree/ebistree.o LD haproxy /home/buildroot/autobuild/instance-1/output-1/per-package/haproxy/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-linux-uclibc/8.3.0/../../../../m68k-buildroot-linux-uclibc/bin/ld: src/haproxy.o: in function `run_thread_poll_loop': haproxy.c:(.text+0x936): undefined reference to `pthread_getcpuclockid' collect2: error: ld returned 1 exit status Makefile:860: recipe for target 'haproxy' failed make[1]: *** [haproxy] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/haproxy-2.1.4' package/pkg-generic.mk:266: recipe for target '/home/buildroot/autobuild/instance-1/output-1/build/haproxy-2.1.4/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-1/output-1/build/haproxy-2.1.4/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'