>>> haproxy 2.1.2 Extracting gzip -d -c /nvmedata/autobuild/instance-0/dl/haproxy/haproxy-2.1.2.tar.gz | /nvmedata/autobuild/instance-0/output-1/host/bin/tar --strip-components=1 -C /nvmedata/autobuild/instance-0/output-1/build/haproxy-2.1.2 -xf - >>> haproxy 2.1.2 Patching >>> haproxy 2.1.2 Configuring >>> haproxy 2.1.2 Building PATH="/nvmedata/autobuild/instance-0/output-1/host/bin:/nvmedata/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j8 PATH="/nvmedata/autobuild/instance-0/output-1/host/bin:/nvmedata/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-ar" AS="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-as" LD="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-ld" NM="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-nm" CC="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-gcc" GCC="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-gcc" CPP="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-cpp" CXX="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-g++" FC="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-gfortran" F77="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-gfortran" RANLIB="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-ranlib" READELF="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-readelf" STRIP="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-strip" OBJCOPY="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-objcopy" OBJDUMP="/nvmedata/autobuild/instance-0/output-1/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/nvmedata/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/nvmedata/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/nvmedata/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/nvmedata/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-as" DEFAULT_LINKER="/nvmedata/autobuild/instance-0/output-1/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="/nvmedata/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/nvmedata/autobuild/instance-0/output-1/host/m68k-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl LD=/nvmedata/autobuild/instance-0/output-1/host/bin/m68k-linux-gcc PREFIX=/usr TARGET=custom USE_THREAD=1 USE_OPENSSL=1 PCRE2_CONFIG=/nvmedata/autobuild/instance-0/output-1/host/m68k-buildroot-linux-uclibc/sysroot/usr/bin/pcre2-config USE_PCRE2=1 USE_ZLIB=1 ADDLIB="-latomic" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " -C /nvmedata/autobuild/instance-0/output-1/build/haproxy-2.1.2 make[1]: Entering directory '/nvmedata/autobuild/instance-0/output-1/build/haproxy-2.1.2' CC src/ev_poll.o CC src/ssl_sock.o CC src/mux_h2.o CC src/stream.o CC src/mux_fcgi.o CC src/cfgparse-listen.o CC src/http_ana.o 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/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/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/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/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/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: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/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 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/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:1064: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) ~~~~~~~^~~~~ 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:1064: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_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: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:1064: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/mux_fcgi.c:13: include/common/ist.h: In function 'ist2str': 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/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/htx.h:28, from src/http_ana.c:16: include/common/ist.h: In function 'ist2str': 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: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: 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: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) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': 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/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/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 include/common/cfgparse.h:30, from src/stats.c:27: include/common/time.h: In function 'tv_leaving_poll': 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': 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) ~~~~^~~~~~~~~~~ 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/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 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 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/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 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/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/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/ticks.h:56, from src/ev_poll.c:23: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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/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/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 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/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:1064: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/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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/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': 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:1064: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/standard.h:1064: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/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/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': In file included from src/http_ana.c:16: include/common/htx.h: In function 'htx_get_prev': include/common/standard.h:1064: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:463: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:485: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:672: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/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/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/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) ~~~~^~~~~~~~~~~ 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) { ^ 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/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))); ^ 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:463: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:485: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:672: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/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) { ^ 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))); ^ In file included from src/stats.c:32: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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) ^ 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/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 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) { ^ 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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++) { ^ 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:463: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:485: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:672: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/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, ~~~~~~~~~~~~~~~~~~~^~~~ 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; ^ src/ssl_sock.c: In function 'ssl_sock_parse_sctl': src/ssl_sock.c:1373:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len + 2 != sctl->data) ^~ src/ssl_sock.c: In function 'ssl_sock_load_sctl_from_file': src/ssl_sock.c:1398: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:1454: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:1454: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:1454: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:1464: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:1464: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) ~~~~~~~~~~~~~^~~~~~~~ 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) { ^ src/ssl_sock.c:1464: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:1464: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:1464: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:1464: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/ssl_sock.c: In function 'ssl_sock_parse_clienthello': src/ssl_sock.c:1678: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:1679: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:1577: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:1686: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:1732: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:1749: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:1764:48: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_alpn_protos(SSL *s, const unsigned char **out, ~~~~~^ 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)) ^~ 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) && ^~ 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) ^ 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/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); ^~ src/ssl_sock.c: In function 'ssl_sock_do_create_cert': 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); ^~ src/ssl_sock.c:1785: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/stats.c: In function 'stats_dump_fields_csv': src/ssl_sock.c:1932:84: warning: unused parameter 'key' [-Wunused-parameter] ssl_sock_create_cert(struct connection *conn, const char *servername, unsigned int key) ~~~~~~~~~~~~~^~~ src/stats.c:515:46: warning: unused parameter 'flags' [-Wunused-parameter] const struct field *stats, unsigned int flags) ~~~~~~~~~~~~~^~~~~ 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/ssl_sock.c: In function 'ctx_set_None_func': src/ssl_sock.c:2132:40: warning: unused parameter 'ctx' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ~~~~~~~~~^~~ src/ssl_sock.c:2132: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:2133:36: warning: unused parameter 'ssl' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~^~~ src/ssl_sock.c:2133:58: warning: unused parameter 'c' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~~~~~~~~~~~~~^ 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) { ^ src/ssl_sock.c: In function 'ssl_sock_switchctx_cbk': src/ssl_sock.c:2309: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:2309: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/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) ~~~~~~~~~~~~~~~^ src/stats.c: In function 'stats_dump_one_line': src/stats.c:1369:73: warning: unused parameter 'px' [-Wunused-parameter] static int stats_dump_one_line(const struct field *stats, struct proxy *px, struct appctx *appctx) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:2174: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:2652:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (keylen > global_ssl.default_dh_param) { ^ src/stats.c: In function 'stats_fill_sv_stats': src/stats.c:1673:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (sv->max_idle_conns != -1) ^~ src/ssl_sock.c:2637:41: warning: unused parameter 'export' [-Wunused-parameter] static DH *ssl_get_tmp_dh(SSL *ssl, int export, int keylen) ~~~~^~~~~~ 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, ~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c: In function 'ckch_inst_add_cert_sni': src/ssl_sock.c:2738: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:2740: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:2718:52: warning: unused parameter 's' [-Wunused-parameter] struct bind_conf *s, struct ssl_bind_conf *conf, ~~~~~~~~~~~~~~~~~~^ 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 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/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/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:463: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:485: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/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) ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672: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: In function 'ssl_sock_populate_sni_keytypes_hplr': src/ssl_sock.c:3442: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/stats.c: In function 'stats_process_http_post': src/stats.c:2827: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:2874:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((plen > 0) && (plen <= sizeof(key))) { ^~ 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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/stream.h:32, from include/proto/channel.h:41, from src/http_ana.c:23: include/proto/queue.h: In function 'server_has_room': 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, ~~~~~~~~~~~~~~~~~^~~~~ 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); ^ 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/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/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) ~~~~~~~~~~~~^~~ 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; ^~ src/stats.c: In function 'stats_dump_json_schema': src/stats.c:3723: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:3748: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:3748: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:3818: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:3818:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_info(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'sh_ssl_sess_new_cb': 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) ^ src/ssl_sock.c:4639:29: warning: unused parameter 'ssl' [-Wunused-parameter] int sh_ssl_sess_new_cb(SSL *ssl, SSL_SESSION *sess) ~~~~~^~~ src/stats.c: In function 'cli_parse_show_stat': src/ssl_sock.c: In function 'sh_ssl_sess_get_cb': src/ssl_sock.c:4695: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/stats.c:3839: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:3839: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:3901: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:3902: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:3903: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:3904: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:3905: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:3908:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ 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/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/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))); ^ 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 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) { ^ 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/ssl_sock.c: In function 'ssl_sock_handshake': 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:6156: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:6161: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) ^ 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': 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/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ 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/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/ssl_sock.c: In function 'ssl_add_xprt': 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:6260: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) ~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c: In function 'ssl_sock_io_cb': src/ssl_sock.c:6289: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:6289:82: warning: unused parameter 'state' [-Wunused-parameter] static struct task *ssl_sock_io_cb(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c: In function 'ssl_sock_to_buf': src/ssl_sock.c:6353: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/ssl_sock.c: In function 'ssl_sock_close': src/ssl_sock.c:6655: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++) { ^ src/ssl_sock.c:6679: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++) ^ 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 ^~~~~~~~~~~~~~ In file included from src/stream.c:22: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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: In function 'ssl_sock_get_serial': src/ssl_sock.c:6831:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < serial->length) ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672: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: In function 'ssl_sock_crt2der': src/ssl_sock.c:6853:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < len) ^ src/ssl_sock.c: In function 'ssl_sock_get_time': src/ssl_sock.c:6876: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/ssl_sock.c:6890:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < utctm->length) ^ src/http_ana.c: In function 'http_process_tarpit': src/http_ana.c:950:68: warning: unused parameter 'an_bit' [-Wunused-parameter] int http_process_tarpit(struct stream *s, struct channel *req, int an_bit) ~~~~^~~~~~ src/ssl_sock.c: In function 'ssl_sock_get_dn_entry': src/ssl_sock.c:6950: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': 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) ^ src/ssl_sock.c:6999:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (l > out->size) ^ 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_request_forward_body': src/http_ana.c:1275:2: warning: label 'waiting' defined but not used [-Wunused-label] waiting: ^~~~~~~ src/mux_h2.c: In function 'h2_io_cb': src/mux_h2.c:3557:43: warning: unused parameter 't' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~^ src/mux_h2.c:3557:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ 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) { ^ In file included from src/mux_fcgi.c:17: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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: In function 'ssl_sock_get_alpn': src/ssl_sock.c:7144: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:7171: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) ~~~~~~~~~~~~~~~~~~^~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672: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:7171: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:7171: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/mux_h2.c: In function 'h2_timeout_task': src/mux_h2.c:3696:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_crt': src/ssl_sock.c:7196: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:7196: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:7196: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_ctl': src/mux_h2.c:3826:77: warning: unused parameter 'output' [-Wunused-parameter] static int h2_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ~~~~~~^~~~~~ src/http_ana.c: In function 'http_process_res_common': src/http_ana.c:1853: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/ssl_sock.c: In function 'smp_fetch_ssl_x_der': src/ssl_sock.c:7224:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ 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) && ^~ src/ssl_sock.c:7224:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ 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: In function 'smp_fetch_ssl_x_serial': src/ssl_sock.c:7270: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/ssl_sock.c:7270: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/http_ana.c: In function 'http_apply_redirect_rule': src/http_ana.c:2391:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (qs < path.len) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sha1': src/ssl_sock.c:7317: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/http_ana.c:2439:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (qs < path.len) { ^ src/ssl_sock.c:7317: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/ssl_sock.c: In function 'smp_fetch_ssl_x_notafter': src/ssl_sock.c:7364: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/ssl_sock.c:7364: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: In function 'h2_deferred_shut': src/mux_h2.c:4141: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:4141:80: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/http_ana.c: In function 'http_transform_header_str': src/http_ana.c:2605: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:2592:46: warning: unused parameter 's' [-Wunused-parameter] int http_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ~~~~~~~~~~~~~~~^ src/mux_h2.c: In function 'h2_shutw': src/http_ana.c:2592:65: warning: unused parameter 'chn' [-Wunused-parameter] int http_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ~~~~~~~~~~~~~~~~^~~ src/mux_h2.c:4186: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:4268: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/ssl_sock.c: In function 'smp_fetch_ssl_x_i_dn': src/mux_h2.c:4298: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/ssl_sock.c:7409: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) ~~~~~~^~~~~~~ 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)) ^~ src/mux_h2.c:4317:12: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (clen > hdr.len) ^ 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_req_replace_stline': src/http_ana.c:2713:22: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct stream *s) ~~~~~~~~~~~~~~^~ src/mux_h2.c:4350: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/ssl_sock.c: In function 'smp_fetch_ssl_x_notbefore': src/ssl_sock.c:7468: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:7468: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/mux_h2.c:4452: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:4458: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)) { ^~ 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 'h2_frt_transfer_data': src/mux_h2.c:4538:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block) ^ src/mux_h2.c:4543:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block) ^ 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 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) ^ 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: In function 'smp_fetch_ssl_x_s_dn': src/ssl_sock.c:7513: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:7569:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ 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/ssl_sock.c:7569: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/mux_h2.c:4667: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:7569: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/mux_h2.c:4720: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++) { ^ 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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/ssl_sock.c: In function 'smp_fetch_ssl_x_version': src/ssl_sock.c:7601: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/mux_h2.c:4747: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:7601: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/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/ssl_sock.c: In function 'smp_fetch_ssl_x_sig_alg': src/ssl_sock.c:7639: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) ~~~~~~~~~~~~~~~~~~^~~~ 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/ssl_sock.c:7639: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/mux_h2.c:4903: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/cfgparse.h:27, from src/mux_fcgi.c:13: src/mux_fcgi.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_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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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/mux_h2.c:4994: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/http_ana.c: In function 'http_manage_client_side_cookies': src/ssl_sock.c: In function 'smp_fetch_ssl_x_key_alg': src/mux_h2.c:4997: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/http_ana.c:3887: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) { ^~ 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/ssl_sock.c:7691: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:7691: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:7742:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:5064: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:7742: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:7754: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:7754: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/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/ssl_sock.c:7754: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/mux_fcgi.c: In function 'fcgi_avail_streams': src/mux_h2.c:5092: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/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 'smp_fetch_ssl_fc_is_resumed': src/ssl_sock.c:7775: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:7775: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:7794: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/http_ana.c: In function 'http_check_request_for_cacheability': src/http_ana.c:4233: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/ssl_sock.c:7794:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cipher(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ 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:5253: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/stream.c: In function 'process_sticking_rules': src/mux_h2.c:5265: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/stream.c:1821: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/mux_h2.c:5267: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/ssl_sock.c: In function 'smp_fetch_ssl_fc_alg_keysize': src/mux_h2.c:5267: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/stream.c: In function 'process_store_rules': src/stream.c:1892: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:7822: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/http_ana.c: In function 'http_check_response_for_cacheability': src/http_ana.c:4312: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/ssl_sock.c:7822: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/http_ana.c:4317: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/ssl_sock.c: In function 'smp_fetch_ssl_fc_use_keysize': src/ssl_sock.c:7848: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/mux_h2.c:5357:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize > count) ^ src/http_ana.c: In function 'http_stats_check_uri': src/ssl_sock.c:7848: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/http_ana.c:4376: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) ^ src/mux_h2.c:5366: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:5372: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: In function 'smp_fetch_ssl_fc_npn': src/ssl_sock.c:7870: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:7870: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:7898: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:7898:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ 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:5503: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 'smp_fetch_ssl_fc_protocol': src/ssl_sock.c:7930: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:7930: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/mux_h2.c:5584: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 'smp_fetch_ssl_fc_session_id': src/ssl_sock.c:7958: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:7958: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/mux_h2.c:5604:2: warning: label 'done' defined but not used [-Wunused-label] done: ^~~~ 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/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/http_ana.c: In function 'http_reply_and_close': src/http_ana.c:4932:51: warning: unused parameter 'status' [-Wunused-parameter] void http_reply_and_close(struct stream *s, short status, struct buffer *msg) ~~~~~~^~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_random': src/ssl_sock.c:7988: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:7988: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/mux_h2.c: In function 'h2_rcv_buf': src/mux_h2.c:5724: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_fc_session_key': src/ssl_sock.c:8019: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/mux_fcgi.c: In function 'fcgi_encode_default_param': src/mux_fcgi.c:1396: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:1396: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:8019: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:8052: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/mux_h2.c: In function 'h2_snd_buf': src/ssl_sock.c:8052: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/mux_h2.c:5819: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:8052: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/http_ana.c: In function 'http_capture_headers': src/http_ana.c:5193: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/mux_fcgi.c: In function 'fcgi_conn_send_get_values': src/mux_fcgi.c:1522:4: warning: label 'realign_again' defined but not used [-Wunused-label] realign_again: ^~~~~~~~~~~~~ src/mux_h2.c: In function 'h2_parse_header_table_size': src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_bin': src/mux_h2.c:6069:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/http_ana.c:5205:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (v.len > h->len) ^ src/mux_h2.c:6069: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:6070:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8075: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/mux_h2.c:6070:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8075: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/mux_h2.c:6070: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/ssl_sock.c:8075: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/mux_h2.c:6085: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:6085:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/stream.c: In function 'cli_parse_show_sess': src/mux_h2.c:6086:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/stream.c:3576: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:3576:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:6086:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:6086:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/mux_h2.c: In function 'h2_parse_max_concurrent_streams': src/mux_h2.c:6101: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: In function 'smp_fetch_ssl_fc_cl_xxh64': src/mux_h2.c:6101:89: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8113: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/mux_h2.c:6102:58: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6102:77: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8113: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/mux_h2.c:6102:87: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c:8113: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/mux_h2.c: In function 'h2_parse_max_frame_size': src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_str': src/mux_h2.c:6117:53: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ 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/ssl_sock.c:8144: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/stream.c: In function 'cli_parse_shutdown_session': src/mux_h2.c:6117:81: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/http_ana.c:5439:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_http_txn, "http_txn", sizeof(struct http_txn)); ^~~~~~~~~~~~ src/stream.c:3828:58: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:6118:50: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/stream.c:3828:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/http_ana.c:5440:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_uniqueid, "uniqueid", UNIQUEID_LEN); ^~~~~~~~~~~~ src/mux_h2.c:6118:69: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:6118:79: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/stream.c: In function 'cli_parse_shutdown_sessions_server': src/stream.c:3855:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from include/common/cfgparse.h:27, from src/mux_h2.c:13: src/mux_h2.c: At top level: src/stream.c:3855:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ 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:6162:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_h2); ^~~~~~~~~ src/stream.c: At top level: src/stream.c:3875: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:3876: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; ^~~~~~~ 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:6173:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/stream.c:3877: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:3878: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 */ ^~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_unique_id': 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:3881:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/stream.c:3885: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; ^~~~~~~~~ src/ssl_sock.c:8172: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) ~~~~~~~~~~~~~~~~~~^~~~ 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:3889:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &stream_tcp_keywords); ^~~~~~~~~ src/stream.c:3892: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:3896:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &stream_http_keywords); ^~~~~~~~~ src/ssl_sock.c:8172: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/mux_fcgi.c: In function 'fcgi_strm_send_begin_request': src/mux_fcgi.c:1716:4: warning: label 'realign_again' defined but not used [-Wunused-label] realign_again: ^~~~~~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err': src/ssl_sock.c:8213: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:8213: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:8213: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/mux_fcgi.c: In function 'fcgi_strm_send_empty_record': src/mux_fcgi.c:1783:4: warning: label 'realign_again' defined but not used [-Wunused-label] realign_again: ^~~~~~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err_depth': src/ssl_sock.c:8237: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:8237: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:8237: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:8261: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:8261: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:8261: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:8286: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:8286: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:8286: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:8312: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:8333: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:8350: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:8362: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:8380: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:8398: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:8437: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:8464: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:8486: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:8514: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:8585: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:8590: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:8625: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:8633: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:8638: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:8644: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:8644: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:8644: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:8644: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:8651: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:8651: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:8651: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:8651: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:8657: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:8657: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:8657: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:8657: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:8664: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:8720: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:8776: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:8776: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:8776: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:8776: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:8798: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:8798: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) ~~~~^~~~~~~ CC src/mux_h1.o src/ssl_sock.c:8798: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:8798: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:8805: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:8805: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:8805: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:8805: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:8817: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:8817: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:8817: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:8817: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) ~~~~~~~^~~ src/mux_fcgi.c: In function 'fcgi_recv': src/mux_fcgi.c:2747: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: In function 'bind_parse_tls_ticket_keys': src/ssl_sock.c:8824: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:8944: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:8973: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:8973: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:8973: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:8973: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:8986: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/mux_fcgi.c: In function 'fcgi_io_cb': src/mux_fcgi.c:2894: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:2894: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 'srv_parse_alpn': src/ssl_sock.c:9039: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:9100: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:9117: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/mux_fcgi.c: In function 'fcgi_ctl': src/mux_fcgi.c:3005:79: warning: unused parameter 'output' [-Wunused-parameter] static int fcgi_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ~~~~~~^~~~~~ src/mux_fcgi.c: In function 'fcgi_timeout_task': src/mux_fcgi.c:3024: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:3136: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 'srv_parse_check_ssl': src/ssl_sock.c:9135: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:9135: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:9135: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:9135: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:9155: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:9169: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:9183: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:9206: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:9223: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) ~~~~~~~^~~~ src/ssl_sock.c:9223: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:9223: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) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9223: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:9233: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:9233: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:9233: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:9233: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:9241: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:9241: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:9241: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) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9241: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:9250: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:9250: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:9250: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:9250: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:9259: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:9259: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:9259: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:9259: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:9266: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:9266: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:9266: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:9266: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:9273: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:9273: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:9273: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:9273: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:9279: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:9279: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) ~~~~~^~~~~~~ src/ssl_sock.c:9279: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) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9279: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:9287: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:9287: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:9287: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:9287: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:9296: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:9318: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) ~~~~~~~^~~~ src/ssl_sock.c:9318: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) ~~~~~^~~~~~~ src/ssl_sock.c:9318: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:9318: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:9331: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:9331: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:9331: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:9331: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:9338: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:9338: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:9338: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:9338: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': src/ssl_sock.c:9345: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) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_verifyhost': src/ssl_sock.c:9368: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/ssl_sock.c: In function 'ssl_parse_default_bind_options': src/ssl_sock.c:9383:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_fcgi.c: In function 'fcgi_deferred_shut': src/ssl_sock.c:9383:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_fcgi.c:3655:53: warning: unused parameter 't' [-Wunused-parameter] static struct task *fcgi_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~^ src/ssl_sock.c:9384:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_fcgi.c:3655: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:9384:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9384:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/mux_fcgi.c: In function 'fcgi_shutw': src/mux_fcgi.c:3700:65: warning: unused parameter 'mode' [-Wunused-parameter] static void fcgi_shutw(struct conn_stream *cs, enum cs_shw_mode mode) ~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_default_server_options': src/ssl_sock.c:9415: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:9415: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:9416:59: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ 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': src/ssl_sock.c:9416:78: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ 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:9416: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': 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)) ^ src/ssl_sock.c:9447: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:9447: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:9448:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_fcgi.c: In function 'fcgi_rcv_buf': src/mux_fcgi.c:3783: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:9448:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9448: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:9474: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:9474: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:9474: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:9475:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9475:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9475:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c:9476:47: warning: unused parameter 'err' [-Wunused-parameter] char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_engine': src/ssl_sock.c:9502:57: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ssl_engine(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9502: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:9503:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9503:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9503: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:9545:54: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9545:82: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_fcgi.c: In function 'fcgi_snd_buf': src/ssl_sock.c:9546:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_fcgi.c:3842: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:9546:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9546: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': In file included from include/common/cfgparse.h:27, from src/mux_fcgi.c:13: src/mux_fcgi.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_fcgi.c:4091:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_fcgi); ^~~~~~~~~ src/ssl_sock.c:9570: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:9570: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:9571:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9571:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9571:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_parse_global_int': src/ssl_sock.c:9595: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:9595: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:9596:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ 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:1064: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:9596:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9596: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/ssl_sock.c:9658: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:9658: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:9659:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9659:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9659:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ 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) ~~~~^~~~~~~~~~~ src/ssl_sock.c: In function 'ssl_parse_global_lifetime': src/ssl_sock.c:9672: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:9672: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:9673:52: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9673:71: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ 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) { ^ src/ssl_sock.c:9673: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:9708: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:9708: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:9709:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9709:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9709: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:9730: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:9730: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:9731:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9731:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9731: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:9923: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:9923: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:9944: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:9944: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/ssl_sock.c:10225: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:10225:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_commit_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_set_cert': src/ssl_sock.c:10271:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_abort_cert': src/ssl_sock.c:10505: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:10505:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_abort_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_set_ocspresponse': src/ssl_sock.c:10549: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:10610:64: warning: unused parameter 'conv' [-Wunused-parameter] static int check_aes_gcm(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:10611:21: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/ssl_sock.c:10611: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:10630: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:10724: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:10725: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:10727: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:10728: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:10729: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:10730: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:10731: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:10734:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/ssl_sock.c:10740: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:10741: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:10743: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:10745: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:10747: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:10749: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:10750: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:10751: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:10752: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:10754: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:10757: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:10758: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:10759: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:10761: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:10762: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:10763: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:10764: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:10765: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:10766: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:10767: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:10768: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:10769: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:10770: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/ssl_sock.c:10771: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/ssl_sock.c:10772: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:10773: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:10774: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:10775: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/ssl_sock.c:10776: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/ssl_sock.c:10777: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:10778: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:10779: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:10780: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:10781: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:10782: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:10783: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:10784: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:10785: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/ssl_sock.c:10786: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:10787: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:10788: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:10789: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:10790: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:10791: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:10792: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:10794: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:10797: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:10799: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:10801: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:10803: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:10805: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:10808: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:10809: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/ssl_sock.c:10810: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/ssl_sock.c:10813: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:10815: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:10816: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_*) */ ^~~ src/ssl_sock.c:10817: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_*) */ ^~~ src/ssl_sock.c:10818: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:10819: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:10822:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ src/ssl_sock.c:10828: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:10829: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:10833: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:10904: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:10956: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:10989:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/ssl_sock.c:10994: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:10996: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:10999: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:11023: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:11023: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:11024: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:11042: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:11042: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:11042: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:11042: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:11050: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:11054: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:11058: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:11058: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:11058: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:11058: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:11058: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:11067: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:11067: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:11067: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:11067: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:11067: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) ~~~~~~^~~~ 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/h2.h:34, from src/mux_h1.c:15: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:987: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:1079: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:2196: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:2196: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:2212: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:2240: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:2640: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:2756: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:2947: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:2947: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:2948:23: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:2948:42: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h1.c:2948: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:2961: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:2961: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:2962:22: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:2962:41: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h1.c:2962: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:2985: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:2986: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:3026:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_htx); ^~~~~~~~~ CC src/flt_spoe.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/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/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/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:1064: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 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:463: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:485: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:672: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:3183: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:3305:33: warning: unused parameter 's' [-Wunused-parameter] spoe_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_spoe.c:3305: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:3722: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:3793:70: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_spoe_group(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/flt_spoe.c: In function 'cfg_parse_spoe_message': src/flt_spoe.c:3882: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:4072: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:4501: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:4671: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:4698:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &flt_kws); ^~~~~~~~~ src/flt_spoe.c:4702: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:4707:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_action_kws); ^~~~~~~~~ src/flt_spoe.c:4710: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:4715:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_action_kws); ^~~~~~~~~ src/flt_spoe.c:4718: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:4723:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_action_kws); ^~~~~~~~~ src/flt_spoe.c:4726: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:4731:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_action_kws); ^~~~~~~~~ CC src/server.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/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:1064: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) { ^ CC src/cfgparse.o 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:463: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:485: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:672: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) ~~~~~~~~~~~~~~~^~~ 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)) ^ CC src/checks.o 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) ~~~~^~~~~~~~~~ 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:1064: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/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) ~~~~~~^~~~~~~ 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) ~~~~^~~~~~~~~~~ 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) ~~~~~~^~~~~~~ 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) { ^ 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); ^~~~~~~~~ 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:1064: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) ~~~~^~~~~~~~~~~ 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:463: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:485: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:672: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) { ^ CC src/backend.o 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:4182: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:4183: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:4184: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:4185: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:4186: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:4187:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("userlist", cfg_parse_users, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ 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) { ^ 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:4188: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:4189: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:4190: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:4191:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("resolvers", cfg_parse_resolvers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ 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 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 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:463: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:485: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:672: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 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/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/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:1064: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 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 src/backend.c:27: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:617: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:714: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:714: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:778: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:849: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:1449: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:1517: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:1591: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:1602: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:1687: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:1717:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(pid_list_lock); ^~~~~~~~~~~~~~~ src/checks.c: In function 'sigchld_handler': src/checks.c:1793: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:2082:84: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_chk_proc(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ CC src/log.o src/checks.c: In function 'process_chk_conn': src/checks.c:2214: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:2424: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:2436: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:2538: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:2816: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:3041: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:3051: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:3128: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:3624: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:300:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/checks.c:3678:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(start_checks); ^~~~~~~~~~~~~~~~~~~ src/checks.c: In function '__health_adjust': src/checks.c:435:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (s->check.health > s->check.rise) ^ src/checks.c:440:3: note: here case HANA_ONERR_FAILCHK: ^~~~ 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)) ^ src/checks.c: In function 'process_chk_conn': src/checks.c:2288:17: warning: this statement may fall through [-Wimplicit-fallthrough=] check->state |= CHK_ST_PORT_MISS; src/checks.c:2289:3: note: here case SF_ERR_PRXCOND: ^~~~ 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:1064: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/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))); ^ 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)) ^~ 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) { ^ 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:978: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:1289: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:1989: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:1989: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:2008: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:2008:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_is_up(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ 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': src/backend.c: In function 'smp_fetch_connslots': 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/backend.c:2027: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:2027: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:2054: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:2054: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:2054: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:2067: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:2067: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:2067: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:2085: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:2085: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:2085: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:2101: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:2101: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:2101: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:2124: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:2124: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:2137: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:2137: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:2178:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (maxconn > iterator->cur_sess) ^ src/backend.c:2151: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:2151: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:2190: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:2190: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:2207: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:2207: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:2231: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:2231: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:2258: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:2244: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:2244: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:2271: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:2271: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:2284: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:2284: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:2292:48: warning: unused parameter 'args' [-Wunused-parameter] static int sample_conv_nbsrv(const struct arg *args, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2292: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:2311:41: warning: unused parameter 'args' [-Wunused-parameter] sample_conv_srv_queue(const struct arg *args, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2311: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:2347: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:2348: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:2349: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:2350: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:2351: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:2352: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:2353: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:2354: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:2355: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:2356: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:2357: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:2358: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:2359: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:2360: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:2361: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:2362: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:2366:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ src/backend.c:2370: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:2371: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:2375: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:2384:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ 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) { ^ CC src/peers.o 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:463: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:485: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:672: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)) ^ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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/time.h:31, from src/peers.c:25: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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) ~~~~^~~~~~~~~~~ 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:324: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:336: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); ^~~~~~~~~~~~~~~~~~~~~~~~ CC src/cli.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/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/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': 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/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/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:1064: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) { ^ 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:463: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:485: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:672: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) { ^ 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/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); ^~~~~~~~~~~~~~ src/peers.c:2251:4: note: here case PEER_SESS_ST_SENDSUCCESS: { ^~~~ 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/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:463: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:485: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:672: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:1786:48: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_simple(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1786: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:2122: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:2217: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:2695: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:2696: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:2697: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:2698: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:2699: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:2700: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:2701: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:2702: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:2705: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:2706: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:2709: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:2710: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:2711: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:2714: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:2721: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:2730: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: ^~~~~~~ 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:81: 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:81: 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:81: 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:81: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/stick_table.o 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:81: 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:81: 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/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:1064: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 CC src/sample.o 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 src/standard.c:31: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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)) ^ CC src/proxy.o 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/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/haproxy.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))); ^ 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:1064: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/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/proto/channel.h:32, from src/haproxy.c:111: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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:111: 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:113: 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/stream_interface.o In file included from src/haproxy.c:113: 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/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 src/haproxy.c:116: 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 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:463: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:485: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/haproxy.c: In function 'sig_pause': src/haproxy.c:925: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:934: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:942: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:988:38: warning: unused parameter 'sh' [-Wunused-parameter] static void dump(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672: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/haproxy.c: In function 'get_old_sockets': src/haproxy.c:1206: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:1390: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; ^~~~~~~~~~~~~~ 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/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/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:1064: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/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/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/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) ~~~~~~^~~~~~~ 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) ~~~~^~~~~~~~~~~ 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) ~~~~~~^~~~~~~ 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/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': 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': 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/haproxy.c: In function 'run_thread_poll_loop': src/haproxy.c:2695: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 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) ~~~~~~~^~~~~ 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) ~~~~~~^~~~~~~ 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) ~~~~~~~^~~~~ src/standard.c: In function 'ulltoa': src/stick_table.c: In function 'action_inc_gpc0': src/haproxy.c: In function 'manage_global_listener_queue': 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/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/stick_table.c:1850:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/haproxy.c:2776:72: warning: unused parameter 'context' [-Wunused-parameter] static struct task *manage_global_listener_queue(struct task *t, void *context, unsigned short state) ~~~~~~^~~~~~~ include/common/ist.h: In function 'ist2str_uc': src/haproxy.c:2776:96: warning: unused parameter 'state' [-Wunused-parameter] static struct task *manage_global_listener_queue(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ 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/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/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/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/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': In file included from include/common/buffer.h:30, from src/stream_interface.c:22: include/common/chunk.h: In function 'chunk_initlen': src/stick_table.c:2014:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ 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/haproxy.c: In function 'main': src/haproxy.c:3101: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) { ^ 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/standard.c: In function 'url2sa': 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/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/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) ~~~~~~^~~~~~~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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/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/stick_table.c: In function 'smp_fetch_sc_conn_rate': 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/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) ~~~~~~^~~~~~~ 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/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:1064: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/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/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) ~~~~~~~~~~~~^~ 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) { ^ 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) ~~~~~~^~~~~~~ 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) ~~~~^~~~~~~~~~~ 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) ~~~~~~^~~~~~~ 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) { ^ 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) ~~~~~~^~~~~~~ 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))); ^ 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/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/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/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/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) ^ src/standard.c: In function 'trace': src/standard.c:4368:18: warning: unused parameter 'msg' [-Wunused-parameter] void trace(char *msg, ...) ~~~~~~^~~ 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; ^~~~~~~ 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) ~~~~~~~^~~~ 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); ^~~~~~~~~ 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) ~~~~~~~^~~~ 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; ^~~~~~~ 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) ~~~~~~~^~~~ 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; ^~~~~~~ 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) ~~~~~~~^~~~ 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; ^~~~~~~ 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) ~~~~~~~^~~~ 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); ^~~~~~~~~ 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) ~~~~~~~^~~~ 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, }, ^ 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) { ^ In file included from include/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_*) */ ^~~ 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/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/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/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/sample.c: In function 'c_none': 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, }, ^ src/sample.c:703:27: warning: unused parameter 'smp' [-Wunused-parameter] int c_none(struct sample *smp) ~~~~~~~~~~~~~~~^~~ In file included from include/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/sample.c: In function 'sample_conv_debug': 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/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/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/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/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, }, ^ src/sample.c: In function 'smp_check_debug': In file included from include/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/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/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/sample.c:1495:50: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ 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/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/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/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/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/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/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/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/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/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/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, }, ^ 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) ~~~~~~^~~~~~~ In file included from include/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/sample.c: In function 'smp_check_sha2': 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/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/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/sample.c:1576:49: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ 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/sample.c: In function 'sample_conv_sha2': 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/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/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, }, ^ 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) { ^ In file included from include/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/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/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/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/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/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/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/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/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/sample.c: In function 'sample_conv_djb2': 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/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/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, }, ^ 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) ~~~~~~~~~~~~~~~~~~^~~~~ In file included from include/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/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/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/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/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/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/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, }, ^ 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) ~~~~~~^~~~~~~ In file included from include/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/sample.c: In function 'sample_conv_str2upper': 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/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/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/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) ~~~~~~^~~~~~~ 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/sample.c: In function 'sample_conv_ipmask': 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/sample.c:1745:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ipmask(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ 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/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/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/sample.c: In function 'sample_conv_sdbm': 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/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/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/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) ~~~~~~^~~~~~~ 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/sample.c: In function 'sample_conv_wt6': 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/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/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/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/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/sample.c: In function 'sample_conv_xxh64': 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/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/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/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/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, }, ^ src/sample.c: In function 'sample_conv_crc32c': In file included from include/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/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/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/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/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/sample.c:1920:57: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ 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/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/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/sample.c: In function 'sample_conv_bytes': 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/sample.c:2089:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bytes(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ 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/sample.c: In function 'sample_conv_field_check': src/sample.c:2107:74: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_field_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ 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/sample.c:2108:47: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2108:57: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ 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/sample.c: In function 'sample_conv_field': src/sample.c:2160: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/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 */ ^~~~~~~ src/sample.c:2179: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:2180: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++) { ^ 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); ^~~~~~~~~ src/sample.c:2146: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:2240: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:2268: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:2270: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:2224: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:2320:75: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_regsub_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2321:49: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2321:59: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_regsub': src/sample.c:2398: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:2357: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:2430:65: warning: unused parameter 'conv' [-Wunused-parameter] static int check_operator(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2431:39: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2431: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:2482: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:2482: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:2491: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:2505: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:2519: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:2559: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:2574:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_mul': src/sample.c:2606:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_div': src/sample.c:2651:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_mod': src/sample.c:2679:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_neg': src/sample.c:2705:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_neg(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2706:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_bool': src/sample.c:2718:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_bool(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2719:61: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_not': src/sample.c:2729:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_not(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2730:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_odd': src/sample.c:2740:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_odd(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2741:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_even': src/sample.c:2751:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_even(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2752:61: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_concat': src/sample.c:2778: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:2796: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:2809: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:2762: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:2826:67: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_concat(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2827:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2827: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:2841:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_strcmp(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_ungrpc': src/sample.c:2882: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:2910: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:2921:77: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_protobuf_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2922:51: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2922: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:2947:67: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_strcmp(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2948:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2948: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:2965: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:2965: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:2965: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:2977: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:2977: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:2977: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:2986: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:2986:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_env(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ 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))); ^ src/sample.c: In function 'smp_fetch_date': src/sample.c:3043: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:3043: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:3069: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:3069: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:3069: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:3080: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:3080: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:3080: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:3091:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_nbproc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3091: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:3091: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/sample.c:3100: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:3100:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3100: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:3109: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:3109: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:3109:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_thread(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_rand': src/sample.c:3120: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:3120: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:3135:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3135:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3135: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:3144: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:3144: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:3144: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:3153: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:3153: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:3153: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:3162: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:3162: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:3162: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:3171: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:3171: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:3171: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:3180: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:3180: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:3180: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:3187: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:3187: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/sample.c:3214: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/sample.c:3214: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:3221: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/sample.c:3221: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/sample.c: In function 'smp_fetch_const_ipv4': src/sample.c:3228: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:3228: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/sample.c:3235: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/sample.c:3235: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:3255: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:3255: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:3279: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:3289: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:3289: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:3323: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:3323: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:3366: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:3367: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:3368: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:3369: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:3370: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:3371: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:3372: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:3373: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:3374: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:3375: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:3376: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: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] { "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:3380: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:3381: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:3382: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/sample.c:3383: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 }, ^ In file included from include/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:3384: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:3386: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:3387: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:3388: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:3389: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:3390: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:3391: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:3392: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:3397:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ src/sample.c:3401: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:3402: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:3403: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:3404: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 */ ^~~~~~~ src/sample.c:3405: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 */ ^~~~~~~ src/sample.c:3406: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:3407: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:3408: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/sample.c:3409: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/sample.c:3410: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:3411: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:3412: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:3413: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:3414: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:3415: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:3416: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:3417: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:3418: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:3419: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:3420: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:3421: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:3422: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:3423: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:3424: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:3426: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:3428: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/sample.c:3429: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 }, ^ In file included from include/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:3432: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:3433: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:3435: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:3436: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:3437: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:3438: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:3439: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:3440: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:3441: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/sample.c:3442: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/sample.c:3443: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:3444: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:3445: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:3446: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:3447: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:3448: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:3450: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:3453:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ 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:463: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:485: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:672: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/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) ^ 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) { ^ 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/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:551:15: note: 'mode' declared here unsigned int mode; ^~~~ 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/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/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/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/proxy.c: In function 'proxy_parse_retry_on': 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/proxy.c: In function 'manage_proxy': src/proxy.c:964:73: warning: unused parameter 'state' [-Wunused-parameter] struct task *manage_proxy(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ 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/proxy.c:1047:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ 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/proxy.c: In function 'hard_stop': 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/proxy.c: In function 'proxy_capture_error': src/proxy.c:1548:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len1 > buf_len) ^ In file included from include/common/cfgparse.h:27, from src/proxy.c:21: src/proxy.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/proxy.c:1686:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/proxy.c: In function 'cli_parse_show_servers': src/proxy.c:1735:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_servers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:1735:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_servers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_enable_dyncookie_backend': src/proxy.c:1909:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:1909:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_disable_dyncookie_backend': src/proxy.c:1941: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:1941:105: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_set_dyncookie_key_backend': src/proxy.c:1976: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:1976: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:2017: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:2017: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:2060: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:2060: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:2087: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:2087: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': In file included from include/proto/channel.h:32, from src/stream_interface.c:31: include/common/htx.h: In function 'htx_get_prev': src/proxy.c:2119:57: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ include/common/htx.h:463: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/proxy.c:2119:95: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:485: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/proxy.c: In function 'cli_parse_show_errors': src/proxy.c:2149:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_errors(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672: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/proxy.c:2149: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:2312: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) { ^ 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': src/proxy.c: At top level: 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/proxy.c:2348: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:2349: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:2350: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:2351: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:2352: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:2353: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:2354: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:2355: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:2356: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:2357: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:2358: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:2361:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ 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) && ^~ 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/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, ~~~~~~~~~~~~~~~~~~~^~~~ 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:1453: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:1472: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)) { ^~ 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:1691:13: warning: this statement may fall through [-Wimplicit-fallthrough=] si->state = SI_ST_DIS; ~~~~~~~~~~^~~~~~~~~~~ src/stream_interface.c:1692:2: note: here default: ^~~~~~~ CC src/pattern.o CC src/dns.o In file included from include/common/chunk.h:30, from include/common/standard.h:36, from src/pattern.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/pattern.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/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/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 include/common/standard.h:38, from src/pattern.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/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/pattern.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/dns.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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) { ^ 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: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/pattern.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/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/stream.h:32, from include/proto/log.h:37, from src/pattern.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:463: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:485: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:672: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) && ^~ src/pattern.c: In function 'pat_parse_nothing': 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/pattern.c:206:35: warning: unused parameter 'text' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~~~~~~^~~~ src/pattern.c:206:57: warning: unused parameter 'pattern' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~~~~~~~~~~^~~~~~~ src/pattern.c:206:70: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:206: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:212:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_str(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:212: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:221: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:233:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_reg(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:233: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:254: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:339: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:434: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:501: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:540: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:519: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:559: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:582: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:666: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:707: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:685: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:752: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:728: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:808: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:843: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:860: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:874: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:889:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_len(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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/pattern.c: In function 'pat_ref_push': src/pattern.c:1909:22: warning: unused parameter 'patflags' [-Wunused-parameter] int patflags, char **err) ~~~~^~~~~~~~ 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) { ^~ 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:17: 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:324:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/pattern.c:2697: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:336:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/pattern.c:2698:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(pattern_per_thread_lru_free); ^~~~~~~~~~~~~~~~~~~~~~~~ src/dns.c: In function 'dns_resolve_recv': src/dns.c:1564: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:1777: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:2021: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:2021: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:2108: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:2109: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:2113: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:2155:56: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/dns.c: At top level: src/dns.c:2360: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:2364:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/dns.c:2367: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:2371: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:312:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_deinit, (fct)) ^~~~~~~~~ src/dns.c:2397: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:2398:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("dns runtime resolver", dns_finalize_config); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pattern.c: In function 'pattern_exec_match': src/pattern.c:2553: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:2554:6: note: here case SMP_T_IPV4: ^~~~ src/pattern.c:2557:7: warning: this statement may fall through [-Wimplicit-fallthrough=] memcpy(&static_sample_data, pat->data, sizeof(struct sample_data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pattern.c:2558:6: note: here default: ^~~~~~~ CC src/proto_tcp.o CC src/listener.o 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)) ^ CC src/cfgparse-global.o 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:1064: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/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)) ^ 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/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/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:1064: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/listener.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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/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) { ^ 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) { ^ CC src/h1.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/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:463: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:485: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:672: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': CC src/http_rules.o 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/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 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); ^~~~~~~~~ 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': 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 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))); ^ 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:1423: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:1423: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:1423: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:1424: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:1437: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:1437: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:1437:85: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_src(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/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/proto_tcp.c: In function 'smp_fetch_sport': src/proto_tcp.c:1466: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:1466: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:1466: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:1486: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:1486: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:1486: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:1516: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:1516: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:1516: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:1536: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) ~~~~~~~~~~~~~~~~~~^~~~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/proto_tcp.c:1536: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:1536: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:1555: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:1555: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:1555: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:1614: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:1631: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:1685: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:1685:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_rtt(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/common/h1.h:25, from src/h1.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/proto_tcp.c: In function 'smp_fetch_fc_rttvar': src/proto_tcp.c:1699: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:1699: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:1715: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:1715: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:1724: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:1724:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_sacked(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/http_rules.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/proto_tcp.c: In function 'smp_fetch_fc_lost': src/proto_tcp.c:1733: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:1733: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:1742: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:1742: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:1751: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:1751: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:1760: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:1760: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:1771: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:1771: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:1771: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:1771: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:1784: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:1784: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:1784: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:1784: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:1799: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:1799: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:1799: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:1799: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) ~~~~~~~^~~ 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) ~~~~^~~~~~~~~~~ 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) ~~~~^~~~~~~ src/proto_tcp.c: In function 'bind_parse_defer_accept': include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/proto_tcp.c:1814: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:1814: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:1814: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:1814: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:1829: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:1829: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:1829: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:1829: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:1844: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) ~~~~~~~~~~~~~~^~ 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/proto_tcp.c: In function 'bind_parse_tcp_ut': src/proto_tcp.c:1871: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) ~~~~~~~~~~~~~~^~ In file included from include/common/h1.h:25, from src/h1.c:15: include/common/buffer.h: In function 'b_alloc_margin': src/proto_tcp.c: In function 'bind_parse_interface': 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/proto_tcp.c:1909: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:1957: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:1997: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:1998: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:1999: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:2000: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:2001: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:2002: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:2004: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:2005: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:2007: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:2008: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:2009: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:2010: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:2011: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:2012: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:2018:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ CC src/http_fetch.o 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:2067:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ src/proto_tcp.c:2073: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:2076:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ src/proto_tcp.c:2079: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:2080: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:2081: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:2082: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:2083: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:2087:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_conn_keywords_register, &tcp_req_conn_actions); ^~~~~~~~~ src/proto_tcp.c:2090: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; ^~~~~~~~~ In file included from include/proto/channel.h:32, from src/h1.c:18: include/common/htx.h: In function 'htx_get_prev': src/proto_tcp.c:2091: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; ^~~~~~~~~ include/common/htx.h:463: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/proto_tcp.c:2092: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:2093: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; ^~~~~~~~~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:485: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/proto_tcp.c:2094: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:2098:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_sess_keywords_register, &tcp_req_sess_actions); ^~~~~~~~~ src/proto_tcp.c:2101: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; ^~~~~~~~~ include/common/htx.h: In function 'htx_get_max_blksz': src/proto_tcp.c:2102:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ include/common/htx.h:672: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/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] { "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:2107:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_cont_actions); ^~~~~~~~~ src/proto_tcp.c:2110: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:2114:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_cont_actions); ^~~~~~~~~ src/proto_tcp.c:2117: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:2118: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:2119: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:2120: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:2121: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:2125:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ src/proto_tcp.c:2128: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:2132:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ 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) { ^ 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:296:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, hap_register_build_opts, (str), 0) ^~~~~~~~~ src/proto_tcp.c:2134:1: note: in expansion of macro 'REGISTER_BUILD_OPTS' REGISTER_BUILD_OPTS("Built with transparent proxy support using:" ^~~~~~~~~~~~~~~~~~~ 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))); ^ 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/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 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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)) ^ 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:312: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 'bind_parse_accept_proxy': src/listener.c:1231: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:1231: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:1231: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:1231: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) ~~~~~~~^~~ src/listener.c: In function 'bind_parse_accept_netscaler_cip': src/listener.c:1242: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) ~~~~~~~~~~~~~~^~ 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) ~~~~~~~^~~~~ src/listener.c: In function 'bind_parse_backlog': src/listener.c:1267: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) ~~~~~~~~~~~~~~^~ 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/listener.c: In function 'bind_parse_maxconn': src/listener.c:1333: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) ~~~~~~~~~~~~~~^~ 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)) ^ src/listener.c: In function 'bind_parse_name': src/listener.c:1356: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': src/listener.c:1372: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) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_process': src/listener.c:1395: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:1422: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:1441: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:1441: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:1442:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/listener.c:1442:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/listener.c:1442:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/listener.c: At top level: src/listener.c:1463: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:1464: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_*) */ ^~~ 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:1468: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:1477: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:1499: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:1507: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/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:1064: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) { ^ CC src/cache.o In file included from src/http_fetch.c:26: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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)) ^ 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/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 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:463: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:485: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:672: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/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) ^~ CC src/session.o 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 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:1064: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 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 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/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:1064: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/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/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/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/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 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) { ^ 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) ~~~~~~~^~~~~ 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: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 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/channel.h:32, from src/cache.c:22: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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:324: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:336: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); ^~~~~~~~~~~~~~~~~~~~~~~~ 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': 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': 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) ~~~~~~~~~~~~~~~~~~^~~~ 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); ^ 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) ~~~~~~^~~~~~~ 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_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) ~~~~~~~~~~~~~~~~~~^~~~ 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': 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) ~~~~~~~~~~~~^~ 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: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) ~~~~~~~~~~~~~~~~~~^~~~ 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) ~~~~~~^~~~~~~ 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': include/common/standard.h:1064: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_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) ~~~~~~~~~~~~^~ 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) ~~~~~~^~~~~~~ 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_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) ~~~~~~^~~~~~~ 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': 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_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 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) ^ 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_*) */ ^~~ 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 }, ^ In file included from include/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_*) */ ^~~ 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) && ^~ 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_*) */ ^~~ 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_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/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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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, ~~~~~~~~~~~~~~~^ 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:300: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); ^~~~~~~~~~~~~~~~~~~ CC src/connection.o 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))); ^ 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 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/fcgi-app.h:25, from src/fcgi-app.c:23: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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/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) ^ CC src/tcp_rules.o 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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 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 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:1094: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:1095: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:1106: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:1107: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:1108: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:1110: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:1112: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:1113:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("fcgi-apps", cfg_fcgi_apps_postparser); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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)) ^ 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:1064: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/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) ~~~~~~~^~~~~ 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) ~~~~~~~^~~~~ CC src/filters.o 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/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/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:1064: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/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)) ^ CC src/task.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 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:1064: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': 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/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/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/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/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 src/task.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/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 src/task.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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 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 include/proto/stream_interface.h:32, from src/connection.c:26: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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) ~~~~~~^~~~~~~~ src/connection.c: In function 'conn_recv_proxy': src/connection.c:581:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (trash.data < PP2_HEADER_LEN + ntohs(hdr_v2->len)) ^ src/connection.c:619:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (tlv_offset + TLV_HEADER_SIZE <= trash.data) { ^~ src/connection.c:679:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len2 != trash.data) ^~ src/connection.c: In function 'conn_recv_netscaler_cip': src/connection.c:880:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len2 != trash.data) ^~ src/connection.c: In function 'make_tlv': src/connection.c:1215: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': src/connection.c:1306:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ src/connection.c:1313:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ src/connection.c:1331: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:1341:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv_ssl)) ^ src/connection.c: In function 'smp_fetch_fc_http_major': src/connection.c:1415: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:1415: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:1426: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:1426: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:1426: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:1447: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:1447: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:1447: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:1477: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:1478: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:1479: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:1480: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 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:1484:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ 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 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 src/filters.c:19: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/mworker.o 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 include/proto/channel.h:32, from src/tcp_rules.c:29: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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 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/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 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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, ~~~~^~~~~~~~~~~~ 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)) ^~ 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/filters.c: In function 'flt_end_analyze': src/filters.c:788: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:1029: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:300:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/filters.c:1031: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:328:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_init, (fct)) ^~~~~~~~~ src/filters.c:1032: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:332:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_deinit, (fct)) ^~~~~~~~~ src/filters.c:1033:1: note: in expansion of macro 'REGISTER_PER_THREAD_DEINIT' REGISTER_PER_THREAD_DEINIT(flt_deinit_all_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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, ~~~~^~~~~~~~~~~~ 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/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)) ^ CC src/map.o CC src/h1_htx.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/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:1064: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/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/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) { ^ 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/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: 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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)); ^~~~~~~~~~~~ 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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)); ^~~~~~~~~~~~ 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 */ ^~~~~~~~~~~~~~~~~~~~~ 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)) ^ 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++) { ^ CC src/trace.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)) ^ 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:1064: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/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 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 src/map.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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 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/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:1064: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:463: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:485: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:672: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/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:328: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); ^~~~~~~~~~~~~~~~~~~~~~~~ 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/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) { ^ CC src/flt_trace.o CC src/acl.o 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.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))); ^ 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:463: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:485: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:672: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 src/h1_htx.c:18: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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)) ^ 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/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)) ^ 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) ~~~~~~^~~~~~~ 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) ~~~~~~~^~~~~ 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 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)) ^ 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); ^~~~~~~~~~ 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); ^~~~~~~~~~ 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); ^~~~~~~~~ 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/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) ~~~~~~~^~~~~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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)) ^ CC src/http_htx.o 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:1064: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/flt_trace.c:16: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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:324: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:336: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); ^~~~~~~~~~~~~~~~~~~~~~~~ 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) ~~~~^~~~~~~~~~~ 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 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) { ^ 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) ~~~~~~^~~~~~~ In file included from src/acl.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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_http_comp.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/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 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/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/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:1064: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) { ^ 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:1064: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/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) { ^ 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) { ^ CC src/payload.o 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:463: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:485: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:672: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 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) ^ CC src/vars.o 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/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 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: ^~~~ 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/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/common/net_helper.h:31, from src/payload.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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))); ^ 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) ~~~~~~~~~~~~~~~~~^~~~~ In file included from src/payload.c:18: include/common/htx.h: In function 'htx_get_prev': 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) ~~~~~~~~~~~~~~^~ include/common/htx.h:463: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/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) ~~~~~~~~~~~~~~^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:485: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:672: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/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 src/http_htx.c:18: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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_htx.c: In function 'http_str_to_htx': src/http_htx.c:786: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:826: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:830:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("http_htx", http_htx_init); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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) ~~~~~~~^~~~~ 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/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/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))); ^ 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)) ^ CC src/debug.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/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:1064: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/flt_http_comp.c:15: include/common/htx.h: In function 'htx_get_prev': 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/htx.h:463: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/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:485: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:672: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/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/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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:215: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:302: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:399: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:549: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:567: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:580: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:634:44: warning: unused parameter 'section' [-Wunused-parameter] parse_compression_options(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/flt_http_comp.c:635: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:698:28: warning: unused parameter 'args' [-Wunused-parameter] parse_http_comp_flt(char **args, int *cur_arg, struct proxy *px, ~~~~~~~^~~~ src/flt_http_comp.c:699: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:779: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:779: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:780: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:793:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_res_comp_algo(const struct arg *args, struct sample *smp, ~~~~~~~~~~~~~~~~~~^~~~ src/flt_http_comp.c:794:16: warning: unused parameter 'kw' [-Wunused-parameter] const char *kw, void *private) ~~~~~~~~~~~~^~ src/flt_http_comp.c:794: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:826: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:835:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &filter_kws); ^~~~~~~~~ src/flt_http_comp.c:839: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:840: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:845:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ 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/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/common/net_helper.h:31, from src/debug.c:24: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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 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 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) ^ CC src/http_act.o 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); ^~~~~ 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': 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); ^~~~~ 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/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/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); ^ 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/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 src/debug.c:31: 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) { } ~~~~~~~~~~~~~^~~ CC src/h2.o 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/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/debug.c:32: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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/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) ~~~~~~~^~~~~ CC src/queue.o 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:463: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_max_blksz': include/common/htx.h:672: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) ^ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:485: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 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)) ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672: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:32: 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/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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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/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:1064: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/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) ~~~~~~^~~~~~~ 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) ~~~~^~~~~~~~~~~ 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) ~~~~^~~~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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/proto/stream_interface.h:32, from src/debug.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) ^ 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); ^~~~~~~~~ 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/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 src/http_act.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/proto/session.h:35, from include/proto/connection.h:32, from include/proto/stream_interface.h:33, from src/debug.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/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/stream_interface.h:33, from src/debug.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/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))); ^ src/debug.c: In function 'ha_thread_dump': src/debug.c:80: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:211: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:211: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:224: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:224: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:247: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:247: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:260:51: warning: unused parameter 'payload' [-Wunused-parameter] static int debug_parse_cli_log(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ 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': src/debug.c:260:89: warning: unused parameter 'private' [-Wunused-parameter] static int debug_parse_cli_log(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ 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/debug.c: In function 'debug_parse_cli_loop': src/debug.c:280: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:280: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:299: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:299: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:299: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:350: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:350: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:378: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:378: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:410: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:410: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:564: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:687: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:29: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/debug.c:688: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:29: 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:691:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ 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 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/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:1064: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/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/h2.h:34, from src/h2.c:30: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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) ^~ 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)) ^ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:485: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 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, ~~~~~~~~~~~~~~~~~~~^~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672: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/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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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:161: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:336: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:378:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_pt); ^~~~~~~~~ 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/time.h:31, from src/queue.c:75: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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) ~~~~^~~~~~~~~~~ CC src/fd.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_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:463: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:485: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:672: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/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) ~~~~~~~^~~~~ 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/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) ~~~~^~~~~~~~~~~ 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/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) { ^ CC src/proto_uxst.o src/h2.c: In function 'h2_make_htx_request': src/h2.c:348: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_response': src/h2.c:604: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:735: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 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/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/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/types/global.h:30, from src/fd.c:93: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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: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': 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) ~~~~^~~~~ src/http_act.c: In function 'http_action_res_capture_by_id': src/http_act.c:563: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:564:98: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ CC src/lb_chash.o src/http_act.c: At top level: src/http_act.c:700: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:701: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/http_act.c:702:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "disable-l7-retry", parse_http_req_disable_l7_retry }, ^ 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:703: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:704: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:705: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:706: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:707: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:708: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:709: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; ^~~~~~~~~ CC src/ring.o 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:713:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ In file included from include/proto/http_ana.h:26, from src/queue.c:80: include/common/htx.h: In function 'htx_get_prev': src/http_act.c:717: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; ^~~~~~~~~ include/common/htx.h:463: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/http_act.c:718: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:719: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; ^~~~~~~~~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:485: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/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:723:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672: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: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))); ^ 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)) ^ CC src/frontend.o 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/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 src/proto_uxst.c:35: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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) ^ 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/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) ^ 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 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) ~~~~^~~~~~~~~~~ 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/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/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) ~~~~~~~^~~~~ In file included from src/lb_chash.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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_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 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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/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:1064: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/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 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))); ^ 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 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))); ^ 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) { ^ 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; ^ CC src/raw_sock.o 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++) { ^ 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/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/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:324: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:328: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:332: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:336: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/xprt_handshake.o 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) && ^~ 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/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:1064: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: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:304: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:304: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:386:62: warning: unused parameter 'port' [-Wunused-parameter] static void uxst_add_listener(struct listener *listener, int port) ~~~~^~~~ 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) ~~~~^~~~~~~~~~~ src/proto_uxst.c: In function 'bind_parse_mode': src/proto_uxst.c:638: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:653: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:665: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:685: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/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) { ^ src/proto_uxst.c: In function 'bind_parse_user': src/proto_uxst.c:697: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:732:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ 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) ~~~~~~~^~~~~ CC src/htx.o 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:463: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:485: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:672: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 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/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/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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/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:1064: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/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) { ^ 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/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 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) { ^ 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++) { ^ 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/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/proto/channel.h:32, from src/frontend.c:37: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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 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/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 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/htx.h:31, from src/htx.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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: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/htx.c:14: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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); ^~ src/htx.c: In function 'htx_xfer_blks': src/htx.c:652: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:700:3: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ 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) { ^ src/htx.c: In function 'htx_add_data': src/htx.c:932: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:963: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:966:3: warning: label 'append_data' defined but not used [-Wunused-label] append_data: ^~~~~~~~~~~ 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/memory.o CC src/applet.o 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/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/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) { ^ 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 src/raw_sock.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, ~~~~~~~~~~~~~~~~~~~^~~~ CC src/channel.o 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:463: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:485: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:672: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) ^ CC src/signal.o 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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) { ^ 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) ~~~~~~^~~~~~~~ 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) ~~~~^~~~~ 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) ~~~~~~^~~~~~ 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:1064: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) ~~~~^~~~~~~~~~~ CC src/lb_fwrr.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)) ^ 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/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/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/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/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/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:1064: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 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/proto/channel.h:32, from src/channel.c:21: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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) ~~~~~~~^~~~~ 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/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/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/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 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:463: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:485: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:672: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/ev_select.o 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/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/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) ~~~~~~~^~~~~ 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/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) ~~~~~~~^~~~~ include/common/standard.h:1064: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 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/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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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)); ^~~~~~~~~~~~~~~~~~~ src/xprt_handshake.c: In function 'xprt_handshake_from_buf': 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) ~~~~~~~^~~~~ 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) ~~~~^~~~~ 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)) ^ 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/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 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/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:1064: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 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/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) ~~~~~~~^~~~~ 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)) ^ 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:1064: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/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/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:1064: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/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) ~~~~^~~~~~~ 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/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ 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:1064: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/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/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/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) { ^ CC src/sink.o 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:463: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:485: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:672: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 src/applet.c:19: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463: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:485: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:672: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/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/memory.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/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))); ^ 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/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': 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': 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)) { ^ 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/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/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/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/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/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') { ^ CC src/http_conv.o 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)) ^~ 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/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) ^ 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++) ^ 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) { ^ src/memory.c: In function 'init_pools': src/memory.c:588: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:601: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:602: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:605: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:669:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &mem_cfg_kws); ^~~~~~~~~ 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 src/sink.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/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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128: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 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 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 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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/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 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 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/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 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/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/lb_fwrr.c: In function 'fwrr_queue_srv': 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/lb_fwrr.c: In function 'fwrr_get_server_from_group': 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) ^~ 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:1064: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/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))) { ^ 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:1064: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/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++) { ^ CC src/proto_sockpair.o 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) ~~~~~~~~~~~~~~~^ CC src/mworker-prog.o CC src/activity.o CC src/lb_fwlc.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/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/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) ~~~~~~~^~~~~ 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)) ^ 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/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/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/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/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 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/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:1064: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/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: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 src/proto_sockpair.c:35: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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/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/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 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/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/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/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:1064: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/lb_fwlc.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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) { ^ 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) ~~~~~~^~~~~~~ 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/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); ^~~~~~~~~ CC src/http.o 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) { ^ CC src/lb_fas.o 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/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: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/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:463: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:485: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:672: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/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/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/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 src/http.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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)) ^ 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/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, ~~~~~~~~~~~~~~~~~~~^~~~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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) ~~~~~~^~~~~~~ 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:312: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 include/types/global.h:30, from src/lb_fas.c:24: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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))); ^ CC src/uri_auth.o 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:463: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:485: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:672: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) { ^ 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/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_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 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))); ^ 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))); ^ 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/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) { ^ CC src/hathreads.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 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/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/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) ~~~~^~~~ 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/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:1064: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/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/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/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/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/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 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 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); ^ 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)) ^ 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/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:1064: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:1064: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) ~~~~^~~~~~~~~~~ CC src/auth.o 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) { ^ CC src/buffer.o CC src/compression.o 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/chunk.h:30, from include/common/standard.h:36, from include/types/global.h:30, from src/auth.c:28: 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 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/standard.h:36, from include/types/global.h:30, from src/auth.c:28: 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 src/buffer.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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 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/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 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) ~~~~~~~^~~~~ 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: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:1064: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/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/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/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/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/types/global.h:30, from src/auth.c:28: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/lb_map.o 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:1064: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/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 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))); ^ 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; imaxconn || 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/chunk.o 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)) ^ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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++) { ^ 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:1064: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/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) { ^ 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) ^~ 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/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) ~~~~~~~^~~~~ 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/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) { ^ 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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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) ~~~~~~~~~~~~~~~~~~^~~~~~~~ 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 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CC src/hpack-dec.o In file included from src/chunk.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/action.o 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/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)) ^ CC src/xxhash.o 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 src/wdt.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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/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))); ^ 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:1064: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:463: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:485: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:672: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 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)) ^ 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:296: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/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:1064: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/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) { ^ CC src/pipe.o 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))) { ^ CC src/shctx.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/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:324: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:336: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/proto/stream.h:32, from include/proto/log.h:37, from src/wdt.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/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)) ^ CC src/hpack-tbl.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-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/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/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/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)) ^ 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/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/pipe.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/shctx.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/http_acl.o 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; ^ 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/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/sha1.o 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CC src/time.o 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:1064: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-enc.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/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/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:1064: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 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 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) ~~~~^~~~~ 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)) ^ 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/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CC src/fcgi.o 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:1064: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:1064: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/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:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133: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 */ ^~~~~~~~~~~~~~~ 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)) ^ CC src/arg.o 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:1064: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/base64.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-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/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/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/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/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) { ^ 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) { ^ 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/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:1064: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/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/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)) ^ CC src/hpack-huff.o CC src/dict.o CC src/hash.o 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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/mailers.o In file included from src/protocol.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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/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) ~~~~~~~^~~~~ 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/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 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/freq_ctr.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064: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: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/version.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 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 /nvmedata/autobuild/instance-0/output-1/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+0x7d0): undefined reference to `pthread_getcpuclockid' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:837: haproxy] Error 1 make[1]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/haproxy-2.1.2' make: *** [package/pkg-generic.mk:269: /nvmedata/autobuild/instance-0/output-1/build/haproxy-2.1.2/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-0/buildroot'