>>> haproxy 2.0.4 Downloading converted 'http://www.haproxy.org/download/2.0/src/haproxy-2.0.4.tar.gz' (ANSI_X3.4-1968) -> 'http://www.haproxy.org/download/2.0/src/haproxy-2.0.4.tar.gz' (UTF-8) --2019-08-28 10:52:18-- http://www.haproxy.org/download/2.0/src/haproxy-2.0.4.tar.gz Resolving www.haproxy.org (www.haproxy.org)... 51.15.8.218 Connecting to www.haproxy.org (www.haproxy.org)|51.15.8.218|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2538442 (2.4M) [application/x-tar] Saving to: '/home/buildroot/build/instance-2/output-1/build/.haproxy-2.0.4.tar.gz.jRVIVP/output' 0K .......... .......... .......... .......... .......... 2% 4.11M 1s 50K .......... .......... .......... .......... .......... 4% 8.29M 0s 100K .......... .......... .......... .......... .......... 6% 113M 0s 150K .......... .......... .......... .......... .......... 8% 92.6M 0s 200K .......... .......... .......... .......... .......... 10% 8.84M 0s 250K .......... .......... .......... .......... .......... 12% 92.3M 0s 300K .......... .......... .......... .......... .......... 14% 119M 0s 350K .......... .......... .......... .......... .......... 16% 11.6M 0s 400K .......... .......... .......... .......... .......... 18% 54.2M 0s 450K .......... .......... .......... .......... .......... 20% 119M 0s 500K .......... .......... .......... .......... .......... 22% 92.8M 0s 550K .......... .......... .......... .......... .......... 24% 120M 0s 600K .......... .......... .......... .......... .......... 26% 122M 0s 650K .......... .......... .......... .......... .......... 28% 125M 0s 700K .......... .......... .......... .......... .......... 30% 91.2M 0s 750K .......... .......... .......... .......... .......... 32% 20.2M 0s 800K .......... .......... .......... .......... .......... 34% 46.2M 0s 850K .......... .......... .......... .......... .......... 36% 92.0M 0s 900K .......... .......... .......... .......... .......... 38% 126M 0s 950K .......... .......... .......... .......... .......... 40% 120M 0s 1000K .......... .......... .......... .......... .......... 42% 121M 0s 1050K .......... .......... .......... .......... .......... 44% 92.1M 0s 1100K .......... .......... .......... .......... .......... 46% 119M 0s 1150K .......... .......... .......... .......... .......... 48% 127M 0s 1200K .......... .......... .......... .......... .......... 50% 118M 0s 1250K .......... .......... .......... .......... .......... 52% 93.5M 0s 1300K .......... .......... .......... .......... .......... 54% 120M 0s 1350K .......... .......... .......... .......... .......... 56% 126M 0s 1400K .......... .......... .......... .......... .......... 58% 120M 0s 1450K .......... .......... .......... .......... .......... 60% 92.2M 0s 1500K .......... .......... .......... .......... .......... 62% 67.0M 0s 1550K .......... .......... .......... .......... .......... 64% 91.1M 0s 1600K .......... .......... .......... .......... .......... 66% 120M 0s 1650K .......... .......... .......... .......... .......... 68% 123M 0s 1700K .......... .......... .......... .......... .......... 70% 124M 0s 1750K .......... .......... .......... .......... .......... 72% 93.4M 0s 1800K .......... .......... .......... .......... .......... 74% 120M 0s 1850K .......... .......... .......... .......... .......... 76% 120M 0s 1900K .......... .......... .......... .......... .......... 78% 90.9M 0s 1950K .......... .......... .......... .......... .......... 80% 129M 0s 2000K .......... .......... .......... .......... .......... 82% 119M 0s 2050K .......... .......... .......... .......... .......... 84% 122M 0s 2100K .......... .......... .......... .......... .......... 86% 91.1M 0s 2150K .......... .......... .......... .......... .......... 88% 128M 0s 2200K .......... .......... .......... .......... .......... 90% 81.3M 0s 2250K .......... .......... .......... .......... .......... 92% 128M 0s 2300K .......... .......... .......... .......... .......... 94% 118M 0s 2350K .......... .......... .......... .......... .......... 96% 93.4M 0s 2400K .......... .......... .......... .......... .......... 98% 119M 0s 2450K .......... .......... ........ 100% 132M=0.05s 2019-08-28 10:52:18 (47.3 MB/s) - '/home/buildroot/build/instance-2/output-1/build/.haproxy-2.0.4.tar.gz.jRVIVP/output' saved [2538442/2538442] haproxy-2.0.4.tar.gz: OK (sha256: e2680696032c8b957cd26fd948fff239d2cfc17b00964e6d2dc5adf8155fcef1) >>> haproxy 2.0.4 Extracting gzip -d -c /home/buildroot/build/instance-2/buildroot/instance-2/dl/haproxy/haproxy-2.0.4.tar.gz | tar --strip-components=1 -C /home/buildroot/build/instance-2/output-1/build/haproxy-2.0.4 -xf - >>> haproxy 2.0.4 Patching >>> haproxy 2.0.4 Configuring >>> haproxy 2.0.4 Building PATH="/home/buildroot/build/instance-2/output-1/host/bin:/home/buildroot/build/instance-2/output-1/host/sbin:/sbin:/usr/sbin:/bin:/usr/bin" /usr/bin/make -j8 PATH="/home/buildroot/build/instance-2/output-1/host/bin:/home/buildroot/build/instance-2/output-1/host/sbin:/sbin:/usr/sbin:/bin:/usr/bin" AR="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-ar" AS="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-as" LD="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-ld" NM="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-nm" CC="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc" GCC="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc" CPP="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-cpp" CXX="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-g++" FC="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gfortran" F77="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gfortran" RANLIB="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-ranlib" READELF="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-readelf" STRIP="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-strip" OBJCOPY="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/build/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/build/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/build/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/build/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/build/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-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 -O2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/home/buildroot/build/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/build/instance-2/output-1/host/microblazeel-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no LD=/home/buildroot/build/instance-2/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc PREFIX=/usr TARGET=custom USE_THREAD=1 USE_OPENSSL=1 USE_ZLIB=1 ADDLIB="-latomic" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -O0" -C /home/buildroot/build/instance-2/output-1/build/haproxy-2.0.4 make[1]: Entering directory '/home/buildroot/build/instance-2/output-1/build/haproxy-2.0.4' CC src/ev_poll.o CC src/ssl_sock.o CC src/proto_http.o CC src/cfgparse-listen.o CC src/proto_htx.o CC src/stream.o CC src/mux_h2.o CC src/stats.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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) ~~~~~~~^~~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/chunk.h: In function 'chunk_initlen': 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/chunk.h:78: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/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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 src/ssl_sock.c:46: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/buffer.h:32, 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/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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: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:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.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) ~~~~~~~^~~~~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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:1031: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/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/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/htx.h:28, from src/proto_htx.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/ticks.h:56, from src/ev_poll.c:23: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/ssl_sock.c:46: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/ev_poll.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:36, from include/common/htx.h:31, from src/proto_htx.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/htx.h:31, from src/proto_htx.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/htx.h:31, from src/proto_htx.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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 src/proto_htx.c:16: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/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/proto/log.h:34, 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/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/proto/log.h:34, 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:1031: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/proto/log.h:34, 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/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/proto/log.h:34, 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:1031: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, 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:164: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/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, 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:164: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/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/ev_poll.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/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 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:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/ev_poll.c: In function '_do_poll': src/ev_poll.c:166: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:173: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:91: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:308:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ~~~~~~~~~~~~~~~^ In file included from include/common/h2.h:34, from src/mux_h2.c:16: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ 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))); ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/common/hpack-dec.h:34, from src/mux_h2.c:17: include/common/hpack-tbl.h: In function 'hpack_valid_idx': include/common/hpack-tbl.h:161:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/cfgparse-listen.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:259: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/session.h:35, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/cfgparse-listen.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/channel.h:32, from src/ssl_sock.c:70: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ In file included from src/mux_h2.c:23: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:986: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:693: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:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/stream_interface.h:32, from src/mux_h2.c:27: 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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/ssl_sock.c:71: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/mux_h2.c:13: src/mux_h2.c: At top level: In file included from src/ssl_sock.c:80: include/proto/proto_http.h: In function 'http_body_bytes': 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:233:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h2c, "h2c", sizeof(struct h2c)); ^~~~~~~~~~~~~~~~~~~ include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ 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:236:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h2s, "h2s", sizeof(struct h2s)); ^~~~~~~~~~~~~~~~~~~ src/mux_h2.c: In function 'h2_release_buf': src/mux_h2.c:426: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:496:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] ret2 = h2c->stream_cnt <= srv->max_reuse ? srv->max_reuse - h2c->stream_cnt + 1: 0; ^~ In file included from 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/ssl_sock.c: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++) { ^ 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/buffer.h: In function 'b_alloc_margin': 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/common/buffer.h:164: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/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:183, 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:183, 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:413: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:580: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:611: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:615: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:628:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ src/mux_h2.c: In function 'h2_peek_frame_hdr': src/mux_h2.c:853: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/mux_h2.c: In function 'h2s_new': src/mux_h2.c:986:2: warning: label 'out_free_h2s' defined but not used [-Wunused-label] out_free_h2s: ^~~~~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_parse_sctl': src/ssl_sock.c:1418:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len + 2 != sctl->data) ^~ CC src/flt_spoe.o src/ssl_sock.c: In function 'ssl_sock_sctl_add_cbk': src/ssl_sock.c:1486: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:1486: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:1486: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:1496: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:1496:50: warning: unused parameter 'ext_type' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~~~~~~~^~~~~~~~ src/ssl_sock.c:1496: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:1496: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:1496: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:1496: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) ~~~~~~^~~~~~~~~ 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/proto_htx.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_parse_clienthello': src/ssl_sock.c:1723: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:1724: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:1622: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:1731: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) ~~~~~~^~~ 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/proto_htx.c:21: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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: In function 'ssl_sock_srv_select_protos': src/ssl_sock.c:1777: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:1794: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:1809:48: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_alpn_protos(SSL *s, const unsigned char **out, ~~~~~^ src/mux_h2.c: In function 'h2c_handle_settings': src/mux_h2.c:1594: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:1598: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) { ^ src/mux_h2.c: In function 'h2c_handle_window_update': src/ssl_sock.c: In function 'ssl_sock_do_create_cert': src/mux_h2.c:1855: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) ^ 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/proto/log.h:34, 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:1830:83: warning: unused parameter 'ssl' [-Wunused-parameter] ssl_sock_do_create_cert(const char *servername, struct bind_conf *bind_conf, SSL *ssl) ~~~~~^~~ src/ssl_sock.c: In function 'ssl_sock_create_cert': src/ssl_sock.c:1977:84: warning: unused parameter 'key' [-Wunused-parameter] ssl_sock_create_cert(struct connection *conn, const char *servername, unsigned int key) ~~~~~~~~~~~~~^~~ src/mux_h2.c: In function 'h2c_handle_goaway': src/mux_h2.c:1921: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:1940: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:1943: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) { ^~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/proto/queue.h: In function 'server_has_room': src/mux_h2.c: In function 'h2c_handle_rst_stream': 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:1958: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) ^ 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_headers': src/mux_h2.c:1994: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 'ctx_set_None_func': src/ssl_sock.c:2178:40: warning: unused parameter 'ctx' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ~~~~~~~~~^~~ src/ssl_sock.c:2178: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:2179:36: warning: unused parameter 'ssl' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~^~~ 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/standard.h: In function 'is_inet_addr': src/ssl_sock.c:2179:58: warning: unused parameter 'c' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~~~~~~~~~~~~~^ include/common/standard.h:1031: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/mux_h2.c: In function 'h2c_bck_handle_headers': src/mux_h2.c:2114: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_switchctx_cbk': src/ssl_sock.c:2353: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:2353: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/mux_h2.c: In function 'h2c_frt_handle_data': src/mux_h2.c:2169:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c:2180: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:2220: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:2693:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (keylen > global_ssl.default_dh_param) { ^ src/ssl_sock.c:2678:41: warning: unused parameter 'export' [-Wunused-parameter] static DH *ssl_get_tmp_dh(SSL *ssl, int export, int keylen) ~~~~^~~~~~ src/ssl_sock.c: In function 'ssl_sock_add_cert_sni': src/ssl_sock.c:2814: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:2816:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (j >= trash.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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_free_cert_key_and_chain_contents': src/ssl_sock.c:2906:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < ckch->num_chain_certs; 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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: In function 'ssl_sock_put_ckch_into_ctx': src/ssl_sock.c:3032:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < ckch->num_chain_certs; i++) { ^ src/ssl_sock.c: In function 'ssl_sock_populate_sni_keytypes_hplr': src/ssl_sock.c:3056: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++) { ^ 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/proto/log.h:34, 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/mux_h2.c: In function 'h2_io_cb': src/mux_h2.c:2929: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:2929: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/stream.h:32, from include/proto/channel.h:41, from src/proto_htx.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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/mux_h2.c: In function 'h2_timeout_task': src/mux_h2.c:3041:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from include/proto/channel.h:32, from src/proto_http.c:52: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/mux_h2.c: In function 'h2_deferred_shut': src/mux_h2.c:3408: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:3408:80: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h2.c: In function 'h2_shutw': src/mux_h2.c:3449: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:3529: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) ^ 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/mux_h2.c:3557:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (hdr.sid != h2c->dsi) { ^~ src/mux_h2.c:3574:12: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (clen > hdr.len) ^ src/ssl_sock.c: In function 'sh_ssl_sess_new_cb': src/ssl_sock.c:4060:29: warning: unused parameter 'ssl' [-Wunused-parameter] int sh_ssl_sess_new_cb(SSL *ssl, SSL_SESSION *sess) ~~~~~^~~ src/mux_h2.c:3605: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 'sh_ssl_sess_get_cb': src/ssl_sock.c:4106: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) ~~~~~^~~ In file included from src/proto_http.c:52: 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/types/checks.h:21, from include/types/server.h:44, 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/stream.c:17: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/mux_h2.c:3733: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:3739:37: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (b_full(&h2c->dbuf) && h2c->dfl >= b_data(&h2c->dbuf)) { ^~ src/mux_h2.c: In function 'h2_frt_transfer_data': src/mux_h2.c:3840:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block1) ^ src/mux_h2.c:3845:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block1) ^ src/mux_h2.c:3914:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (block1 > flen) ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stats.c:27: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/mux_h2.c: In function 'h2s_frt_make_resp_headers': src/mux_h2.c:4082:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (hdr = 1; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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_http.c:63: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:40:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ~~~~~~~~~~~~~^~~ In file included from src/proto_htx.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 src/proto_http.c:66: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/ist.h: In function 'ist2str': src/mux_h2.c: In function 'h2s_frt_make_resp_data': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/proto_http.c:70: include/proto/server.h: In function 'srv_add_to_idle_list': src/mux_h2.c:4232:23: warning: comparison of integer expressions of different signedness: 'long long int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] if ((long long)size > h1m->curr_len) ^ 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:259: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) ~~~~~~~^~~~~ src/mux_h2.c:4291:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (size > max) ^ src/mux_h2.c:4307:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (size + 9 > outbuf.size) { ^ src/mux_h2.c:4313:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (size + 9 <= b_room(mbuf)) && ^~ src/mux_h2.c:4341:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (!ret || len1 + len2 < size) { ^ src/mux_h2.c:4348:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (len1 + len2 > size) { ^ src/mux_h2.c:4351:12: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (len2 > sub) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.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:259: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/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_frt_make_resp_headers': src/mux_h2.c:4496: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/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:4546: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/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/proto_http.c:73: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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 'ssl_sock_handshake': src/ssl_sock.c:5521: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:5526: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 include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_bck_make_req_headers': src/mux_h2.c:4704:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/ssl_sock.c: In function 'ssl_add_xprt': In file included from src/stats.c:32: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ src/ssl_sock.c:5629:44: warning: unused parameter 'conn' [-Wunused-parameter] static int ssl_add_xprt(struct connection *conn, void *xprt_ctx, void *toadd_ctx, const struct xprt_ops *toadd_ops, void **oldxprt_ctx, const struct xprt_ops **oldxprt_ops) ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/proto_htx.c:25: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:986: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 'ssl_sock_io_cb': src/mux_h2.c:4779:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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:5658: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:5658:82: warning: unused parameter 'state' [-Wunused-parameter] static struct task *ssl_sock_io_cb(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:4802: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/proto_http.c:27: src/proto_http.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/proto_http.c:282:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_http_txn, "http_txn", sizeof(struct http_txn)); ^~~~~~~~~~~~ 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/proto_http.c:283:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_uniqueid, "uniqueid", UNIQUEID_LEN); ^~~~~~~~~~~~ src/proto_http.c: In function 'http_change_connection_header': src/proto_http.c:466:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (wanted == (txn->flags & (TX_CON_CLO_SET|TX_CON_KAL_SET))) ^~ In file included from src/proto_htx.c:31: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/proto_http.c: In function 'http_adjust_conn_mode': src/proto_http.c:513:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((txn->flags & TX_CON_WANT_MSK) < tmp) ^ src/ssl_sock.c: In function 'ssl_sock_to_buf': In file included from src/stats.c:50: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/proto_http.c: In function 'http_wait_for_request': src/proto_http.c:630:31: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] eol = sol + (msg->sl.rq.l ? msg->sl.rq.l : ci_data(req)); ^~~~~~~~~~~~ src/ssl_sock.c:5713: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) ~~~~^~~~~ 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_htx_frt_make_resp_data': src/mux_h2.c:4970:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (unlikely(fsize == count && ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h2.c:4982:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize + 9 <= b_room(mbuf) && ^~ src/mux_h2.c:4984:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (fsize <= b_size(mbuf) / 4 && fsize + 9 <= b_contig_space(mbuf)))) ^~ src/mux_h2.c:4984:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (fsize <= b_size(mbuf) / 4 && fsize + 9 <= b_contig_space(mbuf)))) ^~ src/ssl_sock.c: In function 'ssl_sock_close': src/ssl_sock.c:6049: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/proto_http.c:1100:59: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare] if ((msg->flags & HTTP_MSGF_CNT_LEN) && (msg->chunk_len != cl)) { ^~ src/ssl_sock.c:6073: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/mux_h2.c:5066:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize > count) ^ src/mux_h2.c:5075: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:5081:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (fsize + 9 <= b_room(mbuf)) && ^~ In file included from src/stream.c:22: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ src/proto_http.c: In function 'http_handle_stats': src/proto_http.c:1194:57: warning: unused parameter 'req' [-Wunused-parameter] int http_handle_stats(struct stream *s, struct channel *req) ~~~~~~~~~~~~~~~~^~~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/proto_htx.c: In function 'htx_wait_for_request': include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_make_trailers': src/mux_h2.c:5202:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/ssl_sock.c: In function 'ssl_sock_get_serial': src/ssl_sock.c:6229:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < serial->length) ^ src/ssl_sock.c: In function 'ssl_sock_crt2der': src/ssl_sock.c:6251:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < len) ^ In file included from src/stats.c:65: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/proto_htx.c:116:9: warning: operand of ?: changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] ? csinfo->t_idle ^~~~~~~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_get_time': src/ssl_sock.c:6274:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < gentm->length-2) ^ In file included from include/proto/session.h:35, from src/stats.c:68: 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:6288:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < utctm->length) ^ include/proto/server.h:259: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.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) ^ src/mux_h2.c:5286:2: warning: label 'done' defined but not used [-Wunused-label] done: ^~~~ src/ssl_sock.c: In function 'ssl_sock_get_dn_entry': src/ssl_sock.c:6348:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (data_len > out->size) ^ src/ssl_sock.c: In function 'ssl_sock_get_dn_oneline': src/mux_h2.c: In function 'h2_rcv_buf': src/ssl_sock.c:6397:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (l > out->size) ^ src/mux_h2.c:5393: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) ~~~~^~~~~ 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:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/proto_htx.c: In function 'htx_process_tarpit': src/proto_htx.c:991:67: warning: unused parameter 'an_bit' [-Wunused-parameter] int htx_process_tarpit(struct stream *s, struct channel *req, int an_bit) ~~~~^~~~~~ src/mux_h2.c: In function 'h2_snd_buf': src/mux_h2.c:5485: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: In function 'ssl_sock_get_alpn': src/ssl_sock.c:6539: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/mux_h2.c: In function 'h2_parse_header_table_size': src/mux_h2.c:5772:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_early': src/mux_h2.c:5772:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:6566: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) ~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/ssl_sock.h:33, from src/stats.c:69: include/proto/connection.h: In function 'conn_get_best_mux_entry': src/mux_h2.c:5773:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ include/proto/connection.h:972: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:972:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ src/ssl_sock.c:6566: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) ~~~~~~~~~~~~^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:5773:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:6566: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:5773:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_crt': src/mux_h2.c: In function 'h2_parse_initial_window_size': src/ssl_sock.c:6584: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/mux_h2.c:5788:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:6584: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/mux_h2.c:5788:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5789:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:6584: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:5789:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:5789: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:5804:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h2.c:5804: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: In function 'smp_fetch_ssl_x_der': src/mux_h2.c:5805:58: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5805:77: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:6612:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:5805:87: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c:6612:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ In file included from src/stream.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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_parse_max_frame_size': src/mux_h2.c:5820:53: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h2.c:5820:81: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5821:50: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5821:69: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:5821:79: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_serial': In file included from include/common/cfgparse.h:27, from src/mux_h2.c:13: src/mux_h2.c: At top level: src/stats.c: In function 'stats_putchk': 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:5865:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_h2); ^~~~~~~~~ src/stats.c:259:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (chk->data >= channel_htx_recv_max(chn, htx)) ^~ src/ssl_sock.c:6658:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, 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:5892:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_h2_htx); ^~~~~~~~~ src/ssl_sock.c:6658:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, 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:5903:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/stats.c: In function 'stats_emit_json_data_field': src/stats.c:388:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'const long long int'} and 'long long unsigned int' [-Wsign-compare] if (f->u.s64 < JSON_INT_MIN || f->u.s64 > JSON_INT_MAX) ^ src/stats.c:388:50: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'const long long int'} and 'long long unsigned int' [-Wsign-compare] if (f->u.s64 < JSON_INT_MIN || f->u.s64 > JSON_INT_MAX) ^ src/stats.c:413:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] return !(old_len == out->data); ^~ src/stats.c: In function 'stats_emit_json_field_tags': src/stats.c:507: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 'smp_fetch_ssl_x_sha1': In file included from src/stream.c:50: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:40:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ~~~~~~~~~~~~~^~~ src/stats.c: In function 'stats_dump_json_info_fields': src/ssl_sock.c:6705: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/stats.c:581: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:6705: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/proto_http.c: In function 'http_wait_for_request_body': src/proto_http.c:3219:28: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (http_body_bytes(msg) < msg->body_len) ^ src/stats.c: In function 'stats_dump_fields_json': src/stats.c:647:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (old_len == out->data) ^~ src/proto_http.c:3262:27: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (http_body_bytes(msg) >= msg->body_len) /* we have enough bytes now */ ^~ In file included from src/stream.c:58: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notafter': src/ssl_sock.c:6752: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:6752: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/proto_htx.c: In function 'htx_apply_redirect_rule': src/proto_htx.c:2409:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (qs < path.len) { ^ src/proto_htx.c:2457:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (qs < path.len) { ^ In file included from include/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:69: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:72:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(streams_lock); ^~~~~~~~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_i_dn': src/ssl_sock.c:6797:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_i_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notbefore': src/ssl_sock.c:6856: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:6856: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/proto_htx.c: In function 'htx_transform_header_str': src/proto_htx.c:2622:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (output->data == -1) ^~ src/proto_htx.c:2609:45: warning: unused parameter 's' [-Wunused-parameter] int htx_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ~~~~~~~~~~~~~~~^ src/proto_htx.c:2609:64: warning: unused parameter 'chn' [-Wunused-parameter] int htx_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ~~~~~~~~~~~~~~~~^~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_s_dn': src/ssl_sock.c:6901: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:6957:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6957:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:6957: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/proto_htx.c: In function 'htx_req_replace_stline': src/proto_htx.c:2730:21: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct stream *s) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_version': src/ssl_sock.c:6989: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/proto_http.c: In function 'http_wait_for_response': src/proto_http.c:4258:31: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] eol = sol + (msg->sl.st.l ? msg->sl.st.l : ci_data(rep)); ^~~~~~~~~~~~ src/ssl_sock.c:6989:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_version(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sig_alg': src/ssl_sock.c:7027:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_sig_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7027: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/stream.c: In function 'process_sticking_rules': src/stream.c:1603:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_x_key_alg': src/ssl_sock.c:7079: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/stream.c: In function 'process_store_rules': src/stream.c:1680:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/ssl_sock.c:7079: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:7130:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7130: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:7142: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:7142:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7142:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_is_resumed': src/ssl_sock.c:7163: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:7163: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/proto_http.c:4723:59: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare] if ((msg->flags & HTTP_MSGF_CNT_LEN) && (msg->chunk_len != cl)) { ^~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cipher': src/ssl_sock.c:7182:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cipher(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7182:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cipher(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alg_keysize': src/ssl_sock.c:7210:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_alg_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7210:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alg_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_use_keysize': src/ssl_sock.c:7236:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7236:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_npn': src/ssl_sock.c:7258: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:7258: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:7286: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:7286:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_protocol': src/ssl_sock.c:7318: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:7318:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_protocol(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_session_id': src/ssl_sock.c:7346: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:7346:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_session_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_random': src/ssl_sock.c:7376: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:7376:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_random(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_session_key': src/proto_htx.c: In function 'htx_manage_client_side_cookies': src/proto_htx.c:4331: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/ssl_sock.c:7407:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_session_key(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7407: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:7440: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/stats.c: In function 'stats_process_http_post': src/stats.c:2788:33: 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/ssl_sock.c:7440: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/stats.c:2819:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (c_room(&s->req) <= global.tune.maxrewrite) { ^~ src/ssl_sock.c:7440: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/stats.c:2856:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((plen > 0) && (plen <= sizeof(key))) { ^~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_bin': src/ssl_sock.c:7463:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7463:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7463: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/proto_htx.c: In function 'htx_check_request_for_cacheability': src/proto_htx.c:4677: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: In function 'smp_fetch_ssl_fc_cl_xxh64': src/proto_htx.c: In function 'htx_check_response_for_cacheability': src/proto_htx.c:4756: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/proto_htx.c:4761: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:7501:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7501: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/proto_htx.c: In function 'htx_stats_check_uri': src/proto_htx.c:4848: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/ssl_sock.c:7501:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_str': src/ssl_sock.c:7532:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i + 1 < smp->data.u.str.data; i += 2) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_unique_id': src/ssl_sock.c:7560:46: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_unique_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7560:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_unique_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err': src/ssl_sock.c:7601: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/stream.c: In function 'cli_parse_show_sess': src/stream.c:3408: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:3408:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:7601: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:7601:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err_depth': src/proto_htx.c: In function 'htx_reply_and_close': src/proto_htx.c:5377:50: warning: unused parameter 'status' [-Wunused-parameter] void htx_reply_and_close(struct stream *s, short status, struct buffer *msg) ~~~~~~^~~~~~ src/ssl_sock.c:7625: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:7625: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:7625: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:7649: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:7649: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:7649: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:7674: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:7674: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:7674: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:7700: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/proto_htx.c: In function 'htx_capture_headers': src/proto_htx.c:5586: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/proto_htx.c:5598:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (v.len > h->len) ^ src/ssl_sock.c: In function 'bind_parse_ca_sign_file': src/ssl_sock.c:7721: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/stats.c: In function 'stats_dump_json_schema': src/stats.c:3917:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (old_len == out->data) { ^~ src/stream.c: In function 'cli_parse_shutdown_session': src/stream.c:3660:58: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c:3660:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'bind_parse_ca_sign_pass': src/ssl_sock.c:7738: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/stream.c: In function 'cli_parse_shutdown_sessions_server': src/ssl_sock.c:7750: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/stream.c:3695:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'ssl_bind_parse_ciphersuites': src/stream.c:3695:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c: At top level: src/ssl_sock.c:7768: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/stream.c:3718: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3719: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3720: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3721: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:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/ssl_sock.c: In function 'bind_parse_crt': src/stats.c: In function 'cli_parse_clear_counters': src/ssl_sock.c:7786: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/stats.c:3942: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:3942: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:4004:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_info(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'ssl_bind_parse_crl_file': src/stats.c:4004: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:7830: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) ~~~~~~~~~~~~~~^~ 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:3724:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_bind_parse_curves': src/stream.c:3728: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/ssl_sock.c:7857: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) ~~~~~~~~~~~~~~^~ 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:3732:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &stream_tcp_keywords); ^~~~~~~~~ src/stream.c:3735: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:183: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:3739:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &stream_http_keywords); ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_bind_parse_ecdhe': src/ssl_sock.c:7879: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) ~~~~~~~~~~~~~~^~ 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/proto/log.h:34, 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/stats.c: In function 'cli_parse_show_stat': src/ssl_sock.c: In function 'bind_parse_ignore_err': src/stats.c:4018: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:4018:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_stat(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:7907: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/stats.c: At top level: src/stats.c:4076: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4077: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", cli_parse_show_info, cli_io_handler_dump_info, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4078: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", cli_parse_show_stat, cli_io_handler_dump_stat, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/proto_http.c: In function 'stats_check_uri': src/stats.c:4079: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4080: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:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/proto_http.c:7038:46: warning: unused parameter 'si' [-Wunused-parameter] int stats_check_uri(struct stream_interface *si, struct http_txn *txn, struct proxy *backend) ~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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:4083:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ 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/proto/log.h:34, 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:1031: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_http.c: In function 'http_capture_bad_message': src/proto_http.c:7109:44: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] (msg->err_pos >= 0) ? msg->err_pos : msg->next, ^~~~~~~~~~~~ src/ssl_sock.c: In function 'bind_parse_tls_method_options': src/ssl_sock.c:7978: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:7983: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:8018: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:8026: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:8031: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:8037: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:8037: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) ~~~~^~~~~~~ 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/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/ssl_sock.c:8037: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:8037: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:8044: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:8044: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:8044: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:8044: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:8050: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:8050: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:8050: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:8050: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': 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/proto/log.h:34, 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:164: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:8057: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:8113: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:8169: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:8169: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:8169: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:8169: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:8191: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:8191:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8191: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:8191: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:8198: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:8198: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:8198: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:8198: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:8210: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:8210: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:8210: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:8210:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/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))); ^ src/ssl_sock.c: In function 'bind_parse_tls_ticket_keys': src/ssl_sock.c:8217: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:8343: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:8372: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:8372: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:8372: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) ~~~~~~~~~~~~~~^~ 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_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ src/ssl_sock.c:8372: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) ~~~~~~~^~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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 'srv_parse_npn': 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) ^ src/ssl_sock.c:8385:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_npn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_alpn': src/ssl_sock.c:8438: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/proto_http.c: In function 'http_msg_forward_chunked_body': src/proto_http.c:5469:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_CRLF; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from src/flt_spoe.c:37: include/proto/proto_http.h: In function 'http_body_bytes': src/proto_http.c:5472:3: note: here case HTTP_MSG_CHUNK_CRLF: ^~~~ include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/proto_http.c:5484:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_SIZE; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/proto_http.c:5487:3: note: here case HTTP_MSG_CHUNK_SIZE: ^~~~ src/proto_http.c:5511:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_TRAILERS; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/proto_http.c:5514:3: note: here case HTTP_MSG_TRAILERS: ^~~~ src/ssl_sock.c: In function 'srv_parse_ca_file': 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:259: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:8499: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:8516: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) ~~~~~~~~~~~~~~^~ 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); ^~~~~~~~~ src/ssl_sock.c: In function 'srv_parse_check_ssl': src/ssl_sock.c:8534: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:8534: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:8534: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:8534: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': In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/flt_spoe.c:44: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8554: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:8568: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:8582: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) ~~~~~~~~~~~~~~^~ 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 'generate_pseudo_uuid': src/flt_spoe.c:274:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(uuid_fmt)-1; i++) { ^ src/ssl_sock.c: In function 'srv_parse_crt': src/ssl_sock.c:8605: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:8622: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:8622: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:8622: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:8622: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:8632: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:8632: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:8632: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/flt_spoe.c: In function 'spoe_process_appctx': src/ssl_sock.c:8632: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/flt_spoe.c:1219:71: warning: unused parameter 'state' [-Wunused-parameter] spoe_process_appctx(struct task * task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c: In function 'srv_parse_no_send_proxy_cn': src/ssl_sock.c:8640: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:8640: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:8640: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:8640: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:8649: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:8649: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:8649: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:8649: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:8658: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:8658: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:8658: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:8658: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:8665: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:8665: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:8665: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:8665: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:8672: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:8672: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:8672: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:8672: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:8678: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:8678: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:8678: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:8678: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:8686: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:8686: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:8686: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:8686: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:8695: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:8717: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:8717: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:8717: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:8717: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:8730: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:8730: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:8730: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:8730: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:8737: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:8737: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:8737: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/flt_spoe.c: In function 'spoe_sig_stop': src/flt_spoe.c:2959: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:2993:25: warning: unused parameter 'px' [-Wunused-parameter] spoe_init(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8737: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/flt_spoe.c: In function 'spoe_deinit': src/flt_spoe.c:3022:27: warning: unused parameter 'px' [-Wunused-parameter] spoe_deinit(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_verify': src/ssl_sock.c:8744: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/flt_spoe.c: In function 'spoe_stop': src/flt_spoe.c:3165:26: warning: unused parameter 's' [-Wunused-parameter] spoe_stop(struct stream *s, struct filter *filter) ~~~~~~~~~~~~~~~^ src/ssl_sock.c: In function 'srv_parse_verifyhost': src/ssl_sock.c:8767: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/flt_spoe.c: In function 'spoe_end_analyze': src/flt_spoe.c:3287:33: warning: unused parameter 's' [-Wunused-parameter] spoe_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_spoe.c:3287:75: warning: unused parameter 'chn' [-Wunused-parameter] spoe_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_parse_default_bind_options': src/ssl_sock.c:8782:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8782:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8783:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8783:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8783:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_default_server_options': src/ssl_sock.c:8814: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:8814: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:8815:59: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8815:78: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8815:88: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ca_crt_base': src/ssl_sock.c:8846: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:8846: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:8847:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8847:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/flt_spoe.c: In function 'cfg_parse_spoe_agent': src/flt_spoe.c:3711:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] curagent->max_frame_size > MAX_FRAME_SIZE) { ^ src/ssl_sock.c:8847: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:8873: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:8873: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:8873: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:8874:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8874:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8874:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c:8875:47: warning: unused parameter 'err' [-Wunused-parameter] char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_engine': src/ssl_sock.c:8901: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:8901: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:8902:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8902:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/flt_spoe.c: In function 'cfg_parse_spoe_group': src/flt_spoe.c:3782:70: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_spoe_group(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/ssl_sock.c:8902: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:8944: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:8944:82: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8945:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8945:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8945:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ciphersuites': src/ssl_sock.c:8969:59: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/flt_spoe.c: In function 'cfg_parse_spoe_message': src/flt_spoe.c:3871:72: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_spoe_message(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/ssl_sock.c:8969: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:8970:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8970:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8970:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_int': src/ssl_sock.c:8994: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:8994: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:8995:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8995:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8995:76: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/flt_spoe.c: In function 'parse_spoe_flt': src/ssl_sock.c: In function 'ssl_parse_global_private_cache': src/flt_spoe.c:4061:59: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:9057:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/flt_spoe.c: In function 'spoe_send_group': src/ssl_sock.c:9057:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/flt_spoe.c:4492:19: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:9058:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9058:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9058:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/flt_spoe.c: In function 'parse_send_spoe_group': src/flt_spoe.c:4662: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:4689:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &flt_kws); ^~~~~~~~~ src/flt_spoe.c:4693: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:183: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:4698:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_action_kws); ^~~~~~~~~ src/flt_spoe.c:4701: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_parse_global_lifetime': 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:4706:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_action_kws); ^~~~~~~~~ src/flt_spoe.c:4709: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:183: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:4714:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_action_kws); ^~~~~~~~~ src/ssl_sock.c:9071:55: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_lifetime(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/flt_spoe.c:4717: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:183: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:4722:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_action_kws); ^~~~~~~~~ src/ssl_sock.c:9071: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:9072:52: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9072:71: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9072: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:9107: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:9107: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:9108:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9108:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9108: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:9129: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:9129: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:9130:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9130:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9130: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:9322:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ CC src/server.o src/ssl_sock.c:9322: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:9347: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:9347: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_set_ocspresponse': src/ssl_sock.c:9391: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:9472:64: warning: unused parameter 'conv' [-Wunused-parameter] static int check_aes_gcm(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:9473:21: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9473: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:9492: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:9586: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:9587: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:9589: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:9590: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:32: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:183, 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:9593:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/ssl_sock.c:9599: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:9600: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:9602: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:9604: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:9606: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:9608: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:9609: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:9610: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:9611: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:9613: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:9616: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:9617: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:9618: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:9620: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:9621: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:9622: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:9623: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:9624: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:9625: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:9626: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:9627: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:9628: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:9629: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:9630: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:9631: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:9632: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:9633: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:9634: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:9635: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:9636: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:9637: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:9638: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:9639: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:9640: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:9641: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:9642: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:9643: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:9644: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:9645: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:9646: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:9647: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:9648: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:9649: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:9650: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:9651: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:9653: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:9656: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:9658: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:9660: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:9662: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:9664: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:9667: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:9668: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:9669: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:9672: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:9674: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:9675: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:9676: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:9677: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:9678: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:183, 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:9681:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ src/ssl_sock.c:9687: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:9688: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:183, 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:9692: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:9763: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:9815: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:9848:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/ssl_sock.c:9853: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:9855: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:183, 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:9858: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:9882:57: warning: unused parameter 'rule' [-Wunused-parameter] enum act_return ssl_action_wait_for_hs(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~~~~^~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/chunk.h: In function 'chunk_initlen': src/ssl_sock.c:9882:77: warning: unused parameter 'px' [-Wunused-parameter] enum act_return ssl_action_wait_for_hs(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ include/common/chunk.h:78: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:9883: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:9901: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:9901: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:9901: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:9901: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:9909: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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:9913: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:9917: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) ~~~~~~^~~~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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) ~~~~~~~^~~~~ src/ssl_sock.c:9917: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) ~~~~~~~~~~~~~~~~^~ 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:9917: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:9917: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:9917: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:9926: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:9926: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:9926: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:9926: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:9926: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) ~~~~~~^~~~ src/ssl_sock.c: In function 'ssl_sock_load_cert': src/ssl_sock.c:3612:38: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(fp, sizeof(fp), "%s/%s", path, dp); ^ src/ssl_sock.c:3612:7: note: 'snprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097 snprintf(fp, sizeof(fp), "%s/%s", path, dp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/checks.o In file included from src/checks.c:33: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/haproxy.o 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:1031: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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:76: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:76: 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/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/proto/log.h:34, 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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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 include/proto/applet.h:30, from src/server.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:259: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/applet.h:30, from src/server.c:34: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/checks.c:41: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/stream_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) ^ CC src/cfgparse.o src/server.c: At top level: src/server.c:71:1: warning: missing initializer for field 'rwlock' of 'struct dict' [-Wmissing-field-initializers] }; ^ In file included from include/common/mini-clist.h:183, 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:260: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:306:41: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_agent_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:306:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_agent_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:307:48: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:307: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:314:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_backup(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:314:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_backup(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:315:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:315: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:322:35: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:322:46: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:323:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:323: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:330:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:330:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:331:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:331: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:338:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_via_socks4(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:338:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_via_socks4(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:339:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:339: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:347: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:365:38: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_disabled(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:365:49: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_disabled(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:366:45: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:366: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:376:37: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_enabled(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:376:48: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_enabled(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:377:44: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:377:84: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, 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/global.h:33, from src/checks.c:41: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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: In function 'srv_parse_max_reuse': src/server.c:386: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:400: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:432: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:485:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:485: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:526:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_agent_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:526:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_agent_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:527:52: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:527: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:538:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_backup(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:538:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_backup(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:539:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:539: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:546:38: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:546:49: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:547:45: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:547: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:556:49: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:556:60: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:557:56: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:557: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:571:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:571:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:572:50: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:572: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:578:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_v2(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:578:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_v2(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:579:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:579: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:585:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_tfo(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:585:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_tfo(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:586:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:586: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:593:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_non_stick(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:593:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_non_stick(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:594:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:594: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:608: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:627: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:698: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:716:40: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:716:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:717:47: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:717: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:723:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_v2(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:723:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_v2(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:724:50: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:724: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:732: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:904:35: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_stick(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:904:46: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_stick(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:905:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:905: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:913: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:931: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:980: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:980: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:980: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:980: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:1379: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:359: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:1382: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:1456: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)) ^~ CC src/flt_http_comp.o src/server.c: In function 'server_health_check_init': src/server.c:1926: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:1977:70: warning: unused parameter 'curproxy' [-Wunused-parameter] struct server *srv, struct proxy *curproxy) ~~~~~~~~~~~~~~^~~~~~~~ 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))); ^ src/server.c: In function 'server_finalize_init': src/server.c:2047:1: warning: label 'err' defined but not used [-Wunused-label] err: ^~~ src/server.c: In function 'srv_tmpl_parse_range': src/server.c:2058: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/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:76: 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: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:259: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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:76: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/applet.h:30, from include/proto/stream_interface.h:31, from src/checks.c:58: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ CC src/http_fetch.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/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:76: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:76: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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: In function 'snr_resolution_error_cb': src/server.c:4131: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/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/checks.c:58: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/buffer.h:30, from src/flt_http_comp.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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_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/buffer.h:32, 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/hathreads.h:32, from include/common/mini-clist.h:183, 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: src/server.c: In function 'cli_parse_set_server': 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)); ^~~~~~~~~~~~~~~~~~~ src/server.c:4493:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_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 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/server.c:4493: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:4676: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:4676: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:4719: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:4719: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:4749: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:4749:98: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_maxconn_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ 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/server.c: In function 'cli_parse_disable_agent': src/server.c:4779:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_agent(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4779: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/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/server.c:4800: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:4800:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_health(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ 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) ^~ 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:76: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/checks.c: In function '__event_srv_chk_r': src/checks.c:846:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) ^~ src/server.c: In function 'cli_parse_disable_server': src/server.c:4821:56: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4821:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_server(char **args, char *payload, struct appctx *appctx, 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/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/server.c: In function 'cli_parse_enable_agent': src/server.c:4842: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:4842:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_agent(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ CC src/dns.o src/server.c: In function 'cli_parse_enable_health': src/server.c:4870: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:4870:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_health(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ 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:1031: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_enable_server': src/server.c:4891: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:4891: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:4914: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/checks.c: In function 'wake_srv_chk': src/checks.c:1437:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ src/server.c:4915: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4916: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4917: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4918: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4919: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4920: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ src/server.c:4921: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:31:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/server.c:4922: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:31:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/checks.c: In function 'server_warmup': src/server.c:4923: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:31:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/checks.c:1501:81: warning: unused parameter 'state' [-Wunused-parameter] static struct task *server_warmup(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/server.c:4925: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:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/checks.c: In function 'connect_conn_chk': src/checks.c:1575:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ 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:4928:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/checks.c:1586: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)) { ^~ In file included from src/flt_http_comp.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/checks.c:1667: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:183, 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:1697:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(pid_list_lock); ^~~~~~~~~~~~~~~ src/checks.c: In function 'sigchld_handler': src/checks.c:1773:49: warning: unused parameter 'sh' [-Wunused-parameter] static void sigchld_handler(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ In file included from src/http_fetch.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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_proc': src/checks.c:2062:84: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_chk_proc(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from include/common/buffer.h:32, from include/common/h1.h:25, from src/http_fetch.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) ~~~~~~~^~~~~ src/server.c: In function 'srv_cleanup_toremove_connections': 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/server.c:5466:72: warning: unused parameter 'context' [-Wunused-parameter] struct task *srv_cleanup_toremove_connections(struct task *task, void *context, unsigned short state) ~~~~~~^~~~~~~ In file included from include/proto/channel.h:32, from src/haproxy.c:106: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ 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/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ src/server.c:5466:96: warning: unused parameter 'state' [-Wunused-parameter] struct task *srv_cleanup_toremove_connections(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/checks.c: In function 'process_chk_conn': src/checks.c:2194: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:2395:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_EXT_CHK) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/checks.c: In function 'start_checks': src/checks.c:2504:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (s->check.type == PR_O2_EXT_CHK) { ^~ src/server.c: In function 'srv_cleanup_idle_connections': src/server.c:5523: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:5478:68: warning: unused parameter 'context' [-Wunused-parameter] struct task *srv_cleanup_idle_connections(struct task *task, void *context, unsigned short state) ~~~~~~^~~~~~~ src/server.c:5478:92: warning: unused parameter 'state' [-Wunused-parameter] struct task *srv_cleanup_idle_connections(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from src/haproxy.c:106: 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: In function 'cfg_parse_pool_fd_ratio': src/server.c:5549: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:5549:81: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_pool_fd_ratio(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/checks.c: In function 'tcpcheck_main': src/checks.c:2782: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/server.c:5550:50: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/server.c:5550:69: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/server.c:5550: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:5580:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/checks.c:3001: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)) { ^~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/haproxy.c:108: 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/checks.c:3011: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)) ^~ include/proto/server.h:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/checks.c:3088: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) ) ^ 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:1031: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/haproxy.c:108: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/checks.c: In function 'send_email_alert': src/checks.c:3584: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:183, 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: 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/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:316:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/checks.c:3638:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(start_checks); ^~~~~~~~~~~~~~~~~~~ include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/haproxy.c:112: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:40:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ~~~~~~~~~~~~~^~~ 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:164: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/haproxy.c:119: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ 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 src/http_fetch.c:26: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/haproxy.c: In function 'sig_pause': src/haproxy.c:786: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:795:44: warning: unused parameter 'sh' [-Wunused-parameter] static void sig_listen(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'sig_dump_state': include/common/htx.h: In function 'htx_get_max_blksz': src/haproxy.c:803:48: warning: unused parameter 'sh' [-Wunused-parameter] static void sig_dump_state(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ include/common/htx.h:693: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 'dump': src/haproxy.c:849:38: warning: unused parameter 'sh' [-Wunused-parameter] static void dump(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'get_old_sockets': src/haproxy.c:1067: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:1251: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/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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:2260:17: warning: this statement may fall through [-Wimplicit-fallthrough=] check->state |= CHK_ST_PORT_MISS; src/checks.c:2261:3: note: here case SF_ERR_PRXCOND: ^~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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) ~~~~~~~^~~~~ src/haproxy.c: In function 'manage_global_listener_queue': src/haproxy.c:2657:72: warning: unused parameter 'context' [-Wunused-parameter] static struct task *manage_global_listener_queue(struct task *t, void *context, unsigned short state) ~~~~~~^~~~~~~ src/haproxy.c:2657:96: warning: unused parameter 'state' [-Wunused-parameter] static struct task *manage_global_listener_queue(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/haproxy.c: In function 'main': src/haproxy.c:2977: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) { ^ 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/proto/log.h:34, 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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from src/cfgparse.c:60: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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 src/cfgparse.c:76: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ CC src/stick_table.o 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:78: 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:259: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:78: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:148: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:148: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:386: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:394: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:394:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (low < 1 || low > max || high > max) { ^ src/cfgparse.c: In function 'cfg_parse_peers': src/cfgparse.c:603:69: warning: unused parameter 'kwm' [-Wunused-parameter] int cfg_parse_peers(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cfgparse.c: In function 'cfg_parse_resolvers': src/cfgparse.c:945: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:1349: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:1537:55: warning: unused parameter 'args' [-Wunused-parameter] cfg_parse_netns(const char *file, int linenum, char **args, int kwm) ~~~~~~~^~~~ src/cfgparse.c:1537:65: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_netns(const char *file, int linenum, char **args, int kwm) ~~~~^~~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/cfgparse.c: In function 'cfg_parse_users': src/cfgparse.c:1579: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/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/proto/log.h:34, 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/flt_http_comp.c:15: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/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/proto/stream.h:32, from include/proto/log.h:37, from src/http_fetch.c:39: 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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/types/checks.h:21, from include/types/server.h:44, 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/dns.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/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:4220: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:4221: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:4222:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("backend", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/flt_http_comp.c:29: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ 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:4223: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:4224: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:4225:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("userlist", cfg_parse_users, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4226: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:4227:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("mailers", cfg_parse_mailers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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 '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:4228: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 '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:50: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': 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:4229:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("resolvers", cfg_parse_resolvers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ src/flt_http_comp.c:81: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:88:40: warning: unused parameter 'px' [-Wunused-parameter] comp_flt_init_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_http_comp.c:88: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:98:42: warning: unused parameter 'px' [-Wunused-parameter] comp_flt_deinit_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_http_comp.c:98: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:107:35: warning: unused parameter 's' [-Wunused-parameter] comp_start_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c:107: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:136:33: warning: unused parameter 's' [-Wunused-parameter] comp_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c:136: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:180: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:239: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 'comp_http_data': src/flt_http_comp.c:340:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (len > block) ^ src/flt_http_comp.c:307:31: warning: unused parameter 's' [-Wunused-parameter] comp_http_data(struct stream *s, struct filter *filter, struct http_msg *msg) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c: In function 'comp_http_chunk_trailers': src/flt_http_comp.c:363:41: warning: unused parameter 's' [-Wunused-parameter] comp_http_chunk_trailers(struct stream *s, struct filter *filter, ~~~~~~~~~~~~~~~^ src/flt_http_comp.c: In function 'comp_http_forward_data': src/flt_http_comp.c:403:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] else if (st->hdrs_len > len) { ^ src/flt_http_comp.c:431:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret != b_data(&tmpbuf)) { ^~ src/flt_http_comp.c: In function 'htx_set_comp_reshdr': src/flt_http_comp.c:538:59: warning: unused parameter 's' [-Wunused-parameter] htx_set_comp_reshdr(struct comp_state *st, struct stream *s, struct http_msg *msg) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c: In function 'htx_select_comp_reqhdr': src/flt_http_comp.c:756: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 'http_select_comp_reshdr': src/flt_http_comp.c:936: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: In function 'htx_select_comp_reshdr': src/flt_http_comp.c:1029: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:1047: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:1060:3: warning: label 'deinit_comp_ctx' defined but not used [-Wunused-label] deinit_comp_ctx: ^~~~~~~~~~~~~~~ In file included from include/proto/proto_http.h:29, from src/http_fetch.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) ^ src/flt_http_comp.c: In function 'http_compression_buffer_add_data': 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/flt_http_comp.c:1152:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (block1 > b_contig_data(in, in_out)) ^ src/flt_http_comp.c: In function 'http_compression_buffer_end': src/flt_http_comp.c:1236:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (left > co_data(chn)) ^ src/flt_http_comp.c: In function 'parse_compression_options': src/flt_http_comp.c:1340:44: warning: unused parameter 'section' [-Wunused-parameter] parse_compression_options(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/flt_http_comp.c:1341: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:1404:28: warning: unused parameter 'args' [-Wunused-parameter] parse_http_comp_flt(char **args, int *cur_arg, struct proxy *px, ~~~~~~~^~~~ src/flt_http_comp.c:1405: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:1483:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_res_comp(const struct arg *args, struct sample *smp, const char *kw, ~~~~~~~~~~~~~~~~~~^~~~ 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); ^ src/flt_http_comp.c:1483: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:1484:12: warning: unused parameter 'private' [-Wunused-parameter] 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/flt_http_comp.c: In function 'smp_fetch_res_comp_algo': src/flt_http_comp.c:1497:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_res_comp_algo(const struct arg *args, struct sample *smp, ~~~~~~~~~~~~~~~~~~^~~~ In file included from src/http_fetch.c:41: include/proto/proto_http.h: In function 'http_body_bytes': src/flt_http_comp.c:1498:16: warning: unused parameter 'kw' [-Wunused-parameter] const char *kw, void *private) ~~~~~~~~~~~~^~ include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/flt_http_comp.c:1498: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:183, 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:1530: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:1539:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &filter_kws); ^~~~~~~~~ src/flt_http_comp.c:1543: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:1544: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:183, 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:1549:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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:80: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:81: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_prefetch_http': src/http_fetch.c:339:37: warning: unused parameter 'px' [-Wunused-parameter] int smp_prefetch_http(struct proxy *px, struct stream *s, unsigned int opt, ~~~~~~~~~~~~~~^~ src/http_fetch.c:339:72: warning: unused parameter 'opt' [-Wunused-parameter] int smp_prefetch_http(struct proxy *px, struct stream *s, unsigned int opt, ~~~~~~~~~~~~~^~~ src/http_fetch.c: In function 'smp_fetch_meth': CC src/mux_h1.o src/http_fetch.c:442: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:442: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:442: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:495: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:495: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:495: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:535: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:535: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:535: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:576: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:576: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:576: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:610: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:610: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:610: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:633: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:633: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:633: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:700: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:700: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:700: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:906:14: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if (block1 > b_wrap(&chn->buf) - body) ^ src/http_fetch.c:862: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:862: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:862: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:934: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:934: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:934: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:982: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:982: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:982:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_body_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_url': src/http_fetch.c:1029:44: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_url(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1029: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:1029:92: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_url_ip': src/http_fetch.c:1060: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:1060: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:1060: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:1093: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:1093: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:1093: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:1132: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:1236: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:1294: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:1366: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:1480: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:1591:45: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_path(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1591:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_path(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1591: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:1737: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:1737: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:1737: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:1863: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:1863: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:1863: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:1904: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:1904: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:1904: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:1929: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:1929: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:1929: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': src/http_fetch.c:1937: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:1937: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:1967: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:1967: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:2012: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:2012: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:2036: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:2036: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) ~~~~~~^~~~~~~ In file included from include/proto/channel.h:32, from src/dns.c:37: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/http_fetch.c: In function 'smp_fetch_capture_req_method': src/http_fetch.c:2058: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:2058: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:2058: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:2084: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:2084: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:2084: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:2122: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:2122: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:2122: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) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_res_ver': src/http_fetch.c:2144: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:2144: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:2144: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) ~~~~~~^~~~~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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_fetch.c: In function 'smp_fetch_cookie': src/http_fetch.c:2302:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (ctx->vlen < args->data.str.data + 1) ^ src/http_fetch.c:2173:95: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_cookie(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_cookie_cnt': src/http_fetch.c:2427:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (ctx.vlen < args->data.str.data + 1) ^ src/http_fetch.c:2349: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) ~~~~~~^~~~~~~ CC src/peers.o src/http_fetch.c: In function 'smp_fetch_param': src/http_fetch.c:2476: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:2476: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:2476: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/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) ^ src/http_fetch.c: In function 'smp_fetch_body_param': src/http_fetch.c:2660:15: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if (block1 > b_wrap(&chn->buf) - body) ^ src/http_fetch.c: In function 'smp_fetch_url32': src/http_fetch.c:2713: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:2713: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:2713:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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_fetch.c: At top level: src/http_fetch.c:2860: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:2861: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:2862: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:2865: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:2868: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:2869: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:2870: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:2872: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:2873: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:2879: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:2880: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:2881: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:2882: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:2888: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:2889: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:2890: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:2891: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:2893: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:2894: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:2895: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:2896: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:2897: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:2898: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:2901: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:2902: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_*) */ ^~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ src/http_fetch.c:2905: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:2906: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 }, ^ include/common/ist.h: In function 'ist2str_lc': In file included from include/types/vars.h:7, from include/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/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/http_fetch.c:2908: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_*) */ ^~~ 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/http_fetch.c:2909: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:2910: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:2911: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:2913: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:2914: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:2917: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:2918: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:2921: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:2922: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:2923: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:2925: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:2926: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:2927:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr", smp_fetch_hdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2928:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr_cnt", smp_fetch_hdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2929: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:2930: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:2931: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:2934: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:2935: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:2936: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:2938: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:2939: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:2940: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:2941: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_*) */ ^~~ In file included from src/dns.c:42: include/proto/proto_http.h: In function 'http_body_bytes': src/http_fetch.c:2942: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 }, ^ include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/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:2943: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:2944: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:2947: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:2948: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:2949: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:2950: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:2953: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:2954: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:2955: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:2956: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:2958: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:2959: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:2960: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:2961: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:2962: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:2963: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:2964: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:2965: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:2966: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:2967: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:183, 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:2971:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ In file included from src/dns.c:46: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:259: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/applet.h:30, from include/proto/stream_interface.h:31, from src/dns.c:50: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:36, from include/common/time.h:31, from src/peers.c:25: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/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:233:72: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (sizeof(dns_hdr) + sizeof(qinfo) + sizeof(edns) + hostname_dn_len >= bufsize) ^~ src/dns.c: In function 'dns_check_dns_response': src/dns.c:550:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv->uweight != ha_weight) { ^~ 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/dns.c: In function 'dns_resolve_recv': src/dns.c:1553:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (buflen > resolvers->accepted_payload_size) { ^ 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:1031: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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/dns.c: In function 'dns_process_resolvers': src/dns.c:1766: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:2010: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:2010: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:2101: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/dns.c:2102: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:29: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:2106: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:2148:56: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ 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/proto/log.h:34, 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/dns.c: At top level: src/dns.c:2329: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:184: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:2333:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/dns.c:2336: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:184: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:2340: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:320:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_deinit, (fct)) ^~~~~~~~~ src/dns.c:2366: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:2367:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("dns runtime resolver", dns_finalize_config); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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/proto/log.h:34, 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:1031: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/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, 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:164: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/proxy.o In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from include/proto/proto_http.h:29, from src/stick_table.c:36: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/standard.c:29: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/proto_http.h:29, from src/stick_table.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/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/stick_table.c:36: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, 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:259: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 src/standard.c:31: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/stick_table.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/standard.c:31: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/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/proto/log.h:34, 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:1031: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/cli.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/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, 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:164: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 'process_table_expire': src/stick_table.c:616:91: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_table_expire(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/stick_table.c: In function 'sample_conv_in_table': src/stick_table.c:1102:84: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_in_table(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_bytes_in_rate': src/stick_table.c:1129:95: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_bytes_in_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_conn_cnt': src/stick_table.c:1166:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_conn_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_conn_cur': src/stick_table.c:1202:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_conn_cur(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_conn_rate': src/stick_table.c:1238:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_conn_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_bytes_out_rate': src/stick_table.c:1275:96: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_bytes_out_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpt0': src/stick_table.c:1312:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpt0(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc0': src/stick_table.c:1348:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc0(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc0_rate': src/stick_table.c:1384:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc0_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc1': src/stick_table.c:1421:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc1(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc1_rate': src/stick_table.c:1457:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc1_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_err_cnt': src/stick_table.c:1494:94: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_err_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_err_rate': src/stick_table.c:1530:95: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_err_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_req_cnt': src/stick_table.c:1567:94: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_req_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_req_rate': src/stick_table.c:1603:95: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_req_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_kbytes_in': src/stick_table.c:1640:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_kbytes_in(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_kbytes_out': src/stick_table.c:1676:92: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_kbytes_out(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_server_id': src/stick_table.c:1712:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_server_id(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_sess_cnt': src/stick_table.c:1748:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_sess_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_sess_rate': src/stick_table.c:1784:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_sess_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_trackers': src/stick_table.c:1821:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_trackers(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'action_inc_gpc0': src/stick_table.c:1849:77: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_inc_gpc0(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c:1850:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/stick_table.c: In function 'parse_inc_gpc0': src/stick_table.c:1896:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_inc_gpc0(const char **args, int *arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c: In function 'action_inc_gpc1': src/stick_table.c:1931:77: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_inc_gpc1(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c:1932:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/stick_table.c: In function 'parse_inc_gpc1': src/stick_table.c:1978:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_inc_gpc1(const char **args, int *arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c: In function 'action_set_gpt0': src/stick_table.c:2013:77: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_set_gpt0(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c:2014:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/peers.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) ~~~~~~~^~~~~ src/stick_table.c: In function 'parse_set_gpt0': src/stick_table.c:2054:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_set_gpt0(const char **args, int *arg, struct proxy *px, ~~~~~~~~~~~~~~^~ 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/stick_table.c: In function 'smp_fetch_table_cnt': src/stick_table.c:2103: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:2103: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': 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); ^ src/stick_table.c:2115:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_table_avl(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/stick_table.c:2115:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_table_avl(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_tracked': src/stick_table.c:2246:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_tracked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_get_gpt0': src/stick_table.c:2269: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:2310: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:2351: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:2392: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:2433: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:2473:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_inc_gpc0(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/peers.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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_inc_gpc1': src/stick_table.c:2526: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:2579:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_clr_gpc0(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ CC src/log.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/stick_table.c: In function 'smp_fetch_sc_clr_gpc1': src/stick_table.c:2623:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_clr_gpc1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_conn_cnt': src/stick_table.c:2667:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_conn_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_conn_rate': src/stick_table.c:2708: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/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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) ~~~~~~~^~~~~ src/stick_table.c: In function 'smp_fetch_src_updt_conn_cnt': src/stick_table.c:2748:85: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_src_updt_conn_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/stick_table.c:2748: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:2800:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_conn_cur(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_sess_cnt': src/stick_table.c:2839: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': In file included from include/common/h2.h:34, from src/mux_h1.c:15: include/common/htx.h: In function 'htx_get_head': src/stick_table.c:2877:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/stick_table.c: In function 'smp_fetch_sc_http_req_cnt': src/stick_table.c:2917: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) ~~~~~~^~~~~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/stick_table.c: In function 'smp_fetch_sc_http_req_rate': src/stick_table.c:2956: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:2996: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:3035: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) ~~~~~~^~~~~~~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h1.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:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/stick_table.c: In function 'smp_fetch_sc_kbytes_in': src/stick_table.c:3075:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_kbytes_in(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_bytes_in_rate': src/stick_table.c:3114:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_bytes_in_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_kbytes_out': src/stick_table.c:3154: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:3193: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) ~~~~~~^~~~~~~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/peers.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))); ^ src/stick_table.c: In function 'smp_fetch_sc_trackers': src/stick_table.c:3232:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_trackers(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ In file included from src/mux_h1.c:23: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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 'cli_parse_table_req': src/stick_table.c:3632:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_table_req(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from include/proto/stream_interface.h:32, from src/mux_h1.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) ^ src/stick_table.c: At top level: src/stick_table.c:3864: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:34: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:3865: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:34: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:3866: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:34: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:3867: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:29: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:3870:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/stick_table.c:3873: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:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3874: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:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3875: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:184: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:3879:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_conn_keywords_register, &tcp_conn_kws); ^~~~~~~~~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/peers.c:36: 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/stick_table.c:3882: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:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/mux_h1.c:12: src/mux_h1.c: At top level: include/proto/server.h:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/stick_table.c:3883: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:184:8: note: 'private' declared here 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:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h1.c:110:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h1c, "h1c", sizeof(struct h1c)); ^~~~~~~~~~~~~~~~~~~ src/stick_table.c:3884: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:184:8: note: 'private' declared here 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:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h1.c:111:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h1s, "h1s", sizeof(struct h1s)); ^~~~~~~~~~~~~~~~~~~ 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:3888:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_sess_keywords_register, &tcp_sess_kws); ^~~~~~~~~ src/stick_table.c:3891: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:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3892: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:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3893: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:184: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:3897:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_kws); ^~~~~~~~~ src/stick_table.c:3900: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:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3901: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:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3902: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:184: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:3906:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_kws); ^~~~~~~~~ src/stick_table.c:3909: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:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3910: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:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3911: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:184: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:3915:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/stick_table.c:3918: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:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3919: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:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3920: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:184: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:3924:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_kws); ^~~~~~~~~ src/stick_table.c:3938:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3939:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3940: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:3941: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:3942: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:3943: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:3944: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:3945: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:3946: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:3947: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:3948: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:3949: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:3950: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:3951: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:3952: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:3953: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:3954: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:3955: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:3956: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/mux_h1.c: In function 'h1_process_input_conn_mode': src/mux_h1.c:784:86: warning: unused parameter 'htx' [-Wunused-parameter] static void h1_process_input_conn_mode(struct h1s *h1s, struct h1m *h1m, struct htx *htx) ~~~~~~~~~~~~^~~ src/stick_table.c:3957: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:3958: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/mux_h1.c: In function 'h1_capture_bad_message': src/mux_h1.c:848: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/stick_table.c:3959: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:3960: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:3961: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/mux_h1.c: In function 'h1_eval_htx_req_size': src/mux_h1.c:928:48: warning: unused parameter 'h1m' [-Wunused-parameter] static size_t h1_eval_htx_req_size(struct h1m *h1m, union h1_sl *h1sl, struct http_hdr *hdrs) ~~~~~~~~~~~~^~~ src/stick_table.c:3962: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, }, ^ src/mux_h1.c: In function 'h1_eval_htx_res_size': In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.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/mux_h1.c:939:48: warning: unused parameter 'h1m' [-Wunused-parameter] static size_t h1_eval_htx_res_size(struct h1m *h1m, union h1_sl *h1sl, struct http_hdr *hdrs) ~~~~~~~~~~~~^~~ src/stick_table.c:3963: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:3964: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:3965: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:3966: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:3967: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:3968: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:3969: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:3970: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:3971:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3972: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/mux_h1.c: In function 'h1_process_data': src/mux_h1.c:1172: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(buf, *ofs)) ^ src/stick_table.c:3973: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_*) */ ^~~ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h1.c:12: src/mux_h1.c:1186:43: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (unlikely(htx_is_empty(htx) && ret == b_data(buf) && ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/stick_table.c:3974:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3975:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3976: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:3977: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:3978: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_*) */ ^~~ CC src/backend.o src/stick_table.c:3979: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:3980: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:3981: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:3982: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/mux_h1.c:1255:13: 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(buf, *ofs)) ^ src/stick_table.c:3983: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:3984: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/mux_h1.c:1287: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(buf, *ofs)) ^ src/stick_table.c:3985: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:3986: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:3987: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_*) */ ^~~ In file included from include/proto/applet.h:30, from src/peers.c:36: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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/stick_table.c:3988: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_*) */ ^~~ include/proto/connection.h:972:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ src/stick_table.c:3989: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, }, ^ include/proto/connection.h: In function 'conn_get_best_mux': In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.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/connection.h:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/stick_table.c:3990: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_*) */ ^~~ 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:78: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/stick_table.c:3991: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:3992: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:3993: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:3994: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:3995: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_*) */ ^~~ In file included from include/proto/channel.h:32, from src/peers.c:37: include/common/htx.h: In function 'htx_get_head': src/stick_table.c:3996: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_*) */ ^~~ include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': src/stick_table.c:3997: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, }, ^ include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3998:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "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_*) */ ^~~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/stick_table.c:3999: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:4000: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:4001: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:4002: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:4003: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:4004: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_*) */ ^~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/stick_table.c:4005: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:4006: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:4007:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_sess_rate", smp_fetch_sc_sess_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4008:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_tracked", smp_fetch_sc_tracked, ARG1(0,TAB), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4009:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_trackers", smp_fetch_sc_trackers, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4010: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:4011:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4012: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_*) */ ^~~ 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) ^ src/stick_table.c:4013:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4014:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_conn_cnt", smp_fetch_sc_conn_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4015:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_conn_cur", smp_fetch_sc_conn_cur, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4016:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_conn_rate", smp_fetch_sc_conn_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4017:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_get_gpt0", smp_fetch_sc_get_gpt0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4018:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_get_gpc0", smp_fetch_sc_get_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4019:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4020:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4021:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4022: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:4023:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4024:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4025:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_req_rate", smp_fetch_sc_http_req_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4026:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4027:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4028:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_kbytes_in", smp_fetch_sc_kbytes_in, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4029:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_kbytes_out", smp_fetch_sc_kbytes_out, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4030: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/mux_h1.c: In function 'h1_io_cb': src/stick_table.c:4031: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/mux_h1.c:2034:43: warning: unused parameter 't' [-Wunused-parameter] static struct task *h1_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~^ src/stick_table.c:4032: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/mux_h1.c:2034:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h1_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4033:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_trackers", smp_fetch_sc_trackers, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4034: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/mux_h1.c: In function 'h1_timeout_task': src/stick_table.c:4035:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/mux_h1.c:2075:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h1_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/stick_table.c:4036:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4037:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4038: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:4039: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:4040:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_conn_rate", smp_fetch_sc_conn_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4041:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_get_gpt0", smp_fetch_sc_get_gpt0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4042: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/common/standard.h:38, from src/log.c:30: include/common/namespace.h: In function 'my_socketat': In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.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/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:4043:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4044:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4045:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4046: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:4047:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4048:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4049:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_req_rate", smp_fetch_sc_http_req_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4050:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4051:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4052:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_kbytes_in", smp_fetch_sc_kbytes_in, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4053:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_kbytes_out", smp_fetch_sc_kbytes_out, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4054: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:4055: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/peers.c: In function 'peer_prepare_hellomsg': In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.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/peers.c:361: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:377:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret >= size) ^~ src/peers.c:372:92: warning: unused parameter 'p' [-Wunused-parameter] static int peer_prepare_status_successmsg(char *msg, size_t size, struct peer_prep_params *p) ~~~~~~~~~~~~~~~~~~~~~~~~~^ src/stick_table.c:4056: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, }, ^ src/peers.c: In function 'peer_prepare_status_errormsg': In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.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/peers.c:395:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret >= size) ^~ src/stick_table.c:4057: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:4058: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:4062:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_fetch_keywords); ^~~~~~~~~ src/stick_table.c:4066: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/mux_h1.c: In function 'h1_snd_buf': src/stick_table.c:4067: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 */ ^~~~~~~ In file included from src/log.c:30: include/common/standard.h: In function 'is_inet_addr': src/mux_h1.c:2397: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) ~~~~^~~~~ include/common/standard.h:1031: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/stick_table.c:4068: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/peers.c: In function 'peer_prepare_updatemsg': src/peers.c:427:53: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_updatemsg(char *msg, size_t size, struct peer_prep_params *p) ~~~~~~~^~~~ src/stick_table.c:4069: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:4070: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/peers.c: In function 'peer_prepare_switchmsg': src/peers.c:594:53: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_switchmsg(char *msg, size_t size, struct peer_prep_params *params) ~~~~~~~^~~~ src/stick_table.c:4071: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/peers.c: In function 'peer_prepare_ackmsg': src/peers.c:679:50: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_ackmsg(char *msg, size_t size, struct peer_prep_params *p) ~~~~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/mux_h1.c:12: src/mux_h1.c: At top level: src/stick_table.c:4072: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 */ ^~~~~~~ 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:2551:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_htx); ^~~~~~~~~ src/stick_table.c:4073: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:4074: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:4075: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:4076: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:4077: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:4078:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_http_err_rate", sample_conv_table_http_err_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4079: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:4080:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_http_req_rate", sample_conv_table_http_req_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4081:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_kbytes_in", sample_conv_table_kbytes_in, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4082:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_kbytes_out", sample_conv_table_kbytes_out, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4083:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_server_id", sample_conv_table_server_id, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4084: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:4085:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_sess_rate", sample_conv_table_sess_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4086:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_trackers", sample_conv_table_trackers, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:4090:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ src/peers.c: In function 'peer_send_teachmsgs': src/peers.c:1238:2: warning: label 'out' defined but not used [-Wunused-label] out: ^~~ src/peers.c: In function 'peer_treat_updatemsg': src/peers.c:1322: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:1547: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:1625: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:1649: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:1650: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:1704: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:1715:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i == msg_head_sz) { ^~ In file included from src/log.c:31: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/applet.h:28, from include/types/cli.h:24, from src/log.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) ~~~~~~~^~~~~ src/peers.c: In function 'flush_dcache': In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/standard.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) ~~~~~~~^~~~~ src/peers.c:2934: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++) ^ 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/peers.c: In function 'cli_parse_show_peers': src/peers.c:3029: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:3029: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:3192: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:3208: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: At top level: src/peers.c:3308: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:32: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:3313:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ In file included from include/common/buffer.h:30, from src/backend.c:22: include/common/chunk.h: In function 'chunk_initlen': 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/namespace.h: In function 'my_socketat': 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/namespace.h: In function 'my_socketat': include/common/chunk.h:78: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/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/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/types/cli.h:24, from src/log.c:33: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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:32, 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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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: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:2239:5: note: in expansion of macro '_HA_ATOMIC_ADD' _HA_ATOMIC_ADD(&active_peers, 1); ^~~~~~~~~~~~~~ src/peers.c:2242:4: note: here case PEER_SESS_ST_SENDSUCCESS: { ^~~~ src/peers.c:2286:17: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st0 = PEER_SESS_ST_GETSTATUS; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/peers.c:2289:4: note: here case PEER_SESS_ST_GETSTATUS: { ^~~~ src/peers.c:2328:17: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st0 = PEER_SESS_ST_WAITMSG; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/peers.c:2331:4: note: here case PEER_SESS_ST_WAITMSG: { ^~~~ src/peers.c:2411:16: warning: this statement may fall through [-Wimplicit-fallthrough=] prev_state = appctx->st0; ~~~~~~~~~~~^~~~~~~~~~~~~ src/peers.c:2414:4: note: here case PEER_SESS_ST_END: { ^~~~ 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/global.h:33, from src/standard.c:33: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ CC src/pattern.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/proto/log.h:34, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/standard.c: In function 'ulltoa': src/standard.c:153:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ src/standard.c: In function 'ultoa_o': src/standard.c:265:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ 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': src/standard.c: In function 'utoa_pad': 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/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) ^ 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ CC src/sample.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/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/backend.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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 'url2sa': src/standard.c:1319:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (trash.size < ulen) ^ 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/log.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/backend.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/backend.c:27: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/standard.c: In function 'buf2ip': src/standard.c:2556:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (addr = buf; addr - buf < len; addr++) { ^ src/standard.c: In function 'quote_arg': src/standard.c:2627:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 1; i < sizeof(val) - 2 && *ptr; i++) ^ 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))); ^ 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++) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/log.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:259: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 src/pattern.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/standard.c: In function 'strnistr': src/standard.c:3844:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (tmp1 >= len_str1) ^~ In file included from include/proto/applet.h:30, from src/log.c:37: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/standard.c:3861: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:3863: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 */ ^~ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/log.c:44: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ src/standard.c: In function 'dump_text_line': src/standard.c:4174:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (end > out->size) ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/standard.c:4182: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:4186: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:4198:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->data > end - 5) ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/cli.c:51: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/standard.c: In function 'trace': src/standard.c:4312:18: warning: unused parameter 'msg' [-Wunused-parameter] void trace(char *msg, ...) ~~~~~~^~~ In file included from include/proto/stream_interface.h:32, from src/log.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) ^ In file included from src/cli.c:51: 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/pattern.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/log.c: At top level: src/log.c:130: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:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:133: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:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:134: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:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:135: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:123: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] { "H", LOG_FMT_HOSTNAME, PR_MODE_TCP, LW_INIT, NULL }, /* Hostname */ ^ src/log.c:123: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] { "ID", LOG_FMT_UNIQUEID, PR_MODE_HTTP, LW_BYTES, NULL }, /* Unique ID */ ^ src/log.c:123: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] { "ST", LOG_FMT_STATUS, PR_MODE_TCP, LW_RESP, NULL }, /* status code */ ^ src/log.c:123: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] { "T", LOG_FMT_DATEGMT, PR_MODE_TCP, LW_INIT, NULL }, /* date GMT */ ^ src/log.c:123: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] { "Ta", LOG_FMT_Ta, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time active (tr to end) */ ^ src/log.c:123: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] { "Tc", LOG_FMT_TC, PR_MODE_TCP, LW_BYTES, NULL }, /* Tc */ ^ src/log.c:123: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] { "Th", LOG_FMT_Th, PR_MODE_TCP, LW_BYTES, NULL }, /* Time handshake */ ^ src/log.c:123: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] { "Ti", LOG_FMT_Ti, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time idle */ ^ src/log.c:123: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] { "Tl", LOG_FMT_DATELOCAL, PR_MODE_TCP, LW_INIT, NULL }, /* date local timezone */ ^ src/log.c:123: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] { "Tq", LOG_FMT_TQ, PR_MODE_HTTP, LW_BYTES, NULL }, /* Tq=Th+Ti+TR */ ^ src/log.c:123: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] { "Tr", LOG_FMT_Tr, PR_MODE_HTTP, LW_BYTES, NULL }, /* Tr */ ^ src/log.c:123: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] { "TR", LOG_FMT_TR, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time to receive a valid request */ ^ src/log.c:123: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] { "Td", LOG_FMT_TD, PR_MODE_TCP, LW_BYTES, NULL }, /* Td = Tt - (Tq + Tw + Tc + Tr) */ ^ src/log.c:123: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] { "Ts", LOG_FMT_TS, PR_MODE_TCP, LW_INIT, NULL }, /* timestamp GMT */ ^ src/log.c:123: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] { "Tt", LOG_FMT_TT, PR_MODE_TCP, LW_BYTES, NULL }, /* Tt */ ^ src/log.c:123: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] { "Tw", LOG_FMT_TW, PR_MODE_TCP, LW_BYTES, NULL }, /* Tw */ ^ src/log.c:123: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] { "U", LOG_FMT_BYTES_UP, PR_MODE_TCP, LW_BYTES, NULL }, /* bytes from client to server */ ^ src/log.c:123: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] { "ac", LOG_FMT_ACTCONN, PR_MODE_TCP, LW_BYTES, NULL }, /* actconn */ ^ src/log.c:123: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] { "b", LOG_FMT_BACKEND, PR_MODE_TCP, LW_INIT, NULL }, /* backend */ ^ src/log.c:123: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] { "bc", LOG_FMT_BECONN, PR_MODE_TCP, LW_BYTES, NULL }, /* beconn */ ^ src/log.c:123: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] { "bi", LOG_FMT_BACKENDIP, PR_MODE_TCP, LW_BCKIP, prepare_addrsource }, /* backend source ip */ ^ src/log.c:123: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] { "bp", LOG_FMT_BACKENDPORT, PR_MODE_TCP, LW_BCKIP, prepare_addrsource }, /* backend source port */ ^ src/log.c:123: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] { "bq", LOG_FMT_BCKQUEUE, PR_MODE_TCP, LW_BYTES, NULL }, /* backend_queue */ ^ src/log.c:123: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] { "ci", LOG_FMT_CLIENTIP, PR_MODE_TCP, LW_CLIP | LW_XPRT, NULL }, /* client ip */ ^ src/log.c:123: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] { "cp", LOG_FMT_CLIENTPORT, PR_MODE_TCP, LW_CLIP | LW_XPRT, NULL }, /* client port */ ^ src/log.c:123: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] { "f", LOG_FMT_FRONTEND, PR_MODE_TCP, LW_INIT, NULL }, /* frontend */ ^ src/log.c:123: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] { "fc", LOG_FMT_FECONN, PR_MODE_TCP, LW_BYTES, NULL }, /* feconn */ ^ src/log.c:123: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] { "fi", LOG_FMT_FRONTENDIP, PR_MODE_TCP, LW_FRTIP | LW_XPRT, NULL }, /* frontend ip */ ^ src/log.c:123: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] { "fp", LOG_FMT_FRONTENDPORT, PR_MODE_TCP, LW_FRTIP | LW_XPRT, NULL }, /* frontend port */ ^ src/log.c:123: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] { "ft", LOG_FMT_FRONTEND_XPRT, PR_MODE_TCP, LW_INIT, NULL }, /* frontend with transport mode */ ^ src/log.c:123: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] { "hr", LOG_FMT_HDRREQUEST, PR_MODE_TCP, LW_REQHDR, NULL }, /* header request */ ^ src/log.c:123: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] { "hrl", LOG_FMT_HDRREQUESTLIST, PR_MODE_TCP, LW_REQHDR, NULL }, /* header request list */ ^ src/log.c:123: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] { "hs", LOG_FMT_HDRRESPONS, PR_MODE_TCP, LW_RSPHDR, NULL }, /* header response */ ^ src/log.c:123: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] { "hsl", LOG_FMT_HDRRESPONSLIST, PR_MODE_TCP, LW_RSPHDR, NULL }, /* header response list */ ^ src/log.c:123: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] { "HM", LOG_FMT_HTTP_METHOD, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP method */ ^ src/log.c:123: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] { "HP", LOG_FMT_HTTP_PATH, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP path */ ^ src/log.c:123: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] { "HQ", LOG_FMT_HTTP_QUERY, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP query */ ^ src/log.c:123: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] { "HU", LOG_FMT_HTTP_URI, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP full URI */ ^ src/log.c:123: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] { "HV", LOG_FMT_HTTP_VERSION, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP version */ ^ src/log.c:123: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] { "lc", LOG_FMT_LOGCNT, PR_MODE_TCP, LW_INIT, NULL }, /* log counter */ ^ src/log.c:123: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] { "ms", LOG_FMT_MS, PR_MODE_TCP, LW_INIT, NULL }, /* accept date millisecond */ ^ src/log.c:123: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] { "pid", LOG_FMT_PID, PR_MODE_TCP, LW_INIT, NULL }, /* log pid */ ^ src/log.c:123: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] { "r", LOG_FMT_REQ, PR_MODE_HTTP, LW_REQ, NULL }, /* request */ ^ src/log.c:123: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] { "rc", LOG_FMT_RETRIES, PR_MODE_TCP, LW_BYTES, NULL }, /* retries */ ^ src/log.c:123: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] { "rt", LOG_FMT_COUNTER, PR_MODE_TCP, LW_REQ, NULL }, /* request counter (HTTP or TCP session) */ ^ src/log.c:123: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] { "s", LOG_FMT_SERVER, PR_MODE_TCP, LW_SVID, NULL }, /* server */ ^ src/log.c:123: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] { "sc", LOG_FMT_SRVCONN, PR_MODE_TCP, LW_BYTES, NULL }, /* srv_conn */ ^ src/log.c:123: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] { "si", LOG_FMT_SERVERIP, PR_MODE_TCP, LW_SVIP, NULL }, /* server destination ip */ ^ src/log.c:123: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] { "sp", LOG_FMT_SERVERPORT, PR_MODE_TCP, LW_SVIP, NULL }, /* server destination port */ ^ src/log.c:123: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] { "sq", LOG_FMT_SRVQUEUE, PR_MODE_TCP, LW_BYTES, NULL }, /* srv_queue */ ^ src/log.c:123: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] { "sslc", LOG_FMT_SSL_CIPHER, PR_MODE_TCP, LW_XPRT, NULL }, /* client-side SSL ciphers */ ^ src/log.c:123: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] { "sslv", LOG_FMT_SSL_VERSION, PR_MODE_TCP, LW_XPRT, NULL }, /* client-side SSL protocol version */ ^ src/log.c:123: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] { "t", LOG_FMT_DATE, PR_MODE_TCP, LW_INIT, NULL }, /* date */ ^ src/log.c:123: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] { "tr", LOG_FMT_tr, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request */ ^ src/log.c:123: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] { "trg",LOG_FMT_trg, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request, GMT */ ^ src/log.c:123: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] { "trl",LOG_FMT_trl, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request, local */ ^ src/log.c:123: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] { "ts", LOG_FMT_TERMSTATE, PR_MODE_TCP, LW_BYTES, NULL },/* termination state */ ^ src/log.c:123: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] { "tsc", LOG_FMT_TERMSTATE_CK, PR_MODE_TCP, LW_INIT, NULL },/* termination state */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:207:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { 0, 0, 0, 0, NULL } ^ src/log.c:123: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:304: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:378: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 && ^~ 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:78: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 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:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/log.c: In function 'lf_ip': src/log.c:1324: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:1348: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:1599: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:1630: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/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:972: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:972: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:986: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/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/cli.c: In function 'alloc_stats_fe': src/cli.c:197:49: warning: unused parameter 'name' [-Wunused-parameter] static struct proxy *alloc_stats_fe(const char *name, const char *file, int line) ~~~~~~~~~~~~^~~~ 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:1031: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/cli.c: In function 'stats_parse_global': src/cli.c:230:48: warning: unused parameter 'section_type' [-Wunused-parameter] static int stats_parse_global(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/cli.c:230:76: warning: unused parameter 'curpx' [-Wunused-parameter] static int stats_parse_global(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/cli.c:231: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:449:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("cli", cli_socket_setenv); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/log.c: In function 'sess_build_logline': src/log.c:2374: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:2377: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, ^~ src/cli.c: In function 'cli_io_handler_show_activity': src/cli.c:1089: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:1121:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "loops:"); SHOW_TOT(thr, activity[thr].loops); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1121:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "loops:"); SHOW_TOT(thr, activity[thr].loops); ^~~~~~~~ src/cli.c:1089: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:1122:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_cache:"); SHOW_TOT(thr, activity[thr].wake_cache); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1122:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_cache:"); SHOW_TOT(thr, activity[thr].wake_cache); ^~~~~~~~ src/cli.c:1089: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:1123:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_tasks:"); SHOW_TOT(thr, activity[thr].wake_tasks); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1123:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_tasks:"); SHOW_TOT(thr, activity[thr].wake_tasks); ^~~~~~~~ src/cli.c:1089: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:1124:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_signal:"); SHOW_TOT(thr, activity[thr].wake_signal); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1124:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_signal:"); SHOW_TOT(thr, activity[thr].wake_signal); ^~~~~~~~ src/cli.c:1089: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:1125:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_exp:"); SHOW_TOT(thr, activity[thr].poll_exp); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1125:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_exp:"); SHOW_TOT(thr, activity[thr].poll_exp); ^~~~~~~~ src/cli.c:1089: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:1126:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_drop:"); SHOW_TOT(thr, activity[thr].poll_drop); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1126:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_drop:"); SHOW_TOT(thr, activity[thr].poll_drop); ^~~~~~~~ src/cli.c:1089: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:1127:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_dead:"); SHOW_TOT(thr, activity[thr].poll_dead); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1127:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_dead:"); SHOW_TOT(thr, activity[thr].poll_dead); ^~~~~~~~ src/cli.c:1089: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:1128:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_skip:"); SHOW_TOT(thr, activity[thr].poll_skip); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1128:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_skip:"); SHOW_TOT(thr, activity[thr].poll_skip); ^~~~~~~~ src/cli.c:1089: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:1129:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "fd_lock:"); SHOW_TOT(thr, activity[thr].fd_lock); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1129:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "fd_lock:"); SHOW_TOT(thr, activity[thr].fd_lock); ^~~~~~~~ src/cli.c:1089: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:1130:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "conn_dead:"); SHOW_TOT(thr, activity[thr].conn_dead); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1130:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "conn_dead:"); SHOW_TOT(thr, activity[thr].conn_dead); ^~~~~~~~ src/cli.c:1089: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:1131:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "stream:"); SHOW_TOT(thr, activity[thr].stream); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1131:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "stream:"); SHOW_TOT(thr, activity[thr].stream); ^~~~~~~~ src/cli.c:1089: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:1132:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "pool_fail:"); SHOW_TOT(thr, activity[thr].pool_fail); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1132:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "pool_fail:"); SHOW_TOT(thr, activity[thr].pool_fail); ^~~~~~~~ src/cli.c:1089: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:1133:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "buf_wait:"); SHOW_TOT(thr, activity[thr].buf_wait); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1133:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "buf_wait:"); SHOW_TOT(thr, activity[thr].buf_wait); ^~~~~~~~ src/cli.c:1089: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:1134:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "empty_rq:"); SHOW_TOT(thr, activity[thr].empty_rq); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1134:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "empty_rq:"); SHOW_TOT(thr, activity[thr].empty_rq); ^~~~~~~~ src/cli.c:1089: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:1135:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "long_rq:"); SHOW_TOT(thr, activity[thr].long_rq); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1135:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "long_rq:"); SHOW_TOT(thr, activity[thr].long_rq); ^~~~~~~~ src/cli.c:1089: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:1136:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "ctxsw:"); SHOW_TOT(thr, activity[thr].ctxsw); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1136:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "ctxsw:"); SHOW_TOT(thr, activity[thr].ctxsw); ^~~~~~~~ src/cli.c:1089: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:1137:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "tasksw:"); SHOW_TOT(thr, activity[thr].tasksw); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1137:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "tasksw:"); SHOW_TOT(thr, activity[thr].tasksw); ^~~~~~~~ src/cli.c:1089: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:1138: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:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1138: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:1089: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:1139: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:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1139: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:1089: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:1140: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:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1140: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:1107: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:1141: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:1114:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1141: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:1089: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:1142:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accepted:"); SHOW_TOT(thr, activity[thr].accepted); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1142:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accepted:"); SHOW_TOT(thr, activity[thr].accepted); ^~~~~~~~ src/cli.c:1089: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:1143:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_pushed:"); SHOW_TOT(thr, activity[thr].accq_pushed); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1143:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_pushed:"); SHOW_TOT(thr, activity[thr].accq_pushed); ^~~~~~~~ src/cli.c:1089: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:1144:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_full:"); SHOW_TOT(thr, activity[thr].accq_full); ^~~~~~~~ src/cli.c:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1144:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_full:"); SHOW_TOT(thr, activity[thr].accq_full); ^~~~~~~~ src/cli.c:1089: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:1146: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:1096:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1146: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/log.c: At top level: src/log.c:3011:4: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] NULL, cli_io_handler_show_startup_logs }, ^~~~ In file included from src/log.c:33: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/log.c:3012: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:29: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:3015: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:3017: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:3018:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(deinit_log_buffers); ^~~~~~~~~~~~~~~~~~~~~~~~ src/cli.c: In function 'cli_io_handler_show_cli_sock': src/cli.c:1243: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:1274: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:1274: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:1308: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:1308: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:1323: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:1323: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:1360: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:1360: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:1413: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:1413: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:1426: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:1426: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:1426: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:1445: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:1445: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_default': src/cli.c:1469:30: warning: unused parameter 'args' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/cli.c:1469:42: warning: unused parameter 'payload' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1469:66: warning: unused parameter 'appctx' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~~~~~~~~~^~~~~~ src/cli.c:1469: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:1475: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:1475: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:1535: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:1553: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:1578: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:1597:29: warning: unused parameter 'args' [-Wunused-parameter] static int _getsocks(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/cli.c:1597:41: warning: unused parameter 'payload' [-Wunused-parameter] static int _getsocks(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1597: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:1782:48: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_simple(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1782:86: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_simple(char **args, char *payload, struct appctx *appctx, 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/cli.c: In function 'pcli_wait_for_request': src/cli.c:2118: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:2213: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:2689: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 src/cli.c:44: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2690: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 src/cli.c:44: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2691: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 src/cli.c:44: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2692: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 src/cli.c:44: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2693: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 src/cli.c:44: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2694: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 src/cli.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2695: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 src/cli.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2696: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 src/cli.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2699: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 src/cli.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2700: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 src/cli.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2703:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "_getsocks", NULL }, NULL, _getsocks, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2704:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/cli.c:44: include/types/cli.h:29: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:2707: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:2714: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:2723: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:1186:16: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st2 = STAT_ST_LIST; ~~~~~~~~~~~~^~~~~~~~~~~~~~ src/cli.c:1188:3: note: here case STAT_ST_LIST: ^~~~ src/cli.c:1189:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (global.stats_fe) { ^ src/cli.c:1263:3: note: here default: ^~~~~~~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/proxy.c:39: 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:259: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 include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/pattern.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/proto/applet.h:30, from src/proxy.c:39: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/filters.h:30, from src/proxy.c:43: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/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 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:48: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/proxy.c: At top level: src/proxy.c:115:2: warning: missing initializer for field 'mode' of 'const struct cfg_opt' [-Wmissing-field-initializers] { NULL, 0, 0, 0 } ^ In file included from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/types/proxy.h:552:15: note: 'mode' declared here unsigned int mode; ^~~~ 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/proxy.c: In function 'proxy_parse_timeout': src/proxy.c:198:49: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_timeout(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/proxy.c:199:65: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:199: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:327:52: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_rate_limit(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/proxy.c:328:68: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:328: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:382:54: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_max_ka_queue(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/proxy.c:383:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/proxy.c:383:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:383: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:421:49: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_declare(char **args, int section, struct proxy *curpx, ~~~~^~~~~~~ src/proxy.c:422:65: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:422:75: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ 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:164: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/proxy.c: In function 'proxy_parse_retry_on': src/proxy.c:516:39: warning: unused parameter 'section' [-Wunused-parameter] proxy_parse_retry_on(char **args, int section, struct proxy *curpx, ~~~~^~~~~~~ src/proxy.c:517:46: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ 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) ^ src/proxy.c:517:65: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:517:75: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ 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/proxy.c: In function 'manage_proxy': src/proxy.c:976: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:1058: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:1058: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:1059:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/proxy.c:1059:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:1059: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:1086:46: warning: unused parameter 'context' [-Wunused-parameter] struct task *hard_stop(struct task *t, void *context, unsigned short state) ~~~~~~^~~~~~~ src/proxy.c:1086:70: warning: unused parameter 'state' [-Wunused-parameter] struct task *hard_stop(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from src/backend.c:51: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ 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:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/proxy.c: In function 'proxy_capture_error': src/proxy.c:1572: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:1710: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:1767: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:1767:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_servers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from include/common/buffer.h:30, from src/stream_interface.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/proxy.c: In function 'cli_parse_enable_dyncookie_backend': src/proxy.c:1944: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:1944:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/backend.c:59: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/proxy.c: In function 'cli_parse_disable_dyncookie_backend': src/proxy.c:1976: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:1976: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:2011: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:2011: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:2060: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:2060:100: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_maxconn_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from include/common/buffer.h:32, from src/stream_interface.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ src/proxy.c: In function 'cli_parse_shutdown_frontend': src/proxy.c:2111:59: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ 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/proxy.c:2111: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:2142: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:2142:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_enable_frontend': src/proxy.c:2185:57: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2185:95: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_show_errors': src/proxy.c:2227:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_errors(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2227:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_errors(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'get_server_sh': src/backend.c:180: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 'get_server_ph_post': src/backend.c:340:11: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if (len > b_wrap(&req->buf) - p) ^ src/proxy.c: In function 'cli_io_handler_show_errors': src/proxy.c:2394:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] while (appctx->ctx.errors.ptr < es->buf_len && appctx->ctx.errors.ptr < global.tune.bufsize) { ^ src/proxy.c: At top level: src/proxy.c:2430: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2431: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2432: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2433: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2434: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2435: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2436: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2437: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2438: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2439: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2440: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:29: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:2443:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/backend.c: In function 'assign_server_and_queue': src/backend.c:1032:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (srv->nbpend || srv->served >= srv_dynamic_maxconn(srv))) { ^~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/stream_interface.c:22: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/stream_interface.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/backend.c: In function 'connect_server': src/backend.c:1356:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (i == tid) ^~ 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/backend.c:1648:23: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] rewind = s->txn ? http_hdr_rewind(&s->txn->req) : co_data(&s->req); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/stream_interface.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/backend.c: In function 'smp_fetch_nbsrv': src/backend.c:2082: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:2082: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:2101: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:2101:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_is_up(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_connslots': src/backend.c:2120: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:2120: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:2147: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:2147: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:2147: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:2160: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:2160: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:2160: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:2178:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_srv_id(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/pattern.c:22: include/proto/queue.h: In function 'server_has_room': src/backend.c:2178:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_id(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); ^ 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:2178: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_be_sess_rate': src/backend.c:2197: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:2197: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:2210: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:2210: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:2251:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (maxconn > iterator->cur_sess) ^ src/backend.c:2224: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:2224: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:2263: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:2263: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:2280: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:2280: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:2304: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:2304: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:2331: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:2317: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:2317: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:2344: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:2344: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:2357: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:2357: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:2365:48: warning: unused parameter 'args' [-Wunused-parameter] static int sample_conv_nbsrv(const struct arg *args, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2365:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_nbsrv(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/backend.c: At top level: src/backend.c:2388: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:2389: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:2390: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:2391: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:2392: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:2393: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:2394: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:2395: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:2396: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:2397: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:2398: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:2399: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:2400: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:2401: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:2402: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:183, 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:2406:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ src/backend.c:2410: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 */ ^~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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:2414: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:2423:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ CC src/proto_tcp.o In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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 (*)(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/pattern.c:158:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(pat_lru_tree_lock); ^~~~~~~~~~~~~~~ src/pattern.c: In function 'pat_parse_nothing': src/pattern.c:207:35: warning: unused parameter 'text' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~~~~~~^~~~ src/pattern.c:207:57: warning: unused parameter 'pattern' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~~~~~~~~~~^~~~~~~ src/pattern.c:207:70: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:207:85: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/pattern.c: In function 'pat_parse_str': src/pattern.c:213:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_str(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:213:81: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_str(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/pattern.c: In function 'pat_parse_bin': src/pattern.c:222:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_bin(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c: In function 'pat_parse_reg': src/pattern.c:234:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_reg(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:234:81: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_reg(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/pattern.c: In function 'pat_parse_int': src/pattern.c:255:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_int(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c: In function 'pat_parse_dotted_ver': src/pattern.c:340:73: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_dotted_ver(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c: In function 'pat_match_nothing': src/pattern.c:435:76: warning: unused parameter 'expr' [-Wunused-parameter] struct pattern *pat_match_nothing(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~~~~~~~~~~~~~~~~~~^~~~ src/pattern.c: In function 'pat_match_str': src/pattern.c:507: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:553: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:527: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:574: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:597: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:693: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) ^ CC src/listener.o src/pattern.c: In function 'pat_match_end': src/pattern.c:741: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:714: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:793: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:764: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:851: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:886: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:903: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:917:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_int(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ In file included from include/common/standard.h:36, from src/proto_tcp.c:41: include/common/chunk.h: In function 'chunk_initlen': src/pattern.c: In function 'pat_match_len': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/pattern.c:932: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/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, 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:38, from src/proto_tcp.c:41: 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/pattern.c: In function 'pat_ref_push': src/pattern.c:1952:22: warning: unused parameter 'patflags' [-Wunused-parameter] int patflags, char **err) ~~~~^~~~~~~~ In file included from src/proto_tcp.c:41: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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.h:27, from include/types/proxy.h:32, from include/types/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:44: 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/sample.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ CC src/h1.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/global.h:33, from src/sample.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/stream_interface.c:30: 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/pattern.c: In function 'pattern_exec_match': src/pattern.c:2596: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:2597:6: note: here case SMP_T_IPV4: ^~~~ src/pattern.c:2600:7: warning: this statement may fall through [-Wimplicit-fallthrough=] memcpy(&static_sample_data, pat->data, sizeof(struct sample_data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pattern.c:2601:6: note: here default: ^~~~~~~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/stream_interface.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:259: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/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:78: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/sample.c:31: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/buffer.h:32, 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/proto/applet.h:30, from src/stream_interface.c:30: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/channel.h:32, from src/stream_interface.c:31: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ CC src/cfgparse-global.o include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/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/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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:1031: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/h1.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/stream_interface.c: In function 'si_cs_io_cb': src/stream_interface.c:790: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:790:68: warning: unused parameter 'state' [-Wunused-parameter] struct task *si_cs_io_cb(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from include/common/h1.h:25, from src/h1.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/h1.c:18: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/stream_interface.c: In function 'si_cs_recv': src/stream_interface.c:1444: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:1463: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)) { ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/sample.c:33: include/proto/protocol_buffers.h: In function 'protobuf_skip_varint': include/proto/protocol_buffers.h:211:63: warning: unused parameter 'vlen' [-Wunused-parameter] protobuf_skip_varint(unsigned char **pos, size_t *len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_smp_store_varint': include/proto/protocol_buffers.h:280:70: warning: unused parameter 'vlen' [-Wunused-parameter] unsigned char *pos, size_t len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_skip_64bit': include/proto/protocol_buffers.h:334:66: warning: unused parameter 'vlen' [-Wunused-parameter] int protobuf_skip_64bit(unsigned char **pos, size_t *len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_smp_store_64bit': include/proto/protocol_buffers.h:352:69: warning: unused parameter 'vlen' [-Wunused-parameter] unsigned char *pos, size_t len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_skip_32bit': include/proto/protocol_buffers.h:425:66: warning: unused parameter 'vlen' [-Wunused-parameter] int protobuf_skip_32bit(unsigned char **pos, size_t *len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_smp_store_32bit': include/proto/protocol_buffers.h:443:69: warning: unused parameter 'vlen' [-Wunused-parameter] unsigned char *pos, size_t len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_field_lookup': include/proto/protocol_buffers.h:504:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (field < fid_sz) { ^ include/proto/protocol_buffers.h:553:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (found && field == fid_sz - 1) ^~ src/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/sample.c: In function 'c_bin2str': src/sample.c:617:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c: In function 'c_none': src/sample.c:702:27: warning: unused parameter 'smp' [-Wunused-parameter] int c_none(struct sample *smp) ~~~~~~~~~~~~~~~^~~ src/sample.c: In function 'sample_conv_base642bin': src/sample.c:1482:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_base642bin(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1482:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_base642bin(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_bin2base64': src/sample.c:1500:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_bin2base64(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1500:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bin2base64(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_sha1': src/sample.c:1518:47: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_sha1(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1518:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_sha1(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_bin2hex': src/sample.c:1543:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (ptr < smp->data.u.str.data && trash->data <= trash->size - 2) { ^ src/stream_interface.c: In function 'stream_int_shutw_applet': src/stream_interface.c:1682:13: warning: this statement may fall through [-Wimplicit-fallthrough=] si->state = SI_ST_DIS; ~~~~~~~~~~^~~~~~~~~~~ src/stream_interface.c:1683:2: note: here default: ^~~~~~~ src/sample.c:1536: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:1536:83: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bin2hex(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_hex2int': src/sample.c:1559:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1554:50: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_hex2int(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1554:83: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_hex2int(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_djb2': src/sample.c:1572:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_djb2(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_length': src/sample.c:1582:49: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_length(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1582:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_length(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_str2lower': src/sample.c:1598:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1591:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_str2lower(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1591:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_str2lower(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_str2upper': src/sample.c:1612:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1605: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:1605:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_str2upper(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_ipmask': src/sample.c:1620:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ipmask(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_ltime': src/sample.c:1648:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ltime(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_sdbm': src/sample.c:1671:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_sdbm(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_utime': src/sample.c:1685:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_utime(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_wt6': src/sample.c:1708:79: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_wt6(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_xxh32': src/sample.c:1721:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_xxh32(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_xxh64': src/sample.c:1741:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_xxh64(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_crc32': src/sample.c:1756:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_crc32(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_crc32c': src/sample.c:1767:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_crc32c(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_json_check': src/sample.c:1794:72: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_json_check(struct arg *arg, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:1795:47: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:1795:57: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ CC src/cache.o src/sample.c: In function 'sample_conv_json': src/sample.c:1848:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_json(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_bytes': src/sample.c:1964:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bytes(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_field_check': src/sample.c:1982:74: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_field_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:1983:47: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:1983:57: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_field': src/sample.c:2035: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:2054: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:2055: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:2021: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:2115: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:2143: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:2145: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:2099: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:2195:75: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_regsub_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2196:49: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2196: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:2273: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:2232: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:2305:65: warning: unused parameter 'conv' [-Wunused-parameter] static int check_operator(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2306:39: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2306: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:2357: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:2357: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:2366: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:2380: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:2394: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:2434: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:2449:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_mul': src/sample.c:2481:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_div': src/sample.c:2526:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_mod': src/sample.c:2554:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_neg': src/sample.c:2580:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_neg(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2581:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_bool': src/sample.c:2593:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_bool(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2594:61: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_not': src/sample.c:2604:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_not(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2605:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_odd': src/sample.c:2615:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_odd(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2616:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_even': src/sample.c:2626:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_even(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2627:61: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_concat': src/sample.c:2653: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:2671: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:2684: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) ^ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/sample.c:2637: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:2701:67: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_concat(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2702:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2702: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:2716: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:2757: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:2785: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:2796:77: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_protobuf_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2797:51: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2797: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:2822:67: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_strcmp(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2823:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2823:50: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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) ~~~~~~~^~~~~ src/sample.c: In function 'smp_fetch_true': src/sample.c:2840: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:2840: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:2840: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:2852: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:2852: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:2852: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:2861: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:2861:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_env(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_date': src/sample.c:2883: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:2883: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:2898: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:2898: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:2898: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:2909: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:2909: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:2909: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:2920: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:2920: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:2920: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:2929:34: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ 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/proto/log.h:34, 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/sample.c:2929: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:2929: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:2938: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:2938: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:2938: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:2949: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:2949: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:2964: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:2964: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:2964: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:2973: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:2973: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:2973: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': 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/sample.c:2982:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_cpu_ns_avg(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/applet.h:28, from include/types/action.h:27, from src/proto_tcp.c:44: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ src/sample.c:2982:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_cpu_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/sample.c:2982: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:2991: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:2991: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:2991: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:3000: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:3000: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:3000: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:3009: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:3009: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:3009: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:3016: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:3016: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:3043: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:3043: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:3050: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:3050: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': 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:44: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/sample.c:3057: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:3057: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:3064: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:3064: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:3084: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:3084: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': 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/time.h: In function 'tv_leaving_poll': src/sample.c:3108: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++) { ^ include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/sample.c: In function 'smp_fetch_const_meth': src/sample.c:3118: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:3118: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: At top level: src/sample.c:3141: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:3142: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:3143: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:3144:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "date", smp_fetch_date, 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:3145: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:3146: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:3147: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:3148: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:3149: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:3150: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:3151: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/checks.h:21, from include/types/server.h:44, 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/listener.c:22: include/common/buffer.h: In function 'b_alloc_margin': In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/common/buffer.h:164: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/sample.c:3152: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:3154: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:3155: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:3156: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:3157: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:3158: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:3160: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:3161: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:3162: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:3163: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:3164: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:3165: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:3166: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:3171:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ In file included from include/proto/channel.h:32, from src/proto_tcp.c:50: include/common/htx.h: In function 'htx_get_head': src/sample.c:3179: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 }, ^ include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ In file included from include/types/vars.h:7, from include/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:3180: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 }, ^ include/common/htx.h: In function 'htx_get_tail': In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ src/sample.c:3181: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:3182:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "lower", sample_conv_str2lower, 0, NULL, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/sample.c:3183: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:3184: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:3185: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:3186: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:3187: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:3188: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:3189: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:3190: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 }, ^ include/common/htx.h: In function 'htx_get_max_blksz': In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ include/common/htx.h:693:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/sample.c:3191: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:3192: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:3193: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:3194: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:3195: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:3196: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:3197: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:3198: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:3199: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:3200: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:3201: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:3202: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:3203: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:3206: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:3207: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:3209: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:3210: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:3211: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:3212: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:3213: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:3214: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:3215: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:3216: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:3217: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:3218: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:3219: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:3220: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:3221: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:3222: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:3224: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:3227: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 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))); ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/proto_tcp.c:50: 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/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:259: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/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:78: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_tcp.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/listener.c:34: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/http.h:27, from include/types/proxy.h:32, 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/proto/session.h:35, from include/proto/connection.h:32, from src/proto_tcp.c:51: 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/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)) ^ include/proto/server.h:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/listener.c: In function 'accept_queue_process': src/listener.c:155:88: warning: unused parameter 'state' [-Wunused-parameter] static struct task *accept_queue_process(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from include/common/cfgparse.h:27, from src/listener.c:22: src/listener.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:152:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, cfg_register_postparser, (name), (parser)) ^~~~~~~~~ src/listener.c:222:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("multi-threaded accept queue", accept_queue_init); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/h1.c:18: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/proto_tcp.c:51: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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 '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) ^ src/listener.c:730:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (l->maxconn && count >= l->maxconn) { ^~ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/listener.c:22: src/listener.c:758:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (unlikely(next_feconn == p->maxconn)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/listener.c:767:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (count >= global.maxconn) { ^~ In file included from src/proto_tcp.c:58: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: 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:94:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, protocol_register, &proto_tcpv4); ^~~~~~~~~ src/listener.c: In function 'listener_queue_process': src/listener.c:1102:90: warning: unused parameter 'state' [-Wunused-parameter] static struct task *listener_queue_process(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ 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:119:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, protocol_register, &proto_tcpv6); ^~~~~~~~~ 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:1130: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:320:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_deinit, (fct)) ^~~~~~~~~ src/listener.c:1131: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:1204: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:1204: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:1204: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:1213: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:1213: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:1213: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:1221: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:1221: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:1221: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:1221: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:1232:84: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_accept_netscaler_cip(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_backlog': src/listener.c:1257:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_backlog(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_maxconn': src/listener.c:1323:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_maxconn(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_name': src/listener.c:1346: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:1362: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:1385: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:1412: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:1431: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:1431: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:1432:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/listener.c:1432:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/listener.c:1432:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/listener.c: At top level: src/listener.c:1453: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:1454: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:1458: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:1467:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ 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/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:1489:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_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) ^ 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:1497:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_src': src/proto_tcp.c:1182: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:1214: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:1246: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:1278: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': 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/proto_tcp.c:1304: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/h1.c:52: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/proto_tcp.c:1304: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:1304: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/h1.c:73: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) ^~ src/proto_tcp.c: In function 'tcp_parse_silent_drop': src/proto_tcp.c:1418: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:1418: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:1418: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:1419: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:1432: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:1432: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:1432:85: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_src(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_sport': src/proto_tcp.c:1458: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:1458: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:1458: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:1475: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:1475: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:1475: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:1504: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:1504: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:1504: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:1525:46: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_src_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1525: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:1525: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:1545: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:1545: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:1545: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 'smp_fetch_fc_rtt': src/proto_tcp.c:1640: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:1640:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_rtt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_rttvar': src/proto_tcp.c:1649: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:1649: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:1660: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:1660: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:1669: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:1669:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_sacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_lost': src/proto_tcp.c:1678: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:1678: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:1687: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:1687: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:1696: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:1696: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:1705: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:1705: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:1716: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:1716: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:1716: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:1716: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:1729: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:1729: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:1729: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:1729: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:1744: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:1744: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:1744: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:1744:110: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_defer_accept': src/proto_tcp.c:1759: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:1759: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:1759: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:1759: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:1774: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:1774: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:1774: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:1774: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:1789:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_mss(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: In function 'bind_parse_tcp_ut': src/proto_tcp.c:1816:70: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tcp_ut(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: In function 'bind_parse_interface': src/proto_tcp.c:1854: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:1902: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:1942: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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1943: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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1944: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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1945: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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1946: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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1947: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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1949:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rtt", smp_fetch_fc_rtt, ARG1(0,STR), 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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1950:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rttvar", smp_fetch_fc_rttvar, ARG1(0,STR), 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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1952:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_unacked", smp_fetch_fc_unacked, ARG1(0,STR), 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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1953:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_sacked", smp_fetch_fc_sacked, ARG1(0,STR), 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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1954:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_retrans", smp_fetch_fc_retrans, ARG1(0,STR), 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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1955:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_fackets", smp_fetch_fc_fackets, ARG1(0,STR), 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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1956:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_lost", smp_fetch_fc_lost, ARG1(0,STR), 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:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1957:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_reordering", smp_fetch_fc_reordering, ARG1(0,STR), 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:44: 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:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: 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:1963:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2012:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ src/proto_tcp.c:2018: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:44: include/types/server.h:359: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:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: 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:2021:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ src/proto_tcp.c:2024: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2025: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2026: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2027: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2028: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: 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:2032:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_conn_keywords_register, &tcp_req_conn_actions); ^~~~~~~~~ src/proto_tcp.c:2035: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2036: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2037: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2038: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2039: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: 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:2043:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_sess_keywords_register, &tcp_req_sess_actions); ^~~~~~~~~ src/proto_tcp.c:2046: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2047: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2048: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: 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:2052:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_cont_actions); ^~~~~~~~~ src/proto_tcp.c:2055: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: 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:2059:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_cont_actions); ^~~~~~~~~ src/proto_tcp.c:2062: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2063: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2064: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2065: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2066: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: 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:2070:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ src/proto_tcp.c:2073: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:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: 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:2077:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(const char *, int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:312:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, hap_register_build_opts, (str), 0) ^~~~~~~~~ src/proto_tcp.c:2079:1: note: in expansion of macro 'REGISTER_BUILD_OPTS' REGISTER_BUILD_OPTS("Built with transparent proxy support using:" ^~~~~~~~~~~~~~~~~~~ CC src/http_rules.o 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/proto/log.h:34, 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/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/proto/log.h:34, 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:1031: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_act.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/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, 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:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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) ~~~~~~~^~~~~ CC src/tcp_rules.o src/cfgparse-global.c: In function 'cfg_parse_global': src/cfgparse-global.c:526:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (global.nbproc < 1 || global.nbproc > MAX_PROCS) { ^ src/cfgparse-global.c:1156:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (!delim || delim - *env >= trash.size) { ^~ CC src/connection.o CC src/filters.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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/session.o In file included from src/http_act.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from src/http_act.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 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/buffer.h:30, from src/filters.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/buffer.h:32, 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/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/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:78: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 include/types/action.h:27, from src/cache.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from src/http_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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CC src/acl.o 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:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/http_act.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/connection.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h: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/buffer.h:30, from src/session.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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 src/cache.c:16: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/filters.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/buffer.h:32, 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/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/filters.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/session.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/proto/channel.h:32, from src/cache.c:22: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/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:1031: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/session.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/session.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/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/proto/log.h:34, 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:1031: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/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, 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:164: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/cache.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/standard.h:36, from src/acl.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/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/proto/channel.h:32, from include/proto/proto_http.h:29, from src/http_rules.c:36: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ In file included from src/acl.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ 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) ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/proto_http.h:29, from src/http_rules.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 src/http_rules.c:36: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from src/cache.c:29: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/cache.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:259: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/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/cache.c:32: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/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:164: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/cache.c:33: 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:183, 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:99: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:116: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:139: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:146: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:219: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:243: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:272: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_forward_data': src/cache.c:444:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] else if (st->hdrs_len >= len) { ^~ src/cache.c:487:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((ret != len) || ^~ src/cache.c: In function 'cache_store_http_end': src/cache.c:495:37: warning: unused parameter 's' [-Wunused-parameter] cache_store_http_end(struct stream *s, struct filter *filter, ~~~~~~~~~~~~~~~^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/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: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/proto/log.h:34, 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/cache.c: In function 'http_action_store_cache': src/cache.c:671:78: warning: unused parameter 'px' [-Wunused-parameter] enum act_return http_action_store_cache(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/cache.c:672:22: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/cache.c:672: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:926: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:974:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'short int' [-Wsign-compare] if (blksz || offset == shctx->block_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/proto/log.h:34, 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:1031: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/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:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/cache.c: In function 'http_action_req_cache_use': src/cache.c:1416:58: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/cache.c:1416: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:1493: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:1702:45: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, 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/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); ^ src/cache.c: In function 'cli_parse_show_cache': include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/cache.c:1773: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:1773: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:1773: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 src/connection.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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/common/hathreads.h:32, from include/common/mini-clist.h:183, 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/proto/connection.h:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ 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:1843:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &filter_kws); ^~~~~~~~~ src/cache.c:1846: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:34:6: note: 'level' declared here int level; /* this is the level needed to show the keyword usage and to use it */ ^~~~~ src/cache.c:1847: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:29: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:183, 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:1850:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/cache.c:1854: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/cache.c:1855: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ 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_head': In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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:1859:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ src/cache.c:1863: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ include/common/htx.h: In function 'htx_get_tail': src/cache.c:1864:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ In file included from src/cache.c:16: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ 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/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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:1868:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ 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:1878: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 '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/cache.c:1879:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("cache", cfg_cache_postparser); ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, 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:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream_interface.h:32, from src/connection.c:26: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/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 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)); ^~~~~~~~~~~~ src/connection.c: In function 'conn_unsubscribe': src/connection.c:241: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:263: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:569: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:607: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:657: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:858: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:1190: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:1281: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:1288: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:1297: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:1306:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv_ssl)) ^ 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:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/connection.c: In function 'smp_fetch_fc_http_major': In file included from src/filters.c:19: include/common/htx.h: In function 'htx_get_head': src/connection.c:1380:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fc_http_major(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ src/connection.c:1380:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_http_major(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ src/connection.c: In function 'smp_fetch_fc_rcvd_proxy': src/connection.c:1391: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:1391: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) ~~~~~~~~~~~~^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/connection.c:1391: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: At top level: src/connection.c:1417: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:1418: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:1419: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_*) */ ^~~ 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:1423:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/filters.c:29: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/session.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ CC src/vars.o In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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/filters.c:32: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, 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:259: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/tcp_rules.c:12: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/applet.h:30, from include/proto/stream_interface.h:31, from src/filters.c:34: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:183, 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:37: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:177:31: warning: unused parameter 'section_type' [-Wunused-parameter] parse_filter(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ 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_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/filters.c: In function 'flt_end_analyze': src/filters.c:958: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:183, 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:1257: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:316:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/filters.c:1259: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:1260: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:1261:1: note: in expansion of macro 'REGISTER_PER_THREAD_DEINIT' REGISTER_PER_THREAD_DEINIT(flt_deinit_all_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/http_act.c:36: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from src/tcp_rules.c:29: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/tcp_rules.c:29: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/proto_http.h:29, from src/http_act.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/http_act.c:37: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, 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:259: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/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:259: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/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/applet.h:30, from include/proto/stream_interface.h:31, from src/http_act.c:38: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ 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:140:64: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:140:92: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ src/http_act.c: In function 'action_http_set_status': src/http_act.c:220: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:221:63: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:221:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ 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/http_act.c: In function 'parse_http_set_status': src/http_act.c:232: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:274: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:274: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:275: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:300: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:300: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:300: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:301: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:314: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:314: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:315:59: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:315: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:331: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:332:15: warning: unused parameter 'orig_args' [-Wunused-parameter] int *orig_args, struct proxy *px, ~~~~~^~~~~~~~~ src/http_act.c:332:40: warning: unused parameter 'px' [-Wunused-parameter] int *orig_args, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:333: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:345: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:346:92: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ In file included from src/tcp_rules.c:30: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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/http_act.c: In function 'http_action_req_capture_by_id': src/http_act.c:377: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:378:98: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ include/proto/connection.h:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/http_act.c: In function 'http_action_res_capture_by_id': src/http_act.c:559: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:560:98: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: At top level: src/http_act.c:696: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:697: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:698: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:699: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:700: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:183: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] { "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:183: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] { "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:183: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] { "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:183: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] { NULL, NULL } ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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:708:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ src/http_act.c:712: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:713: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:714: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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:718:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/acl.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) ~~~~~~~^~~~~ CC src/raw_sock.o src/tcp_rules.c: In function 'tcp_parse_response_rule': src/tcp_rules.c:585: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:588:49: warning: unused parameter 'where' [-Wunused-parameter] unsigned int where, ~~~~~~~~~~~~~^~~~~ 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/tcp_rules.c: In function 'tcp_parse_request_rule': src/tcp_rules.c:648: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/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:164: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/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:1222:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ CC src/map.o In file included from include/proto/channel.h:32, from src/acl.c:28: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/proto_uxst.o CC src/payload.o 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:78: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/acl.c:28: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/standard.h:38, from src/map.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/map.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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.h:27, from include/types/proxy.h:32, from include/types/applet.h:28, from src/map.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/fd.o 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:78: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/buffer.h:30, from src/raw_sock.c:25: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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: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/buffer.h:32, 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/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/proto_uxst.c:35: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/proto_uxst.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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: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:78: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/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 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:1357:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ 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:1031: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/acl.c: In function 'parse_acl_expr': src/acl.c:642:11: warning: this statement may fall through [-Wimplicit-fallthrough=] value++; /* gt = ge + 1 */ ~~~~~^~ src/acl.c:644:5: note: here case STD_OP_GE: ^~~~ src/acl.c:654:11: warning: this statement may fall through [-Wimplicit-fallthrough=] value--; /* lt = le - 1 */ ~~~~~^~ src/acl.c:656:5: note: here case STD_OP_LE: ^~~~ 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/net_helper.h:31, from src/payload.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/net_helper.h:31, from src/payload.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/fd.c:162: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/proto/log.h:34, 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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/htx.h:28, from src/payload.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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ CC src/queue.o In file included from src/payload.c:18: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/types/global.h:30, from src/fd.c:162: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/fd.c:162: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/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/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/time.h:31, from src/queue.c:75: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/proto_http.h:29, from src/vars.c:12: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/proto_http.h:29, from src/vars.c:12: 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/vars.c:12: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ 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)); ^~~~~~~~~~~~~~~~~~~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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/time.h:31, from src/queue.c:75: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/proto_uxst.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) ~~~~~~~^~~~~ 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) ~~~~~~^~~~~~~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/map.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))); ^ 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 src/queue.c:75: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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) ~~~~^~~~ 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:184: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:184: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:184: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:184: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:184: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:184: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:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, 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/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/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:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:876:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ 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/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:184: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:184: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/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/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:895:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ In file included from include/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:164: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 In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/map.c:26: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:259: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_uxst.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/applet.h:30, from src/map.c:26: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/map.c:32: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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 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:259: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:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/map.c: In function 'cli_parse_get_map': src/map.c:591:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_get_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:591:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_get_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_show_map': In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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: src/map.c:658: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:658:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ 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) ~~~~^~~~ src/map.c: In function 'cli_parse_set_map': src/map.c:698: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:698:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proto_uxst.c: In function 'bind_parse_mode': src/proto_uxst.c:635: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:650: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/map.c: In function 'cli_parse_add_map': src/map.c:812:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_add_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proto_uxst.c: In function 'bind_parse_group': src/proto_uxst.c:662: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:682: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) ~~~~~~~~~~~~~~^~ src/proto_uxst.c: In function 'bind_parse_user': src/proto_uxst.c:694: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:183, 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:729:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ src/map.c: In function 'cli_parse_del_map': src/map.c:948: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:948:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_del_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_clear_map': src/map.c:1044: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:1044: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:1098: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1099: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1100: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1101: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/map.c:1102: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1103: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1104: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1105: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1106: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/map.c:1107: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1108: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1109: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:32: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:1112: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:1166:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ CC src/task.o 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:164: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/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/fd.c:162: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/payload.c:21: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/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/htx.h:28, from src/flt_trace.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/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:162: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:162: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/flt_trace.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/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) ^ 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:78: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:259: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/payload.c:25: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ 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) ~~~~~~^~~~~~~ In file included from src/raw_sock.c:33: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ 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) ~~~~~~^~~~~~~ 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/channel.h:32, from include/proto/stream_interface.h:32, from src/raw_sock.c:39: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ src/payload.c: In function 'smp_fetch_ssl_hello_alpn': include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ 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) ~~~~~~~~~~~~^~ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/fd.c:165: 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); ^ 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) ~~~~~~^~~~~~~ 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/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) ~~~~~~^~~~~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/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)) { ^ In file included from include/proto/stream_interface.h:32, from src/raw_sock.c:39: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/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_*) */ ^~~ CC src/lb_chash.o 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_*) */ ^~~ CC src/frontend.o 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_*) */ ^~~ In file included from src/task.c:18: include/common/standard.h: In function 'is_inet_addr': 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_*) */ ^~~ include/common/standard.h:1031: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/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); ^~~~~ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/payload.c:1341:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "payload_lv", "req.payload_lv", PAT_MATCH_BIN }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1342:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_rdp_cookie", "req.rdp_cookie", PAT_MATCH_STR }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1343:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_rdp_cookie_cnt", "req.rdp_cookie_cnt", PAT_MATCH_INT }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1344:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ssl_sni", "req.ssl_sni", PAT_MATCH_STR }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1345:2: warning: missing initializer for field 'index' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ssl_ver", "req.ssl_ver", PAT_MATCH_INT, pat_parse_dotted_ver }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:96:8: note: 'index' declared here int (*index)(struct pattern_expr *expr, struct pattern *pattern, char **err); ^~~~~ src/payload.c:1346:2: warning: missing initializer for field 'index' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req.ssl_ver", "req.ssl_ver", PAT_MATCH_INT, pat_parse_dotted_ver }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:96:8: note: 'index' declared here int (*index)(struct pattern_expr *expr, struct pattern *pattern, char **err); ^~~~~ In file included from src/payload.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/payload.c:1350:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ src/raw_sock.c: In function 'raw_sock_to_buf': src/raw_sock.c:273: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:229: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:229: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:377: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:341: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': In file included from src/task.c:19: include/common/time.h: In function 'tv_leaving_poll': src/raw_sock.c:415: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) ~~~~~~~~~~~~~~~~~~~^~~~ include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ src/raw_sock.c:415: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) ~~~~~~^~~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/raw_sock.c:415: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:415: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:415: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/common/htx.h:31, from src/flt_trace.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/applet.h:28, from include/proto/proxy.h:28, from src/task.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) ~~~~~~~^~~~~ src/fd.c: In function 'my_closefrom': src/fd.c:506:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (step > sizeof(poll_events) / sizeof(poll_events[0])) ^ 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) ~~~~~~~^~~~~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/global.h:28, from src/fd.c:162: 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:782: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:783: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:784: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:785:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(free_pollers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/flt_trace.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ 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:164: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 src/lb_chash.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/lb_chash.c:22: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CC src/applet.o In file included from src/lb_chash.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/mux_pt.o In file included from src/frontend.c:25: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/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:164: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/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/channel.h:32, from include/proto/proto_http.h:29, from src/queue.c:80: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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 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:1031: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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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 include/proto/proto_http.h:29, from src/queue.c:80: 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/proxy.h:30, from include/types/applet.h:28, from include/proto/applet.h:29, from src/applet.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/applet.h:28, from include/proto/applet.h:29, 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) ~~~~~~~^~~~~ CC src/signal.o 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/proxy.h:28, from src/task.c:25: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/proto_http.h:29, from src/queue.c:80: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/stream.h:32, from src/task.c:26: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/queue.c:80: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ 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:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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)); ^~~~~~~~~~~~ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/queue.c:85: include/proto/connection.h: In function 'conn_get_best_mux_entry': 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/proto/connection.h:972: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:972: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/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/proto/connection.h:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ 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 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:373: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:380:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (px->nbpend > px->be_counters.nbpend_max) ^ src/task.c: In function 'init_task': src/task.c:549:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < MAX_THREADS; i++) { ^ src/queue.c: In function 'action_set_priority_class': src/queue.c:514: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:527:95: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/queue.c: At top level: src/queue.c:597: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/queue.c:598: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:183: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:602:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_cont_kws); ^~~~~~~~~ src/queue.c:605: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/queue.c:606: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:183: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:610: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:613: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:613: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:613: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:625: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:625: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:625: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:638: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:639: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:643:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ 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:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from include/proto/filters.h:30, from src/flt_trace.c:28: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/standard.h:38, from include/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/proto/signal.h:15, from src/signal.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/filters.h:30, from src/flt_trace.c:28: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ CC src/ev_select.o In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/frontend.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/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from src/signal.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/flt_trace.c:32: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/flt_trace.c: In function 'trace_hexdump': src/flt_trace.c:94: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:100: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:108: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:122:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (block1 > b_contig_data(buf, out)) ^ src/flt_trace.c: In function 'trace_deinit': src/flt_trace.c:185: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:200:27: warning: unused parameter 'px' [-Wunused-parameter] trace_check(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c:200:48: warning: unused parameter 'fconf' [-Wunused-parameter] trace_check(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~~~~^~~~~ src/flt_trace.c: In function 'trace_init_per_thread': src/flt_trace.c:207:37: warning: unused parameter 'px' [-Wunused-parameter] trace_init_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c: In function 'trace_deinit_per_thread': src/flt_trace.c:217:39: warning: unused parameter 'px' [-Wunused-parameter] trace_deinit_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c: In function 'trace_http_payload': src/flt_trace.c:491:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (!ret || ret >= data) ^~ src/flt_trace.c:505: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:568:65: warning: unused parameter 'status' [-Wunused-parameter] trace_http_reply(struct stream *s, struct filter *filter, short status, ~~~~~~^~~~~~ src/flt_trace.c:569:25: warning: unused parameter 'msg' [-Wunused-parameter] const struct buffer *msg) ~~~~~~~~~~~~~~~~~~~~~^~~ 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:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/flt_trace.c: In function 'trace_http_forward_data': src/flt_trace.c:599: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_tcp_forward_data': src/flt_trace.c:649:10: 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:699: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:760:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &flt_kws); ^~~~~~~~~ In file included from include/proto/channel.h:32, from src/frontend.c:37: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/lb_chash.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) ~~~~~~~^~~~~ CC src/proto_sockpair.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:78: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: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:78: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/lb_chash.c:25: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/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 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/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/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 src/frontend.c:43: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/frontend.c:47: 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:259: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/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:1031: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_chash.c: In function 'chash_server_is_eligible': src/lb_chash.c:313:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return s->served < slots; ^ src/lb_chash.c: In function 'chash_get_next_server': src/lb_chash.c:446:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!s->maxconn || (!s->nbpend && s->served < srv_dynamic_maxconn(s))) { ^ 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:1031: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_chash.c: In function 'chash_init_server_tree': src/lb_chash.c:502:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (node = 0; node < srv->lb_nodes_tot; node++) { ^ In file included from src/ev_select.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/frontend.c:47: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:36, from src/proto_sockpair.c:35: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ src/frontend.c: In function 'smp_fetch_fe_id': src/frontend.c:176: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:176: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:176: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:186: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:186: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:186: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:200: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:200: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:200: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:219: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:219: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:232: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:232: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:245: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:245: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:258: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:259: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:260: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:261: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:262: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:263: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:183, 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:267: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:276:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ CC src/compression.o In file included from include/common/standard.h:38, from src/proto_sockpair.c:35: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/proto_sockpair.c:35: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/proto_sockpair.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/mux_pt.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/http_conv.o 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:29, from src/applet.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_pt.c:15: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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/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:29, from src/applet.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:28, from include/proto/applet.h:29, from src/applet.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:29, from src/applet.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/memory.o 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:259: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/applet.c:18: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/http_conv.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from src/http_conv.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 src/mux_pt.c:15: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/ev_select.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 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:68: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:68: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:69:25: warning: unused parameter 'input' [-Wunused-parameter] struct buffer *input) ~~~~~~~~~~~~~~~^~~~~ src/mux_pt.c: In function 'mux_pt_attach': src/mux_pt.c:144:83: warning: unused parameter 'sess' [-Wunused-parameter] static struct conn_stream *mux_pt_attach(struct connection *conn, struct session *sess) ~~~~~~~~~~~~~~~~^~~~ 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:346:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_pt); ^~~~~~~~~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/applet.c:18: 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:259: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/ev_select.c:23: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/applet.h:30, from src/applet.c:18: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/channel.h:32, from src/applet.c:19: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/applet.c:19: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/ev_select.c: In function '_do_poll': src/ev_select.c:159: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:183:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (fds = 0; (fds * BITS_PER_INT) < maxfd; fds++) { ^ src/ev_select.c:82: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:286:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ~~~~~~~~~~~~~~~^ src/applet.c: In function 'task_run_applet': src/applet.c:59:76: warning: unused parameter 'state' [-Wunused-parameter] struct task *task_run_applet(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from src/http_conv.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/proto_sockpair.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/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:164: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/proto/log.h:34, from src/signal.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, from src/signal.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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_fwrr.o 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:78: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/proto_sockpair.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, 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) ~~~~~~~^~~~~ CC src/channel.o 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/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:259: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_sockpair.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:183, 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/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/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/proto/log.h:34, 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CC src/htx.o 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/lb_fwrr.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/lb_fwrr.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/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/types/global.h:30, from src/lb_fwrr.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/uri_auth.o 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:78: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/buffer.h:32, 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 src/htx.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/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) ~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from include/common/htx.h:28, from src/htx.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) ~~~~~~~^~~~~ src/compression.c: In function 'deflate_flush_or_finish': src/compression.c:615:72: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((global.comp_rate_lim > 0 && (read_freq_ctr(&global.comp_bps_out) > global.comp_rate_lim)) || /* rate */ ^ src/compression.c: In function 'zlib_parse_global_memlevel': src/compression.c:655:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int zlib_parse_global_memlevel(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/compression.c:655:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int zlib_parse_global_memlevel(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/compression.c:656:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/compression.c:656:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/compression.c:656:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/compression.c: In function 'zlib_parse_global_windowsize': src/compression.c:677:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int zlib_parse_global_windowsize(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/compression.c:677:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int zlib_parse_global_windowsize(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/compression.c:678:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/compression.c:678:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/compression.c:678:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/compression.c:29: src/compression.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/compression.c:709:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ In file included from include/common/standard.h:38, from include/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CC src/regex.o 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:1031: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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/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/proto/channel.h:32, from src/channel.c:21: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/htx.h:31, from src/htx.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/htx.c:14: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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:75: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:243: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:249: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:274: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:366: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:367: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:658: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:706:3: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ src/htx.c: In function 'htx_add_data': src/htx.c:954: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:985: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:988:3: warning: label 'append_data' defined but not used [-Wunused-label] append_data: ^~~~~~~~~~~ CC src/chunk.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from src/uri_auth.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from src/uri_auth.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/chunk.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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_conv.c:30: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/lb_fwrr.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:38, from src/chunk.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from 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:78: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/http_conv.c:30: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/chunk.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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_fwrr.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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_fwrr.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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_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) ^ 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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) ^~ 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/types/global.h:30, from src/regex.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/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/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:1031: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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:36, from include/types/global.h:30, from src/pipe.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/applet.h:28, from src/memory.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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 'sample_conv_http_date': src/http_conv.c:41: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:71: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:218: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:218: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:243: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:284: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:331:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "http_date", sample_conv_http_date, ARG1(0,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/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:332: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:333: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:334: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:335: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:336: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:183, 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:339:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ In file included from include/common/standard.h:38, from include/types/global.h:30, from src/pipe.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/pipe.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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_fas.o 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/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 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) ^ 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': src/channel.c:243:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len + offset > co_data(chn)) { ^ src/channel.c: In function 'co_getline_nc': src/channel.c:291:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (l = 0; l < *len1 && (*blk1)[l] != '\n'; l++); ^ src/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') { ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/chunk.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fas.c:24: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ CC src/lb_map.o In file included from include/common/standard.h:38, from include/types/global.h:30, from src/lb_fas.c:24: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ 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:1031: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/global.h:33, from src/chunk.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/memory.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:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ 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:183, 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/applet.h:30, from src/memory.c:30: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/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/proto/log.h:34, from src/uri_auth.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/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/proto/log.h:34, from src/uri_auth.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/channel.h:32, from src/memory.c:32: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/lb_fwlc.o CC src/auth.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/proto/log.h:34, from src/uri_auth.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, from src/uri_auth.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/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/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:78: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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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:1031: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/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/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, 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/proto/stream.h:32, from include/proto/log.h:37, from src/uri_auth.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))); ^ src/memory.c: In function 'init_pools': src/memory.c:575: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:588: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/memory.c:589: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:29: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:183, 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:592: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:656:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &mem_cfg_kws); ^~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/pipe.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/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:78: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/time.o In file included from include/common/standard.h:38, from include/types/global.h:30, from src/auth.c:28: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/global.h:30, from src/auth.c:28: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/hathreads.o In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/regex.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fwlc.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/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/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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 src/time.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/lb_fwlc.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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 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))); ^ In file included from include/common/standard.h:38, from src/time.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/time.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/time.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, 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/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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) ~~~~~~~^~~~~ CC src/buffer.o In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fas.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fas.c:24: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/lb_fas.c:28: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ CC src/hpack-tbl.o 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/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, 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/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, 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/buffer.h:30, from src/buffer.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/auth.c:28: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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:32, 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/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/lb_map.c:23: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ CC src/shctx.o src/lb_map.c: In function 'recalc_server_map': src/lb_map.c:112:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((cur->flags & SRV_F_BACKUP) == flag && ^~ src/lb_map.c: In function 'map_get_server_rr': src/lb_map.c:238:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!srv->maxconn || (!srv->nbpend && srv->served < srv_dynamic_maxconn(srv))) { ^ In file included from include/proto/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 include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/buffer.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/buffer.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http-hdr.h:31, from include/common/hpack-tbl.h:33, from src/hpack-tbl.c:34: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/hpack-tbl.c:34: include/common/hpack-tbl.h: In function 'hpack_valid_idx': include/common/hpack-tbl.h:161:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/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:312: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/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, 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) ~~~~~~~^~~~~ CC src/sha1.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/hpack-tbl.c:37: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/lb_fwlc.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ 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/global.h:33, from src/lb_fwlc.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/hpack-tbl.c:37: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/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/proto/log.h:34, 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 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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/standard.h: In function 'is_inet_addr': 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:1031: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:1031: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_fwlc.c: In function 'fwlc_get_next_server': src/lb_fwlc.c:327: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/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/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, 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:164: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:78: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_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/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CC src/hpack-dec.o 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/proto/log.h:34, 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/types/global.h:30, from src/shctx.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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_htx.c:18: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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:662: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:722: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:183, 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:726:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("http_htx", http_htx_init); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/common/standard.h:36, from src/hpack-dec.c:33: include/common/chunk.h: In function 'chunk_initlen': In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/proto/queue.h: In function 'server_has_room': include/common/chunk.h:78: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: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/action.o In file included from include/common/http.h:27, from src/http.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:38, from 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 include/common/standard.h:36, from src/http.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/hpack-dec.c:33: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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 'ha_tkillall': src/hathreads.c:147:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (thr = 0; thr < global.nbthread; thr++) { ^ src/hathreads.c: In function 'parse_nbthread': src/hathreads.c:243:31: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] if (nbthread < 1 || nbthread > MAX_THREADS) { ^ In file included from include/common/http-hdr.h:31, from include/common/hpack-tbl.h:33, from include/common/hpack-dec.h:34, from src/hpack-dec.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 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_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/buffer.c:18: src/buffer.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:265:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/buffer.c:27:1: note: in expansion of macro '__decl_aligned_spinlock' __decl_aligned_spinlock(buffer_wq_lock); ^~~~~~~~~~~~~~~~~~~~~~~ src/buffer.c: In function '__offer_buffer': src/buffer.c:116:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (avail <= threshold) ^~ In file included from include/common/standard.h:36, from src/action.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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.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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CC src/proto_udp.o In file included from src/http.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from src/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:1031: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/xxhash.o CC src/http_acl.o In file included from include/common/http.h:27, from include/types/proxy.h:32, 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/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) ~~~~~~~^~~~~ src/http.c: In function 'http_extract_cookie_value': src/http.c:700: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 && ^~ 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/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, 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/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/proto_udp.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/shctx.c:19: include/proto/shctx.h: In function '_shctx_wait4lock': include/proto/shctx.h:93:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < *count; i++) { ^ include/proto/shctx.h:89:72: warning: unused parameter 'uaddr' [-Wunused-parameter] static inline void _shctx_wait4lock(unsigned int *count, unsigned int *uaddr, int value) ~~~~~~~~~~~~~~^~~~~ include/proto/shctx.h:89:83: warning: unused parameter 'value' [-Wunused-parameter] static inline void _shctx_wait4lock(unsigned int *count, unsigned int *uaddr, int value) ~~~~^~~~~ src/shctx.c: In function 'shctx_row_reserve_hot': src/shctx.c:43:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (data_len > shctx->nbav * shctx->block_size) ^ src/shctx.c:49:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!first && data_len > shctx->max_obj_size)) ^ src/shctx.c: In function 'shctx_row_inc_hot': src/shctx.c:159:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (count >= first->block_count) ^~ src/shctx.c: In function 'shctx_row_dec_hot': src/shctx.c:186:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (count >= first->block_count) ^~ src/shctx.c: In function 'shctx_row_data_append': src/shctx.c:209:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len > first->block_count * shctx->block_size - first->len) ^ src/shctx.c: In function 'shctx_row_data_get': src/shctx.c:257:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len > first->len) ^ src/shctx.c:264:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (count >= first->block_count || len <= 0) ^~ In file included from src/http_acl.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/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/common/http.h:27, from src/http_acl.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/types/global.h:30, from src/proto_udp.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/h2.o 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:1031: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 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/hpack-dec.c:41: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-dec.c:41: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/http-hdr.h:31, from include/common/h2.h:33, from src/h2.c:30: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/htx.h:31, from include/common/h2.h:34, from src/h2.c:30: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/freq_ctr.o CC src/lru.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 include/common/standard.h:38, from include/common/htx.h:31, from include/common/h2.h:34, from src/h2.c:30: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h: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:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/htx.h:31, from include/common/h2.h:34, from src/h2.c:30: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/h2.h:34, from src/h2.c:30: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/h2.c: In function 'h2_make_h1_request': src/h2.c:166:18: 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++) ^ src/h2.c: In function 'h2_make_h1_trailers': src/h2.c:368: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/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/h2.c: In function 'h2_make_htx_request': src/h2.c:609:18: 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++) ^ src/h2.c: In function 'h2_make_htx_response': src/h2.c:852:18: 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++) ^ src/h2.c: In function 'h2_make_htx_trailers': src/h2.c:974: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/common/standard.h:36, from src/freq_ctr.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/hpack-enc.c:37: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from src/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 include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/proto_udp.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/freq_ctr.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/freq_ctr.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/http_acl.c:29: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/proto_udp.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ 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); ^~~~~ 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': 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 }, ^ include/common/buffer.h:164: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/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:183, 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/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/hpack-huff.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) ~~~~^~~~~~~~~~ CC src/arg.o CC src/hdr_idx.o CC src/base64.o CC src/hash.o 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:78: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/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) ~~~~~~^~~ In file included from include/common/standard.h:38, from src/protocol.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/protocol.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/mailers.o In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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); ^~~~~~~~~~~~~~~ CC src/activity.o 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:78: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_msg.o CC src/version.o CC src/mworker.o 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:1031: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/mworker-prog.o In file included from include/common/http.h:27, from include/types/sample.h:30, from include/types/vars.h:7, from include/types/arg.h:31, from include/proto/arg.h:25, from src/arg.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) ~~~~~~~^~~~~ 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++); ^ 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:164: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/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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:31, from src/http_msg.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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/htx.h:28, from include/proto/channel.h:32, from src/http_msg.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) ~~~~~~~^~~~~ CC src/debug.o 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/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/wdt.o In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, 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) ~~~~~~~^~~~~ CC src/dict.o 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/htx.h:31, from include/proto/channel.h:32, from src/http_msg.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 include/proto/channel.h:32, from src/http_msg.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/channel.h:32, from src/http_msg.c:14: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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:34, from src/http_msg.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/proto/channel.h:36, from src/http_msg.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/xprt_handshake.o In file included from include/common/standard.h:36, from src/debug.c:23: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/connection.h:26, from src/xprt_handshake.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker-prog.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78: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/debug.c:23: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:36, from src/wdt.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/debug.c:23: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker-prog.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h: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:1031: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 ebtree/ebtree.o 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/proto/log.h:34, 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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/http_msg.c:14: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/standard.h:38, from include/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/proto/log.h:34, 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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/debug.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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/debug.c:25: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/debug.c:25: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/activity.c:13: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/http_msg.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) ^ CC ebtree/eb32sctree.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/xprt_handshake.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/wdt.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) ~~~~~~~^~~~~ In file included from src/http_msg.c:16: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ 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/channel.h:32, from src/activity.c:19: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/debug.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))); ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/xprt_handshake.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ 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/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/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker-prog.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.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/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:164:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker-prog.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1031: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/applet.h:30, from include/proto/stream_interface.h:31, 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:259: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/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:1031: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker-prog.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/debug.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) && ^~ 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/proto/server.h:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker-prog.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:164: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/applet.h:30, from include/proto/stream_interface.h:31, from src/debug.c:29: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, 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) && ^~ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/activity.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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/server.h:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:986: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/debug.c:29: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/debug.c: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) ^ 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:138:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/activity.c:142: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:33:8: note: 'private' declared here void *private; ^~~~~~~ src/activity.c:143: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:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/activity.c:144: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:29: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:147:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ 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:22: include/proto/queue.h: In function 'server_has_room': In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/mworker.c:38: include/proto/connection.h: In function 'conn_get_best_mux_entry': 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/connection.h:972: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:972: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/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/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:986: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/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:164: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/debug.c: In function 'ha_thread_dump': src/debug.c:76:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (thr != tid) ^~ 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_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/debug.c: In function 'ha_thread_dump_all_to_trash': src/debug.c:401: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:523:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "threads", 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:27: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/debug.c:524: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:27: include/types/cli.h:29: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:183, 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:527:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ 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))); ^ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693: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/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))); ^ src/mworker.c: In function 'mworker_catch_sighup': src/mworker.c:223: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:245: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:384: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:546:36: warning: unused parameter 'args' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/mworker.c:546:48: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mworker.c:546: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:557: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:557: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:558: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:617:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &mworker_kws); ^~~~~~~~~ src/mworker.c:627: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:29: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:630: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/xprt_handshake.c:13: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:259:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/common/cfgparse.h:27, from src/mworker-prog.c:22: 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:284: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:285:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("program", cfg_program_postparser); ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC ebtree/ebmbtree.o CC ebtree/ebsttree.o In file included from src/xprt_handshake.c:13: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ CC ebtree/eb64tree.o 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_head': include/common/htx.h:382:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:413:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:483:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ CC ebtree/eb32tree.o include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:693:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/xprt_handshake.c:14: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ CC ebtree/ebimtree.o In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, 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) ~~~~^~~~~ 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) ~~~~~~~~~~~~~~~~~~~^~~~ CC ebtree/ebistree.o LD haproxy /home/buildroot/build/instance-2/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/8.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: src/ev_poll.o: in function `fd_may_recv': (.text+0x1b44): undefined reference to `__sync_fetch_and_or_1' /home/buildroot/build/instance-2/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/8.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: src/ev_poll.o: in function `fd_may_send': (.text+0x1f00): undefined reference to `__sync_fetch_and_or_1' /home/buildroot/build/instance-2/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/8.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: src/proto_tcp.o: in function `fd_may_recv': (.text+0xd1c): undefined reference to `__sync_fetch_and_or_1' /home/buildroot/build/instance-2/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/8.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: src/proto_tcp.o: in function `fd_may_send': (.text+0x14e4): undefined reference to `__sync_fetch_and_or_1' /home/buildroot/build/instance-2/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/8.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: src/session.o: in function `fd_may_recv': (.text+0x1a5c): undefined reference to `__sync_fetch_and_or_1' /home/buildroot/build/instance-2/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/8.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: src/session.o:(.text+0x1e18): more undefined references to `__sync_fetch_and_or_1' follow collect2: error: ld returned 1 exit status Makefile:826: recipe for target 'haproxy' failed make[1]: *** [haproxy] Error 1 make[1]: Leaving directory '/home/buildroot/build/instance-2/output-1/build/haproxy-2.0.4' package/pkg-generic.mk:238: recipe for target '/home/buildroot/build/instance-2/output-1/build/haproxy-2.0.4/.stamp_built' failed make: *** [/home/buildroot/build/instance-2/output-1/build/haproxy-2.0.4/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/build/instance-2/buildroot'