>>> haproxy 1.9.13 Downloading --2019-12-12 11:15:08-- http://www.haproxy.org/download/1.9/src/haproxy-1.9.13.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: 2395999 (2.3M) [application/x-tar] Saving to: '/home/buildroot/autobuild/instance-2/output-1/build/.haproxy-1.9.13.tar.gz.UzmiCc/output' 0K .......... .......... .......... .......... .......... 2% 152K 15s 50K .......... .......... .......... .......... .......... 4% 304K 11s 100K .......... .......... .......... .......... .......... 6% 28.1M 7s 150K .......... .......... .......... .......... .......... 8% 25.1M 5s 200K .......... .......... .......... .......... .......... 10% 309K 6s 250K .......... .......... .......... .......... .......... 12% 21.8M 4s 300K .......... .......... .......... .......... .......... 14% 23.9M 4s 350K .......... .......... .......... .......... .......... 17% 23.2M 3s 400K .......... .......... .......... .......... .......... 19% 318K 3s 450K .......... .......... .......... .......... .......... 21% 24.3M 3s 500K .......... .......... .......... .......... .......... 23% 23.0M 3s 550K .......... .......... .......... .......... .......... 25% 26.0M 2s 600K .......... .......... .......... .......... .......... 27% 43.0M 2s 650K .......... .......... .......... .......... .......... 29% 32.5M 2s 700K .......... .......... .......... .......... .......... 32% 38.2M 2s 750K .......... .......... .......... .......... .......... 34% 36.1M 2s 800K .......... .......... .......... .......... .......... 36% 39.7M 1s 850K .......... .......... .......... .......... .......... 38% 328K 2s 900K .......... .......... .......... .......... .......... 40% 60.4M 1s 950K .......... .......... .......... .......... .......... 42% 53.5M 1s 1000K .......... .......... .......... .......... .......... 44% 53.8M 1s 1050K .......... .......... .......... .......... .......... 47% 45.7M 1s 1100K .......... .......... .......... .......... .......... 49% 39.8M 1s 1150K .......... .......... .......... .......... .......... 51% 60.6M 1s 1200K .......... .......... .......... .......... .......... 53% 53.9M 1s 1250K .......... .......... .......... .......... .......... 55% 50.5M 1s 1300K .......... .......... .......... .......... .......... 57% 47.2M 1s 1350K .......... .......... .......... .......... .......... 59% 57.4M 1s 1400K .......... .......... .......... .......... .......... 61% 78.8M 1s 1450K .......... .......... .......... .......... .......... 64% 74.2M 1s 1500K .......... .......... .......... .......... .......... 66% 70.6M 1s 1550K .......... .......... .......... .......... .......... 68% 55.3M 0s 1600K .......... .......... .......... .......... .......... 70% 61.0M 0s 1650K .......... .......... .......... .......... .......... 72% 165M 0s 1700K .......... .......... .......... .......... .......... 74% 165M 0s 1750K .......... .......... .......... .......... .......... 76% 332K 0s 1800K .......... .......... .......... .......... .......... 79% 33.6M 0s 1850K .......... .......... .......... .......... .......... 81% 38.5M 0s 1900K .......... .......... .......... .......... .......... 83% 74.1M 0s 1950K .......... .......... .......... .......... .......... 85% 204M 0s 2000K .......... .......... .......... .......... .......... 87% 38.1M 0s 2050K .......... .......... .......... .......... .......... 89% 99.3M 0s 2100K .......... .......... .......... .......... .......... 91% 175M 0s 2150K .......... .......... .......... .......... .......... 94% 201M 0s 2200K .......... .......... .......... .......... .......... 96% 203M 0s 2250K .......... .......... .......... .......... .......... 98% 201M 0s 2300K .......... .......... .......... ......... 100% 192M=1.2s 2019-12-12 11:15:10 (1.97 MB/s) - '/home/buildroot/autobuild/instance-2/output-1/build/.haproxy-1.9.13.tar.gz.UzmiCc/output' saved [2395999/2395999] haproxy-1.9.13.tar.gz: OK (sha256: adae40f963b03df0917edc44681064627f77683dcf7db66ef030672ad6d00547) >>> haproxy 1.9.13 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/haproxy/haproxy-1.9.13.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/haproxy-1.9.13 -xf - >>> haproxy 1.9.13 Patching >>> haproxy 1.9.13 Configuring >>> haproxy 1.9.13 Building PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-ar" AS="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-as" LD="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-ld" NM="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-nm" CC="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-gcc" GCC="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-gcc" CPP="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-cpp" CXX="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-g++" FC="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-gfortran" F77="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-gfortran" RANLIB="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-ranlib" READELF="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-readelf" STRIP="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-strip" OBJCOPY="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-2/output-1/host/sh4-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl LD=/home/buildroot/autobuild/instance-2/output-1/host/bin/sh4-linux-gcc PREFIX=/usr TARGET=custom USE_THREAD=1 USE_OPENSSL=1 PCRE_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/bin/pcre-config USE_PCRE=1 USE_ZLIB=1 ADDLIB="-latomic" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " -C /home/buildroot/autobuild/instance-2/output-1/build/haproxy-1.9.13 make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/haproxy-1.9.13' CC src/ev_poll.o CC src/ssl_sock.o CC src/proto_http.o CC src/cfgparse-listen.o In file included from include/common/standard.h:36:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/proxy.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/proxy.h:30:0, 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/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, 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) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.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:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/http.h:27:0, 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/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/ticks.h:56:0, from src/ev_poll.c:23: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/ev_poll.c:24:0: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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/common/http.h:27:0, 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/types/proxy.h:32:0, from include/types/global.h:33, from src/ev_poll.c:26: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/buffer.h:30:0, from src/ssl_sock.c:78: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32:0, from src/ssl_sock.c:78: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: 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:0, from include/types/server.h:47, 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/common/buffer.h:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, 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:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587: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:78:0: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, 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:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ src/ev_poll.c: In function '_do_poll': src/ev_poll.c:166:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (fds = 0; (fds * 8*sizeof(**fd_evts)) < maxfd; fds++) { ^ In file included from include/common/standard.h:38:0, from src/ssl_sock.c:85: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h: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_poll.c:173:57: warning: comparison between signed and unsigned integer expressions [-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] REGPRM2 static void _do_poll(struct poller *p, int exp) ^ 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 src/ssl_sock.c:85:0: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/ssl_sock.c:87:0: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587: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:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/cfgparse-listen.c:14: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/cfgparse-listen.c:22: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/cfgparse-listen.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/cfgparse-listen.c:22: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/common/cfgparse.h:31:0, from src/proto_http.c:27: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/proto_http.c:52:0: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/channel.h:32:0, from src/proto_http.c:53: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ In file included from src/cfgparse-listen.c:22:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/proto/connection.h:1046: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_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/proto_http.c:53:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/proto_http.c:63:0: 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_http.c:66:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ In file included from src/proto_http.c:68:0: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/proto_http.c:70:0: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/ssl_sock.c:88: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/applet.h:30:0, 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:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046: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:0, from src/ssl_sock.c:101: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/ssl_sock.c:101:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/proto_http.c: In function 'http_change_connection_header': src/proto_http.c:466:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (wanted == (txn->flags & (TX_CON_CLO_SET|TX_CON_KAL_SET))) ^~ src/proto_http.c: In function 'http_adjust_conn_mode': src/proto_http.c:513:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((txn->flags & TX_CON_WANT_MSK) < tmp) ^ src/proto_http.c: In function 'http_wait_for_request': src/proto_http.c:630:44: warning: signed and unsigned type in conditional expression [-Wsign-compare] eol = sol + (msg->sl.rq.l ? msg->sl.rq.l : ci_data(req)); ^ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/ssl_sock.c:102: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/ssl_sock.c:102: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/ssl_sock.c:102: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/proto_http.c:1104:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((msg->flags & HTTP_MSGF_CNT_LEN) && (msg->chunk_len != cl)) { ^~ In file included from src/ssl_sock.c:102:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046: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/ssl_sock.c:112:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ In file included from src/ssl_sock.c:117:0: include/proto/shctx.h: In function '_shctx_wait4lock': include/proto/shctx.h:93:23: warning: comparison between signed and unsigned integer expressions [-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/ssl_sock.c: In function 'ssl_async_fd_free': src/ssl_sock.c:480:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) ^ src/ssl_sock.c: At top level: src/ssl_sock.c:492:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline ssl_async_process_fds(struct connection *conn, SSL *ssl) ^~~~~~ src/ssl_sock.c: In function 'ssl_async_process_fds': src/ssl_sock.c:510:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0 ; i < num_del_fds ; i++) ^ src/ssl_sock.c:514:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ src/ssl_sock.c:527:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ src/ssl_sock.c: In function 'ssl_sock_parse_sctl': src/ssl_sock.c:1353:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len + 2 != sctl->data) ^~ src/ssl_sock.c: In function 'ssl_sock_sctl_add_cbk': src/ssl_sock.c:1421: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:1421: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:1421: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:1431: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:1431: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:1431: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:1431: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:1431: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:1431:114: warning: unused parameter 'parse_arg' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_parse_clienthello': src/ssl_sock.c:1654:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] capture->ciphersuite_len = (global_ssl.capture_cipherlist < rec_len) ? ^ src/ssl_sock.c:1655:33: warning: signed and unsigned type in conditional expression [-Wsign-compare] global_ssl.capture_cipherlist : rec_len; ^ src/ssl_sock.c:1553: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:1662:111: warning: unused parameter 'arg' [-Wunused-parameter] void ssl_sock_msgcbk(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg) ^~~ src/ssl_sock.c: In function 'ssl_sock_srv_select_protos': src/ssl_sock.c:1707: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:1724: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:1739:48: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_alpn_protos(SSL *s, const unsigned char **out, ^ src/ssl_sock.c: In function 'ssl_sock_do_create_cert': src/ssl_sock.c:1760: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:1907:84: warning: unused parameter 'key' [-Wunused-parameter] ssl_sock_create_cert(struct connection *conn, const char *servername, unsigned int key) ^~~ src/ssl_sock.c: In function 'ctx_set_None_func': src/ssl_sock.c:2154:40: warning: unused parameter 'ctx' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ^~~ src/ssl_sock.c:2154: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:2155:36: warning: unused parameter 'ssl' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ^~~ src/ssl_sock.c:2155:58: warning: unused parameter 'c' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ^ src/proto_http.c: In function 'http_wait_for_request_body': src/proto_http.c:3215:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (http_body_bytes(msg) < msg->body_len) ^ src/ssl_sock.c: In function 'ssl_sock_switchctx_cbk': src/ssl_sock.c:2329:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < trash.size && i < servername_len; i++) { ^ src/ssl_sock.c:2329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < trash.size && i < servername_len; i++) { ^ src/proto_http.c:3258:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (http_body_bytes(msg) >= msg->body_len) /* we have enough bytes now */ ^~ src/ssl_sock.c:2196: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:2674:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (keylen > global_ssl.default_dh_param) { ^ src/ssl_sock.c:2659: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:2844:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < len && j < trash.size; j++) ^ src/ssl_sock.c:2846:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (j >= trash.size) ^~ src/ssl_sock.c: In function 'ssl_sock_free_cert_key_and_chain_contents': src/ssl_sock.c:2936:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < ckch->num_chain_certs; i++) { ^ src/ssl_sock.c: In function 'ssl_sock_put_ckch_into_ctx': src/ssl_sock.c:3066:16: warning: comparison between signed and unsigned integer expressions [-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:3092:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < trash.size; i++) { ^ src/proto_http.c: In function 'http_wait_for_response': src/proto_http.c:4268:44: warning: signed and unsigned type in conditional expression [-Wsign-compare] eol = sol + (msg->sl.st.l ? msg->sl.st.l : ci_data(rep)); ^ src/ssl_sock.c: In function 'sh_ssl_sess_new_cb': src/ssl_sock.c:4138:29: warning: unused parameter 'ssl' [-Wunused-parameter] int sh_ssl_sess_new_cb(SSL *ssl, SSL_SESSION *sess) ^~~ src/ssl_sock.c: In function 'sh_ssl_sess_get_cb': src/ssl_sock.c:4194:38: warning: unused parameter 'ssl' [-Wunused-parameter] SSL_SESSION *sh_ssl_sess_get_cb(SSL *ssl, __OPENSSL_110_CONST__ unsigned char *key, int key_len, int *do_copy) ^~~ src/proto_http.c:4739:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((msg->flags & HTTP_MSGF_CNT_LEN) && (msg->chunk_len != cl)) { ^~ src/ssl_sock.c: In function 'ssl_sock_handshake': src/ssl_sock.c:5563:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (global.ssl_be_keys_per_sec.curr_ctr > global.ssl_be_keys_max) ^ src/ssl_sock.c:5568:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (global.ssl_fe_keys_per_sec.curr_ctr > global.ssl_fe_keys_max) ^ src/ssl_sock.c: In function 'ssl_sock_to_buf': src/ssl_sock.c:5603:94: warning: unused parameter 'flags' [-Wunused-parameter] static size_t ssl_sock_to_buf(struct connection *conn, struct buffer *buf, size_t count, int flags) ^~~~~ src/ssl_sock.c: In function 'ssl_sock_close': src/ssl_sock.c:5906:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) { ^ src/ssl_sock.c:5929:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) ^ src/ssl_sock.c: In function 'ssl_sock_get_serial': src/ssl_sock.c:6073:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (out->size < serial->length) ^ src/ssl_sock.c: In function 'ssl_sock_crt2der': src/ssl_sock.c:6095:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (out->size < len) ^ src/ssl_sock.c: In function 'ssl_sock_get_time': src/ssl_sock.c:6118:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (out->size < gentm->length-2) ^ src/ssl_sock.c:6132:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (out->size < utctm->length) ^ src/ssl_sock.c: In function 'ssl_sock_get_dn_entry': src/ssl_sock.c:6192:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (data_len > out->size) ^ src/ssl_sock.c: In function 'ssl_sock_get_dn_oneline': src/ssl_sock.c:6241:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l > out->size) ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_early': src/ssl_sock.c:6396:46: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/ssl_sock.c:6396:84: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/ssl_sock.c:6396:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_crt': src/ssl_sock.c:6418:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/ssl_sock.c:6418:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/ssl_sock.c:6418: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/proto_http.c: In function 'stats_check_uri': src/proto_http.c:7054:46: warning: unused parameter 'si' [-Wunused-parameter] int stats_check_uri(struct stream_interface *si, struct http_txn *txn, struct proxy *backend) ^~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_der': src/ssl_sock.c:6443: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/proto_http.c: In function 'http_capture_bad_message': src/proto_http.c:7125:57: warning: signed and unsigned type in conditional expression [-Wsign-compare] (msg->err_pos >= 0) ? msg->err_pos : msg->next, ^ src/ssl_sock.c:6443:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_serial': src/ssl_sock.c:6487:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/ssl_sock.c:6487:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sha1': CC src/proto_htx.o src/ssl_sock.c:6531: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/ssl_sock.c:6531:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_sha1(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notafter': src/ssl_sock.c:6576: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:6576: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/ssl_sock.c: In function 'smp_fetch_ssl_x_i_dn': src/ssl_sock.c:6619: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:6676: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:6676:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notbefore(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_s_dn': src/ssl_sock.c:6719: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:6773: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:6773: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:6773:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_version': src/ssl_sock.c:6803:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_version(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/ssl_sock.c:6803: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:6839: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:6839:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_sig_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_key_alg': src/ssl_sock.c:6889:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_key_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/ssl_sock.c:6889: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:6938: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:6938: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:6950: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:6950: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:6950: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:6970: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:6970:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_is_resumed(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cipher': src/ssl_sock.c:6988: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:6988: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:7014: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:7014: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:7038: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:7038: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:7058: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:7058: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:7084: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:7084: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:7114: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:7114: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:7140: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:7140: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_session_key': src/ssl_sock.c:7168: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:7168: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) ^~~~~~~ In file included from include/common/htx.h:28:0, 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) ^~~~~ src/proto_http.c: In function 'http_msg_forward_chunked_body': src/ssl_sock.c: In function 'smp_fetch_ssl_fc_sni': src/proto_http.c:5485:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_CRLF; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/proto_http.c:5488:3: note: here case HTTP_MSG_CHUNK_CRLF: ^~~~ src/ssl_sock.c:7199: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/proto_http.c:5500:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_SIZE; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from include/common/htx.h:29:0, from src/proto_htx.c:16: include/common/http.h: At top level: src/proto_http.c:5503:3: note: here case HTTP_MSG_CHUNK_SIZE: ^~~~ include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ src/proto_http.c:5527:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_TRAILERS; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/ssl_sock.c:7199: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/proto_http.c:5530:3: note: here case HTTP_MSG_TRAILERS: ^~~~ src/ssl_sock.c:7199:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ In file included from include/common/standard.h:36:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_bin': src/ssl_sock.c:7220: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:7220: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:7220:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_xxh64': src/ssl_sock.c:7256: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:7256:83: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/ssl_sock.c:7256: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:7285:20: warning: comparison between signed and unsigned integer expressions [-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:7312: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:7312: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:7351:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/ssl_sock.c:7351: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:7351:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err_depth': src/ssl_sock.c:7373: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:7373: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:7373: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:7395: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:7395:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ In file included from include/common/standard.h:38:0, 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) ^~ src/ssl_sock.c:7395: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:7417: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:7417: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:7417: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': In file included from include/common/htx.h:31:0, from src/proto_htx.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/ssl_sock.c:7441:75: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ca_file(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ^~ src/ssl_sock.c: In function 'bind_parse_ca_sign_file': src/ssl_sock.c:7462: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) ^~ In file included from src/proto_htx.c:16:0: include/common/htx.h: At top level: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ src/ssl_sock.c: In function 'bind_parse_ca_sign_pass': include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ src/ssl_sock.c:7479: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': include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ src/ssl_sock.c:7491: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) ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ src/ssl_sock.c: In function 'ssl_bind_parse_ciphersuites': src/ssl_sock.c:7509:80: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ciphersuites(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ^~ src/ssl_sock.c: In function 'bind_parse_crt': src/ssl_sock.c:7527:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_crt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/ssl_sock.c: In function 'ssl_bind_parse_crl_file': src/ssl_sock.c:7566:76: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_crl_file(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ^~ src/ssl_sock.c: In function 'ssl_bind_parse_curves': src/ssl_sock.c:7593:74: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_curves(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ^~ src/ssl_sock.c: In function 'ssl_bind_parse_ecdhe': src/ssl_sock.c:7615:73: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ecdhe(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ^~ src/ssl_sock.c: In function 'bind_parse_ignore_err': src/ssl_sock.c:7643:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ignore_err(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/ssl_sock.c: In function 'bind_parse_tls_method_options': src/ssl_sock.c:7714: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:7719: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:7754: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:7762: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:7767: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:7773: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:7773:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~~~~ src/ssl_sock.c:7773: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:7773: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:7780: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:7780: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:7780: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:7780: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:7786: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:7786: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:7786: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:7786:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~ src/ssl_sock.c: In function 'ssl_bind_parse_npn': src/ssl_sock.c:7793: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:7849: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:7905: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:7905: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:7905: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:7905: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:7927: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:7927: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:7927: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:7927: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:7934: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:7934: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:7934: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:7934: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:7946: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:7946: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:7946: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:7946:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~ src/ssl_sock.c: In function 'bind_parse_tls_ticket_keys': src/ssl_sock.c:7953: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:8073: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:8102: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:8102: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:8102:79: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ^~ src/ssl_sock.c:8102:118: warning: unused parameter 'err' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ^~~ src/ssl_sock.c: In function 'srv_parse_npn': src/ssl_sock.c:8115: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:8168:68: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_alpn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~ src/ssl_sock.c: In function 'srv_parse_ca_file': src/ssl_sock.c:8229: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:8246:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_check_sni(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~ src/ssl_sock.c: In function 'srv_parse_check_ssl': src/ssl_sock.c:8264: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:8264: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:8264: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:8264:107: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~~ src/ssl_sock.c: In function 'srv_parse_ciphers': src/ssl_sock.c:8284: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:8298: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:8312:72: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_crl_file(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~ src/ssl_sock.c: In function 'srv_parse_crt': src/ssl_sock.c:8335: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:8352: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:8352: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:8352: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:8352: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:8362: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:8362: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:8362:81: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~ src/ssl_sock.c:8362:115: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~~ src/ssl_sock.c: In function 'srv_parse_no_send_proxy_cn': src/ssl_sock.c:8370: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:8370: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:8370: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:8370: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:8379: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:8379: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:8379: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:8379: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:8388: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:8388: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:8388: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:8388: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:8395: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:8395: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:8395: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:8395: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:8402: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:8402: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:8402: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:8402: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:8408: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:8408: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:8408: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:8408: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:8416: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:8416: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:8416: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:8416: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:8425: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:8447: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:8447: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:8447: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:8447: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:8460: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:8460: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:8460: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:8460: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:8467: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:8467: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:8467:75: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~ src/ssl_sock.c:8467:109: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~~ src/ssl_sock.c: In function 'srv_parse_verify': src/ssl_sock.c:8474:70: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_verify(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~ src/ssl_sock.c: In function 'srv_parse_verifyhost': In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/ssl_sock.c:8497:74: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_verifyhost(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~ src/ssl_sock.c: In function 'ssl_parse_default_bind_options': src/ssl_sock.c:8512: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:8512: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:8513:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8513:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8513: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:8544: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:8544: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:8545:59: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8545:78: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8545: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:8576: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:8576: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:8577:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8577:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ In file included from include/proto/channel.h:34:0, from src/proto_htx.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ src/ssl_sock.c:8577: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:8603: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:8603: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:8603: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:8604:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8604:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8604:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8605:47: warning: unused parameter 'err' [-Wunused-parameter] char **err) ^~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_engine': src/ssl_sock.c:8631: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:8631: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:8632:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8632:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8632: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:8674: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:8674: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:8675:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8675:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8675: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:8699:59: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/ssl_sock.c:8699: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:8700:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8700:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8700: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:8724: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:8724: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:8725:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8725:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8725:76: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c: In function 'ssl_parse_global_private_cache': src/ssl_sock.c:8787:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/ssl_sock.c:8787:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx, ^~~~~ src/ssl_sock.c:8788:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8788:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8788:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c: In function 'ssl_parse_global_lifetime': src/ssl_sock.c:8801:55: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_lifetime(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/ssl_sock.c:8801: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:8802:52: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ In file included from include/proto/channel.h:41:0, from src/proto_htx.c:24: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ src/ssl_sock.c:8802:71: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8802:81: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ src/ssl_sock.c: In function 'ssl_parse_global_dh_param_file': include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ src/ssl_sock.c:8827: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:8827:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_dh_param_file(char **args, int section_type, struct proxy *curpx, ^~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ src/ssl_sock.c:8828:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8828:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ src/ssl_sock.c:8828:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ src/ssl_sock.c: In function 'ssl_parse_global_default_dh': src/ssl_sock.c:8849: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:8849: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:8850:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8850:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ In file included from src/proto_htx.c:24:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/ssl_sock.c:8850:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/ssl_sock.c: In function 'cli_parse_show_tlskeys': src/ssl_sock.c:9042:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ src/ssl_sock.c:9042: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': include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ src/ssl_sock.c:9067:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/ssl_sock.c:9067: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:9111: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: At top level: src/ssl_sock.c:9174: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:94:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:9175: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:94:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:9177: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:94:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:9178: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:94:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:9187: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9188: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9190: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9192: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9194: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9196: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9197: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9198: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9199: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9201: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9204: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from src/proto_htx.c:26:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ src/ssl_sock.c:9206: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1046:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ src/ssl_sock.c:9207: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9208: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9209: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9210: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9211: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9212: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9213: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9214: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9215: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9216: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9217: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9218: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from src/proto_htx.c:32:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ src/ssl_sock.c:9219: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9220: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from src/proto_htx.c:33:0: include/proto/proxy.h: At top level: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ src/ssl_sock.c:9221: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ src/ssl_sock.c:9222: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ src/ssl_sock.c:9223: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9224: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9225: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9226: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9227: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9228: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9229: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9230: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9231: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9232: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9233: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9234: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9235: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9236: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_htx.c: In function 'htx_wait_for_request': src/ssl_sock.c:9237: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_htx.c:117:7: warning: signed and unsigned type in conditional expression [-Wsign-compare] : tv_ms_elapsed(&s->logs.tv_accept, &now) - s->logs.t_handshake); ^ src/ssl_sock.c:9239: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9242: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9244: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9246: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9248: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9250: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9253: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9256: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9258: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9259: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9260: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9261: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9262: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:0, from include/types/arg.h:31, from include/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:88: include/types/sample.h:300:15: note: 'use' declared here unsigned int use; /* fetch source (SMP_USE_*) */ ^~~ src/ssl_sock.c:9271: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:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: 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:9272: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:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: 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: In function 'ssl_action_wait_for_hs': src/ssl_sock.c:9454:57: warning: unused parameter 'rule' [-Wunused-parameter] enum act_return ssl_action_wait_for_hs(struct act_rule *rule, struct proxy *px, ^~~~ src/proto_htx.c: In function 'htx_process_tarpit': src/proto_htx.c:995:67: warning: unused parameter 'an_bit' [-Wunused-parameter] int htx_process_tarpit(struct stream *s, struct channel *req, int an_bit) ^~~~~~ src/ssl_sock.c:9454:77: warning: unused parameter 'px' [-Wunused-parameter] enum act_return ssl_action_wait_for_hs(struct act_rule *rule, struct proxy *px, ^~ src/ssl_sock.c:9455: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:9473: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:9473: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:9473: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:9473: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:9481: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:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_sctl_free_func': src/ssl_sock.c:9489:43: warning: unused parameter 'parent' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ^~~~~~ src/ssl_sock.c:9489:78: warning: unused parameter 'ad' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ^~ src/ssl_sock.c:9489: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:9489: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:9489: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:9498: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:9498: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:9498: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:9498: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:9498: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/proto_htx.c: In function 'htx_apply_redirect_rule': src/proto_htx.c:2352:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (qs < path.len) { ^ src/proto_htx.c:2400:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (qs < path.len) { ^ src/proto_htx.c:2317:92: warning: unused parameter 'txn' [-Wunused-parameter] int htx_apply_redirect_rule(struct redirect_rule *rule, struct stream *s, struct http_txn *txn) ^~~ src/proto_htx.c: In function 'htx_transform_header_str': src/proto_htx.c:2560:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (output->data == -1) ^~ src/proto_htx.c:2547: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:2547:64: warning: unused parameter 'chn' [-Wunused-parameter] int htx_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ^~~ src/proto_htx.c: In function 'htx_req_replace_stline': src/proto_htx.c:2668:21: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct stream *s) ^~ src/proto_htx.c: In function 'htx_manage_client_side_cookies': src/proto_htx.c:4263:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((hdr_end - hdr_beg) != ctx.value.len) { ^~ src/proto_htx.c: In function 'htx_check_request_for_cacheability': src/proto_htx.c:4612:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/proto_htx.c: In function 'htx_check_response_for_cacheability': src/proto_htx.c:4691:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/proto_htx.c:4696:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i < v.len && *(v.ptr + i) == '=') { ^ src/proto_htx.c: In function 'htx_stats_check_uri': src/proto_htx.c:4783:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (uri_auth->uri_len > uri.len) ^ src/proto_htx.c: In function 'htx_reply_and_close': src/proto_htx.c:5316:50: warning: unused parameter 'status' [-Wunused-parameter] void htx_reply_and_close(struct stream *s, short status, struct buffer *msg) ^~~~~~ src/proto_htx.c: In function 'htx_capture_headers': src/proto_htx.c:5488:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h->namelen && (h->namelen == n.len) && ^~ src/proto_htx.c:5500:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (v.len > h->len) ^ CC src/stream.o In file included from include/types/proxy.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, 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:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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) ^~ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/stream.c:17: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/stream.c:17: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/stream.c:22:0: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/stream.c:37:0: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from src/stream.c:38:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/stream.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/stream.c:41: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/stream.c:41:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ In file included from src/stream.c:48:0: 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/stream.c:56:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ src/stream.c: In function 'process_sticking_rules': src/stream.c:1556:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/stream.c: In function 'process_store_rules': src/stream.c:1633:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/stream.c: In function 'cli_parse_show_sess': src/stream.c:3225: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:3225:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stream.c: In function 'cli_parse_shutdown_session': src/stream.c:3477: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:3477:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stream.c: In function 'cli_parse_shutdown_sessions_server': src/stream.c:3512:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stream.c:3512:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stream.c: At top level: src/stream.c:3535: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3536: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3537: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3538:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stream.c:28:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/stream.c:3545: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:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/stream.c:3552: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:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ CC src/mux_h2.o In file included from include/types/proxy.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, 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) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: 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:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, 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:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/mux_h2.c:13: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/common/h2.h:34:0, from src/mux_h2.c:16: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/common/hpack-dec.h:34:0, 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 between signed and unsigned integer expressions [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/mux_h2.c:23:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ In file included from include/proto/stream_interface.h:32:0, from src/mux_h2.c:27: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ CC src/stats.o src/mux_h2.c: In function 'h2_avail_streams': src/mux_h2.c:485:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ret2 = h2c->stream_cnt <= srv->max_reuse ? srv->max_reuse - h2c->stream_cnt + 1: 0; ^~ src/mux_h2.c: In function 'h2_peek_frame_hdr': src/mux_h2.c:836:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(b) < o + 9) ^ src/mux_h2.c: In function 'h2s_new': src/mux_h2.c:971:2: warning: label 'out_free_h2s' defined but not used [-Wunused-label] out_free_h2s: ^~~~~~~~~~~~ src/mux_h2.c: In function 'h2c_handle_settings': src/mux_h2.c:1542:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c:1546:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (offset = 0; offset < h2c->dfl; offset += 6) { ^ src/mux_h2.c: In function 'h2c_handle_window_update': src/mux_h2.c:1796:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_handle_goaway': src/mux_h2.c:1863:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_handle_priority': src/mux_h2.c:1882:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c:1885:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h2_get_n32(&h2c->dbuf, 0) == h2c->dsi) { ^~ src/mux_h2.c: In function 'h2c_handle_rst_stream': src/mux_h2.c:1900:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_frt_handle_headers': src/mux_h2.c:1936:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c: In function 'h2c_bck_handle_headers': src/mux_h2.c:2067:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c: In function 'h2c_frt_handle_data': src/mux_h2.c:2143:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c:2154:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((h2s->flags & H2_SF_DATA_CLEN) && (h2c->dfl - h2c->dpl) > h2s->body_len) { ^ src/mux_h2.c: In function 'h2_io_cb': src/mux_h2.c:2905: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:2905:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ^~~~~~ src/mux_h2.c: In function 'h2_timeout_task': src/mux_h2.c:3026:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_timeout_task(struct task *t, void *context, unsigned short state) ^~~~~ src/mux_h2.c: In function 'h2_ctl': src/mux_h2.c:3131:77: warning: unused parameter 'output' [-Wunused-parameter] static int h2_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ^~~~~~ src/mux_h2.c: In function 'h2_deferred_shut': src/mux_h2.c:3396: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:3396: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:3434: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:3511:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) - hole < h2c->dfl) ^ src/mux_h2.c:3539:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (hdr.sid != h2c->dsi) { ^~ src/mux_h2.c:3556:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (clen > hdr.len) ^ src/mux_h2.c:3587:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (read_n32(hdrs) == h2c->dsi) { ^~ In file included from include/types/proxy.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/mux_h2.c:3720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) > h2c->dfl + hole) ^ src/mux_h2.c:3726:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_full(&h2c->dbuf) && h2c->dfl >= b_data(&h2c->dbuf)) { ^~ CC src/flt_spoe.o src/mux_h2.c: In function 'h2_frt_transfer_data': src/mux_h2.c:3826:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (flen > block1) ^ src/mux_h2.c:3831:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (flen > block1) ^ In file included from include/common/http.h:27:0, 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) ^~~~~ src/mux_h2.c:3894:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (block1 > flen) ^ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: 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:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ src/mux_h2.c: In function 'h2s_frt_make_resp_headers': src/mux_h2.c:4062:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (hdr = 1; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ src/mux_h2.c: In function 'h2s_frt_make_resp_data': src/mux_h2.c:4209:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((long long)size > h1m->curr_len) ^ src/mux_h2.c:4268:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (size > max) ^ src/mux_h2.c:4285:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (size + 9 > outbuf.size) { ^ src/mux_h2.c:4314:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!ret || len1 + len2 < size) { ^ src/mux_h2.c:4321:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len1 + len2 > size) { ^ src/mux_h2.c:4324:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len2 > sub) ^ In file included from include/common/config.h:25:0, 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:4472:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h2.c:4517:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ In file included from include/common/config.h:25:0, 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:4679:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h2.c:4742:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ src/mux_h2.c:4765:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ In file included from include/common/config.h:25:0, 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:4941:21: warning: comparison between signed and unsigned integer expressions [-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:4953:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize + 9 <= b_room(&h2c->mbuf) && ^~ src/mux_h2.c:4955:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (fsize <= b_size(&h2c->mbuf) / 4 && fsize + 9 <= b_contig_space(&h2c->mbuf)))) ^~ src/mux_h2.c:4955:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (fsize <= b_size(&h2c->mbuf) / 4 && fsize + 9 <= b_contig_space(&h2c->mbuf)))) ^~ src/mux_h2.c:5038:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize > count) ^ src/mux_h2.c:5047:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize + 9 > outbuf.size) { ^ In file included from include/common/config.h:25:0, 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:5176:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h2.c:5197:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (hdr <= sizeof(list)/sizeof(list[0])) { ^~ src/mux_h2.c:5275:2: warning: label 'done' defined but not used [-Wunused-label] done: ^~~~ src/mux_h2.c: In function 'h2_rcv_buf': src/mux_h2.c:5396:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (count <= global.tune.maxrewrite) ^~ In file included from include/types/proxy.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, 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': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: 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/mux_h2.c: In function 'h2_snd_buf': src/mux_h2.c:5451: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) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ src/mux_h2.c: In function 'h2_parse_header_table_size': src/mux_h2.c:5737:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/mux_h2.c:5737:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ^~~~~ src/mux_h2.c:5738:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/mux_h2.c:5738:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c:5738:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c: In function 'h2_parse_initial_window_size': src/mux_h2.c:5753:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/mux_h2.c:5753: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:5754:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/mux_h2.c:5754:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c:5754: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:5769: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:5769:89: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ^~~~~ src/mux_h2.c:5770:58: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/mux_h2.c:5770:77: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c:5770:87: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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) ^~ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, 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': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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) ^~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/stats.c:27: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/stats.c:27: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/stats.c:32:0: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/stats.c:49:0: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from src/stats.c:50:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, 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:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from src/stats.c:64:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from src/stats.c:67: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from src/stats.c:67: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30:0, from include/proto/stream_interface.h:31, from src/stats.c:71: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ src/stats.c: In function 'stats_putchk': src/stats.c:261:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (chk->data >= channel_htx_recv_max(chn, htx)) ^~ src/stats.c: In function 'stats_emit_json_data_field': src/stats.c:385:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (f->u.s64 < JSON_INT_MIN || f->u.s64 > JSON_INT_MAX) ^ src/stats.c:385:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (f->u.s64 < JSON_INT_MIN || f->u.s64 > JSON_INT_MAX) ^ src/stats.c:410:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !(old_len == out->data); ^~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ src/stats.c: In function 'stats_emit_json_field_tags': src/stats.c:504:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !(old_len == out->data); ^~ src/stats.c: In function 'stats_dump_json_info_fields': src/stats.c:578:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (old_len == out->data) ^~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ src/stats.c: In function 'stats_dump_fields_json': src/stats.c:644:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (old_len == out->data) ^~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/flt_spoe.c:15: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/flt_spoe.c:31:0: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/channel.h:32:0, from include/proto/filters.h:30, from src/flt_spoe.c:32: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ src/stats.c: In function 'stats_fill_sv_stats': src/stats.c:1663:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (sv->max_idle_conns != -1) ^~ In file included from include/proto/filters.h:30:0, from src/flt_spoe.c:32: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/flt_spoe.c:37:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ src/stats.c: In function 'stats_process_http_post': src/stats.c:2787:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (htx_free_data_space(htx) <= global.tune.maxrewrite) { ^~ src/stats.c:2818:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (c_room(&s->req) <= global.tune.maxrewrite) { ^~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from src/flt_spoe.c:40: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/stats.c:2855:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((plen > 0) && (plen <= sizeof(key))) { ^~ In file included from include/proto/session.h:35:0, from src/flt_spoe.c:40: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/flt_spoe.c:42:0: include/proto/spoe.h: In function 'spoe_encode_frag_buffer': include/proto/spoe.h:84:28: warning: signed and unsigned type in conditional expression [-Wsign-compare] ret = (p+len < end) ? len : (end - p); ^ In file included from include/proto/applet.h:30:0, 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:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ src/stats.c: In function 'stats_dump_json_schema': src/stats.c:3915:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (old_len == out->data) { ^~ src/stats.c: In function 'cli_parse_clear_counters': src/stats.c:3940: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:3940: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:4002:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_info(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stats.c:4002:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_info(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stats.c: In function 'cli_parse_show_stat': src/stats.c:4016: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:4016:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_stat(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stats.c: At top level: src/stats.c:4074: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4075: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 [json|typed]", cli_parse_show_info, cli_io_handler_dump_info, NULL }, ^ In file included from src/stats.c:44:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4076: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 [json|typed]", cli_parse_show_stat, cli_io_handler_dump_stat, NULL }, ^ In file included from src/stats.c:44:0: 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", "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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4078:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stats.c:44:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/flt_spoe.c: In function 'spoe_process_appctx': src/flt_spoe.c:1222:71: warning: unused parameter 'state' [-Wunused-parameter] spoe_process_appctx(struct task * task, void *context, unsigned short state) ^~~~~ src/flt_spoe.c: In function 'spoe_sig_stop': src/flt_spoe.c:2962:35: warning: unused parameter 'sh' [-Wunused-parameter] spoe_sig_stop(struct sig_handler *sh) ^~ src/flt_spoe.c: In function 'spoe_init': src/flt_spoe.c:2996:25: warning: unused parameter 'px' [-Wunused-parameter] spoe_init(struct proxy *px, struct flt_conf *fconf) ^~ src/flt_spoe.c: In function 'spoe_deinit': src/flt_spoe.c:3025:27: warning: unused parameter 'px' [-Wunused-parameter] spoe_deinit(struct proxy *px, struct flt_conf *fconf) ^~ src/flt_spoe.c: In function 'spoe_init_per_thread': src/flt_spoe.c:3117:36: warning: unused parameter 'p' [-Wunused-parameter] spoe_init_per_thread(struct proxy *p, struct flt_conf *fconf) ^ src/flt_spoe.c: In function 'spoe_stop': src/flt_spoe.c:3183:26: warning: unused parameter 's' [-Wunused-parameter] spoe_stop(struct stream *s, struct filter *filter) ^ src/flt_spoe.c: In function 'spoe_end_analyze': src/flt_spoe.c:3305:33: warning: unused parameter 's' [-Wunused-parameter] spoe_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ^ src/flt_spoe.c:3305:75: warning: unused parameter 'chn' [-Wunused-parameter] spoe_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ^~~ src/flt_spoe.c: In function 'cfg_parse_spoe_agent': src/flt_spoe.c:3710:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] curagent->max_frame_size > MAX_FRAME_SIZE) { ^ src/flt_spoe.c: In function 'cfg_parse_spoe_group': src/flt_spoe.c:3781:70: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_spoe_group(const char *file, int linenum, char **args, int kwm) ^~~ src/flt_spoe.c: In function 'cfg_parse_spoe_message': src/flt_spoe.c:3870:72: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_spoe_message(const char *file, int linenum, char **args, int kwm) ^~~ src/flt_spoe.c: In function 'parse_spoe_flt': src/flt_spoe.c:4060:59: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ^~~~~~~ src/flt_spoe.c: In function 'spoe_send_group': src/flt_spoe.c:4489:19: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~ src/flt_spoe.c: In function 'parse_send_spoe_group': src/flt_spoe.c:4659:71: warning: unused parameter 'px' [-Wunused-parameter] parse_send_spoe_group(const char **args, int *orig_arg, struct proxy *px, ^~ src/flt_spoe.c: At top level: src/flt_spoe.c:4690: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:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/flt_spoe.c:4698: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:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/flt_spoe.c:4706: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:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/flt_spoe.c:4714: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:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ CC src/server.o In file included from include/types/proxy.h:30:0, 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': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, 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) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: 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:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/server.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/server.c:19: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/server.c:19: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/queue.h:35:0, 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/server.c:33: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/server.c:33: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/server.c:33: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30:0, from src/server.c:33: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046: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:0, from include/proto/stream_interface.h:32, from src/server.c:43: include/common/htx.h: At top level: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/stream_interface.h:32:0, from src/server.c:43: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/server.c: In function 'srv_parse_addr': src/server.c:246: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:292:41: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_agent_check(char **args, int *cur_arg, ^~~~ src/server.c:292:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_agent_check(char **args, int *cur_arg, ^~~~~~~ src/server.c:293:48: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:293: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:300:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_backup(char **args, int *cur_arg, ^~~~ src/server.c:300:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_backup(char **args, int *cur_arg, ^~~~~~~ src/server.c:301:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:301: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:308:35: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check(char **args, int *cur_arg, ^~~~ src/server.c:308:46: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check(char **args, int *cur_arg, ^~~~~~~ src/server.c:309:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:309: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:316:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_send_proxy(char **args, int *cur_arg, ^~~~ src/server.c:316:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_send_proxy(char **args, int *cur_arg, ^~~~~~~ src/server.c:317:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:317: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:325: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:343:38: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_disabled(char **args, int *cur_arg, ^~~~ src/server.c:343:49: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_disabled(char **args, int *cur_arg, ^~~~~~~ src/server.c:344:45: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:344: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:354:37: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_enabled(char **args, int *cur_arg, ^~~~ src/server.c:354:48: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_enabled(char **args, int *cur_arg, ^~~~~~~ src/server.c:355:44: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:355:84: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~ src/server.c: In function 'srv_parse_max_reuse': src/server.c:364: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:378: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:400: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:453:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:453: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:494:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_agent_check(char **args, int *cur_arg, ^~~~ src/server.c:494:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_agent_check(char **args, int *cur_arg, ^~~~~~~ src/server.c:495:52: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:495: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:506:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_backup(char **args, int *cur_arg, ^~~~ src/server.c:506:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_backup(char **args, int *cur_arg, ^~~~~~~ src/server.c:507:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:507: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:514:38: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check(char **args, int *cur_arg, ^~~~ src/server.c:514:49: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check(char **args, int *cur_arg, ^~~~~~~ src/server.c:515:45: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:515: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:524:49: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check_send_proxy(char **args, int *cur_arg, ^~~~ src/server.c:524:60: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check_send_proxy(char **args, int *cur_arg, ^~~~~~~ src/server.c:525:56: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:525:96: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~ src/server.c: At top level: src/server.c:532:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static int inline srv_disable_pp_flags(struct server *srv, unsigned int flags) ^~~~~~ src/server.c: In function 'srv_parse_no_send_proxy': src/server.c:539:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy(char **args, int *cur_arg, ^~~~ src/server.c:539:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy(char **args, int *cur_arg, ^~~~~~~ src/server.c:540:50: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:540: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:546:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_v2(char **args, int *cur_arg, ^~~~ src/server.c:546:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_v2(char **args, int *cur_arg, ^~~~~~~ src/server.c:547:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:547:93: 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:553:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_non_stick(char **args, int *cur_arg, ^~~~ src/server.c:553:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_non_stick(char **args, int *cur_arg, ^~~~~~~ src/server.c:554:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:554:86: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~ src/server.c: At top level: src/server.c:561:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static int inline srv_enable_pp_flags(struct server *srv, unsigned int flags) ^~~~~~ src/server.c: In function 'srv_parse_proto': src/server.c:568: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:587: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:658: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:676:40: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy(char **args, int *cur_arg, ^~~~ src/server.c:676:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy(char **args, int *cur_arg, ^~~~~~~ src/server.c:677:47: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:677: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:683:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_v2(char **args, int *cur_arg, ^~~~ src/server.c:683:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_v2(char **args, int *cur_arg, ^~~~~~~ src/server.c:684:50: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:684: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:692: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:864:35: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_stick(char **args, int *cur_arg, ^~~~ src/server.c:864:46: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_stick(char **args, int *cur_arg, ^~~~~~~ src/server.c:865:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c:865: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:873:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ^~~~~~~~ src/server.c: At top level: src/server.c:1279: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:0, 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:354:6: note: 'default_ok' declared here int default_ok; /* non-zero if kw is supported in default-server section */ ^~~~~~~~~~ src/server.c: In function 'server_parse_weight_change_request': src/server.c:1356:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (w && w != sv->iweight && !(px->lbprm.algo & BE_LB_PROP_DYN)) ^~ src/server.c: In function 'server_health_check_init': src/server.c:1824: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:1875:70: warning: unused parameter 'curproxy' [-Wunused-parameter] struct server *srv, struct proxy *curproxy) ^~~~~~~~ src/server.c: In function 'server_finalize_init': src/server.c:1945:1: warning: label 'err' defined but not used [-Wunused-label] err: ^~~ src/server.c: In function 'srv_tmpl_parse_range': src/server.c:1956:48: warning: unused parameter 'srv' [-Wunused-parameter] static int srv_tmpl_parse_range(struct server *srv, const char *arg, int *nb_low, int *nb_high) ^~~ src/server.c: In function 'snr_resolution_error_cb': src/server.c:3972:66: warning: unused parameter 'error_code' [-Wunused-parameter] int snr_resolution_error_cb(struct dns_requester *requester, int error_code) ^~~~~~~~~~ src/server.c: In function 'cli_parse_set_server': src/server.c:4334:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_server(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/server.c:4334: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:4517: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:4517: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:4560: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:4560: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:4590: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:4590:98: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_maxconn_server(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/server.c: In function 'cli_parse_disable_agent': src/server.c:4620: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:4620:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_agent(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/server.c: In function 'cli_parse_disable_health': src/server.c:4641: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:4641:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_health(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/server.c: In function 'cli_parse_disable_server': src/server.c:4662: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:4662:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_server(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/server.c: In function 'cli_parse_enable_agent': src/server.c:4683: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:4683:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_agent(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/server.c: In function 'cli_parse_enable_health': src/server.c:4711: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:4711:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_health(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/server.c: In function 'cli_parse_enable_server': src/server.c:4732: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:4732: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:4755: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4756: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4757: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4758: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4759: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4760: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4761: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4762: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:0: include/types/cli.h:31:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4763: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:0: include/types/cli.h:31:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4764: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:0: include/types/cli.h:31:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4766:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/server.c:27:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/server.c: In function 'srv_cleanup_idle_connections': src/server.c:5307:92: warning: unused parameter 'state' [-Wunused-parameter] struct task *srv_cleanup_idle_connections(struct task *task, void *context, unsigned short state) ^~~~~ CC src/checks.o In file included from src/checks.c:33:0: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38:0, 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:0: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/checks.c:38:0: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587: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:0, 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/types/proxy.h:32:0, from include/types/global.h:33, from src/checks.c:41: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/checks.c:45:0: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/log.h:37:0, from src/checks.c:49: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from src/checks.c:51:0: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/checks.c:55:0: include/proto/proxy.h: At top level: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/checks.c:56:0: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ CC src/haproxy.o In file included from include/proto/applet.h:30:0, 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:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046: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:0, from include/proto/stream_interface.h:32, from src/checks.c:58: include/common/htx.h: At top level: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/stream_interface.h:32:0, from src/checks.c:58: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/checks.c: In function 'chk_report_conn_err': src/checks.c:620:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ src/checks.c: In function 'event_srv_chk_io': src/checks.c:717: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:717:80: warning: unused parameter 'state' [-Wunused-parameter] static struct task *event_srv_chk_io(struct task *t, void *ctx, unsigned short state) ^~~~~ src/checks.c: In function '__event_srv_chk_w': src/checks.c:781:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) ^~ src/checks.c: In function '__event_srv_chk_r': src/checks.c:849:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) ^~ src/checks.c: In function 'wake_srv_chk': src/checks.c:1440:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ src/checks.c: In function 'server_warmup': src/checks.c:1504:81: warning: unused parameter 'state' [-Wunused-parameter] static struct task *server_warmup(struct task *t, void *context, unsigned short state) ^~~~~ src/checks.c: In function 'connect_conn_chk': src/checks.c:1578:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ src/checks.c:1589:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (check->type && check->type != PR_O2_TCPCHK_CHK && !(check->state & CHK_ST_AGENT)) { ^~ src/checks.c:1663:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] quickack = check->type == 0 || check->type == PR_O2_TCPCHK_CHK; ^~ src/checks.c: In function 'sigchld_handler': src/checks.c:1768:49: warning: unused parameter 'sh' [-Wunused-parameter] static void sigchld_handler(struct sig_handler *sh) ^~ src/checks.c: In function 'process_chk_proc': src/checks.c:2057:84: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_chk_proc(struct task *t, void *context, unsigned short state) ^~~~~ src/checks.c: In function 'process_chk_conn': src/checks.c:2189: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:2388:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (check->type == PR_O2_EXT_CHK) ^~ src/checks.c: In function 'start_check_task': src/checks.c:2400:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (check->type == PR_O2_EXT_CHK) ^~ src/checks.c: In function 'start_checks': src/checks.c:2502:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s->check.type == PR_O2_EXT_CHK) { ^~ In file included from include/types/proxy.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/checks.c: In function 'tcpcheck_main': src/checks.c:2780:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] check->current_step->string_len >= b_room(&check->bo))) { ^~ In file included from include/common/http.h:27:0, 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) ^~~~~ src/checks.c:2999:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (check->current_step->string_len >= b_size(&check->bo)) { ^~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:76: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ src/checks.c:3009:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (check->current_step->string_len >= b_room(&check->bo)) ^~ src/checks.c:3086:78: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!done && (check->current_step->string != NULL) && (b_data(&check->bi) < check->current_step->string_len) ) ^ src/checks.c: In function 'send_email_alert': src/checks.c:3587:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || len >= sizeof(buf)) { ^~ src/checks.c: In function '__health_adjust': src/checks.c:438:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (s->check.health > s->check.rise) ^ src/checks.c:443:3: note: here case HANA_ONERR_FAILCHK: ^~~~ src/checks.c: In function 'process_chk_conn': src/checks.c:2255:17: warning: this statement may fall through [-Wimplicit-fallthrough=] check->state |= CHK_ST_PORT_MISS; src/checks.c:2256:3: note: here case SF_ERR_PRXCOND: ^~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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 include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/haproxy.c:76: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/haproxy.c:76: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/haproxy.c:76: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/haproxy.c:104:0: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/channel.h:32:0, from src/haproxy.c:105: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/haproxy.c:105:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/haproxy.c:107: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/haproxy.c:107: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/haproxy.c:107:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ In file included from src/haproxy.c:111:0: 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/haproxy.c:117:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ src/haproxy.c: In function 'mworker_catch_sighup': src/haproxy.c:820:54: warning: unused parameter 'sh' [-Wunused-parameter] static void mworker_catch_sighup(struct sig_handler *sh) ^~ src/haproxy.c: In function 'mworker_catch_sigchld': src/haproxy.c:842:55: warning: unused parameter 'sh' [-Wunused-parameter] static void mworker_catch_sigchld(struct sig_handler *sh) ^~ src/haproxy.c: In function 'sig_pause': src/haproxy.c:986: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:995:44: warning: unused parameter 'sh' [-Wunused-parameter] static void sig_listen(struct sig_handler *sh) ^~ src/haproxy.c: In function 'sig_dump_state': src/haproxy.c:1003:48: warning: unused parameter 'sh' [-Wunused-parameter] static void sig_dump_state(struct sig_handler *sh) ^~ src/haproxy.c: In function 'dump': src/haproxy.c:1049: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:1267:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (totlen / sizeof(int) + got_fd > fd_nb) { ^ src/haproxy.c: In function 'init': src/haproxy.c:2074:44: warning: signed and unsigned type in conditional expression [-Wsign-compare] nbbe += cur->fullconn ? cur->fullconn : global.maxconn; ^ src/haproxy.c: In function 'manage_global_listener_queue': src/haproxy.c:2756: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:2756: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:3062:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (limit.rlim_cur < global.maxsock) { ^ CC src/cfgparse.o In file included from include/types/proxy.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, 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/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/cfgparse.c:36: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/cfgparse.c:59:0: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/channel.h:32:0, from src/cfgparse.c:60: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/cfgparse.c:60:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/cfgparse.c:76:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from src/cfgparse.c:80: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from src/cfgparse.c:80: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/cfgparse.c:86:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046: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 'cfg_parse_peers': src/cfgparse.c:501: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:706: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:1086: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:1267:55: warning: unused parameter 'args' [-Wunused-parameter] cfg_parse_netns(const char *file, int linenum, char **args, int kwm) ^~~~ src/cfgparse.c:1267:65: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_netns(const char *file, int linenum, char **args, int kwm) ^~~ src/cfgparse.c: In function 'cfg_parse_users': src/cfgparse.c:1309:65: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_users(const char *file, int linenum, char **args, int kwm) ^~~ src/cfgparse.c: In function 'check_config_validity': src/cfgparse.c:2129:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (nbproc = 0; nbproc < LONGBITS; nbproc++) { ^ CC src/flt_http_comp.o In file included from include/common/buffer.h:30:0, from src/flt_http_comp.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32:0, 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 src/flt_http_comp.c:13:0: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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_http_comp.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:0, from include/types/connection.h:31, from include/types/server.h:39, 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_http_comp.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/flt_http_comp.c:14: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/flt_http_comp.c:15:0: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/filters.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/flt_http_comp.c:29:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ src/flt_http_comp.c: In function 'comp_flt_init': 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 between signed and unsigned integer expressions [-Wsign-compare] if (ret == sz && !b_data(&trash)) { ^~ src/flt_http_comp.c: In function 'comp_http_data': src/flt_http_comp.c:341:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > block) ^ src/flt_http_comp.c:308: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:364: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:404:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (st->hdrs_len > len) { ^ src/flt_http_comp.c:432:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret != b_data(&tmpbuf)) { ^~ src/flt_http_comp.c: In function 'htx_set_comp_reshdr': src/flt_http_comp.c:539: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:757:18: warning: comparison between signed and unsigned integer expressions [-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:937:42: warning: comparison between signed and unsigned integer expressions [-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:1030:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ctx.value.len >= comp_type->name_len && ^~ src/flt_http_comp.c:1048:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (read_freq_ctr(&global.comp_bps_in) > global.comp_rate_lim) ^ src/flt_http_comp.c:1061:3: warning: label 'deinit_comp_ctx' defined but not used [-Wunused-label] deinit_comp_ctx: ^~~~~~~~~~~~~~~ src/flt_http_comp.c: In function 'http_compression_buffer_add_data': src/flt_http_comp.c:1153:13: warning: comparison between signed and unsigned integer expressions [-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:1237:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (left > co_data(chn)) ^ src/flt_http_comp.c: In function 'parse_compression_options': src/flt_http_comp.c:1341:44: warning: unused parameter 'section' [-Wunused-parameter] parse_compression_options(char **args, int section, struct proxy *proxy, ^~~~~~~ src/flt_http_comp.c:1342: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:1405:28: warning: unused parameter 'args' [-Wunused-parameter] parse_http_comp_flt(char **args, int *cur_arg, struct proxy *px, ^~~~ src/flt_http_comp.c:1406: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:1484:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_res_comp(const struct arg *args, struct sample *smp, const char *kw, ^~~~ src/flt_http_comp.c:1484: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:1485:12: warning: unused parameter 'private' [-Wunused-parameter] void *private) ^~~~~~~ src/flt_http_comp.c: In function 'smp_fetch_res_comp_algo': src/flt_http_comp.c:1498:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_res_comp_algo(const struct arg *args, struct sample *smp, ^~~~ src/flt_http_comp.c:1499:16: warning: unused parameter 'kw' [-Wunused-parameter] const char *kw, void *private) ^~ src/flt_http_comp.c:1499:26: warning: unused parameter 'private' [-Wunused-parameter] const char *kw, void *private) ^~~~~~~ src/flt_http_comp.c: At top level: src/flt_http_comp.c:1544: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:0, from include/types/arg.h:31, from include/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:1545: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:0, from include/types/arg.h:31, from include/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_*) */ ^~~ CC src/http_fetch.o In file included from src/http_fetch.c:20:0: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32:0, 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) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: 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/h1.h:25:0, from src/http_fetch.c:24: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/h1.h:28:0, from src/http_fetch.c:24: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/common/h1.h:31, 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/h1.h:31:0, from src/http_fetch.c:24: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/http_fetch.c:26:0: include/common/htx.h: At top level: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from src/http_fetch.c:39: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ CC src/dns.o In file included from include/proto/log.h:37:0, from src/http_fetch.c:39: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/proto/proto_http.h:29:0, from src/http_fetch.c:41: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/http_fetch.c:41:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ src/http_fetch.c: In function 'smp_prefetch_http': src/http_fetch.c:340:37: warning: unused parameter 'px' [-Wunused-parameter] int smp_prefetch_http(struct proxy *px, struct stream *s, unsigned int opt, ^~ src/http_fetch.c:340: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': src/http_fetch.c:443: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:443: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:443: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:496: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:496: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:496: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:536: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:536: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:536: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:577: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:577: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:577: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:611: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:611: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:611: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:634: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:634: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:634: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:701: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:701: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:701: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:907:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (block1 > b_wrap(&chn->buf) - body) ^ src/http_fetch.c:863: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:863: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:863: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:935: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:935: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:935: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:983: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:983: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:983: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:1030: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:1030: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:1030: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:1061: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:1061: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:1061: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:1094: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:1094: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:1094: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:1133: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:1237: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:1295: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:1367: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:1481: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:1592:45: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_path(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ In file included from include/types/proxy.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/http_fetch.c:1592: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:1592: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:1738: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:1738: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:1738: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:1864: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:1864:84: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_query(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ In file included from include/common/http.h:27:0, 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': src/http_fetch.c:1864:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_query(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ include/common/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: In function 'smp_fetch_proto_http': include/common/ist.h: In function 'ist2str_lc': include/common/ist.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:1905: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:1905: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) ^~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.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:1905: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:1930: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:1930: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:1930: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) ^~~~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/http.h: At top level: src/http_fetch.c: In function 'smp_fetch_http_auth': include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ src/http_fetch.c:1938: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:1938: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:1968: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:1968: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:2013: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:2013: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:2037: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:2037:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_res_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_req_method': src/http_fetch.c:2059: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:2059: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:2059: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:2085: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:2085: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:2085: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:2123: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:2123: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:2123: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:2145: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:2145: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:2145:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_res_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/http_fetch.c: In function 'smp_fetch_cookie': src/http_fetch.c:2303:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ctx->vlen < args->data.str.data + 1) ^ src/http_fetch.c:2174: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:2428:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ctx.vlen < args->data.str.data + 1) ^ src/http_fetch.c:2350:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_cookie_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/http_fetch.c: In function 'smp_fetch_param': src/http_fetch.c:2477: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:2477: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:2477: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) ^~~~~~~ src/http_fetch.c: In function 'smp_fetch_body_param': src/http_fetch.c:2661:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (block1 > b_wrap(&chn->buf) - body) ^ src/http_fetch.c: In function 'smp_fetch_url32': src/http_fetch.c:2714: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:2714: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:2714:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url32(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/http_fetch.c: At top level: src/http_fetch.c:2857: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:0, from include/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:2858: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:0, from include/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:2859: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:0, from include/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] { "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:0, from include/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.method", smp_fetch_capture_req_method, 0, NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7:0, from include/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:2866: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:0, from include/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:2867: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:0, from include/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.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:0, from include/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.res.ver", smp_fetch_capture_res_ver, 0, NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7:0, from include/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:2876: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:0, from include/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:2877: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:0, from include/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:2878: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:0, from include/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_val", smp_fetch_cookie_val, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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:2885: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:0, from include/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:2886: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:0, from include/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:2887: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:0, from include/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_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:0, from include/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] { "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:0, from include/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] { "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:0, from include/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:2892: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:0, from include/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] { "method", smp_fetch_meth, 0, NULL, SMP_T_METH, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7:0, from include/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] { "path", smp_fetch_path, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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] { "query", smp_fetch_query, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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] { "req.proto_http", smp_fetch_proto_http, 0, NULL, SMP_T_BOOL, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7:0, from include/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:2899: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:0, from include/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.ver", smp_fetch_rqver, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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:2903: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:0, from include/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:2905: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:0, from include/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.body_len", smp_fetch_body_len, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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:2907: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:0, from include/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:2908: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:0, from include/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.hdrs", smp_fetch_hdrs, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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.hdrs_bin", smp_fetch_hdrs_bin, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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] { "res.ver", smp_fetch_stver, 0, NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7:0, from include/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:2915: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:0, from include/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] { "req.cook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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:2919: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:0, from include/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:2920: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:0, from include/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.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:0, from include/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.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:0, from include/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:2924: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:0, from include/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.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:0, from include/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.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:0, from include/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_names", smp_fetch_hdr_names, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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_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:0, from include/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] { "res.cook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7:0, from include/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:2932: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:0, from include/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:2933: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:0, from include/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.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:0, from include/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.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:0, from include/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:2937: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:0, from include/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.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:0, from include/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.hdr_ip", smp_fetch_hdr_ip, ARG2(0,STR,SINT), val_hdr, SMP_T_IPV4, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7:0, from include/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_names", smp_fetch_hdr_names, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7:0, from include/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_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:0, from include/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] { "scook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7:0, from include/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:2945: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:0, from include/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:2946: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:0, from include/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] { "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:0, from include/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] { "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:0, from include/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:2951: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:0, from include/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:2952: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:0, from include/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_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:0, from include/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] { "status", smp_fetch_stcode, 0, NULL, SMP_T_SINT, SMP_USE_HRSHP }, ^ In file included from include/types/vars.h:7:0, from include/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] { "unique-id", smp_fetch_uniqueid, 0, NULL, SMP_T_STR, SMP_SRC_L4SRV }, ^ In file included from include/types/vars.h:7:0, from include/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:2957: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:0, from include/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] { "url32", smp_fetch_url32, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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] { "url32+src", smp_fetch_url32_src, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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_ip", smp_fetch_url_ip, 0, NULL, SMP_T_IPV4, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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] { "url_port", smp_fetch_url_port, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7:0, from include/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] { "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:0, from include/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] { "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:0, from include/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] { "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:0, from include/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/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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 include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/dns.c:22: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/dns.c:22: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/channel.h:32:0, from src/dns.c:35: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/dns.c:35:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from src/dns.c:41: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, from src/dns.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/dns.c:41:0: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30:0, from include/proto/stream_interface.h:31, from src/dns.c:45: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ src/dns.c: In function 'dns_build_query': src/dns.c:221:72: warning: comparison between signed and unsigned integer expressions [-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:538:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv->uweight != ha_weight) { ^~ src/dns.c: In function 'dns_resolve_recv': src/dns.c:1510:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (buflen > resolvers->accepted_payload_size) { ^ src/dns.c: In function 'dns_process_resolvers': src/dns.c:1723: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:1968: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:1968: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:2059: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:30:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/dns.c:2060:3: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/dns.c:30:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ CC src/stick_table.o In file included from include/common/standard.h:36:0, from src/stick_table.c:21: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38:0, from src/stick_table.c:21: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/stick_table.c:21:0: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/stick_table.c:22:0: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587: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:0, from include/types/proxy.h:32, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ CC src/mux_h1.o In file included from include/types/proxy.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/http.h:27:0, 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) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: 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:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/proto/log.h:37:0, from src/stick_table.c:34: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/proto/channel.h:32:0, from include/proto/proto_http.h:29, from src/stick_table.c:35: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/proto_http.h:29:0, from src/stick_table.c:35: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/stick_table.c:35:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ In file included from src/stick_table.c:37:0: include/proto/proxy.h: At top level: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/queue.h:35:0, 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/stick_table.c:40: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, 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:40: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/stick_table.c:40: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30:0, from include/proto/stream_interface.h:31, from src/stick_table.c:40: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ src/stick_table.c: In function 'process_table_expire': src/stick_table.c:586: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:868: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:895: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:932: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:968: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:1004: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:1041: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:1078: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:1114: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:1150: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:1187: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:1223: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:1260: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:1296: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:1333: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:1369: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:1406: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:1442: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:1478: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:1514: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:1550: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:1587: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:1615: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:1616: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:1662: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:1697: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:1698: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:1744: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:1779: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:1780:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/stick_table.c: In function 'parse_set_gpt0': src/stick_table.c:1820:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_set_gpt0(const char **args, int *arg, struct proxy *px, ^~ src/stick_table.c: In function 'smp_fetch_table_cnt': src/stick_table.c:1869: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:1869:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_table_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/stick_table.c: In function 'smp_fetch_table_avl': src/stick_table.c:1881:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_table_avl(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/stick_table.c:1881: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:2013: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:2036: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:2077: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:2118: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:2159:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_gpc0_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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) ^~ src/stick_table.c: In function 'smp_fetch_sc_gpc1_rate': src/stick_table.c:2200: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:2240:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_inc_gpc0(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_inc_gpc1': src/stick_table.c:2293:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_inc_gpc1(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/stick_table.c: In function 'smp_fetch_sc_clr_gpc0': src/stick_table.c:2346:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_clr_gpc0(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_clr_gpc1': src/stick_table.c:2390: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:2434: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:2475:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_conn_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/stick_table.c: In function 'smp_fetch_src_updt_conn_cnt': src/stick_table.c:2515: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:2515: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) ^~~~~~~ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/stick_table.c: In function 'smp_fetch_sc_conn_cur': src/stick_table.c:2567: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:2606:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_sess_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_sess_rate': src/stick_table.c:2644:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_http_req_cnt': src/stick_table.c:2684:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_http_req_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_http_req_rate': src/stick_table.c:2723: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:2763: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:2802:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_http_err_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_kbytes_in': In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, 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:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ src/stick_table.c:2842: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:2881: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:2921: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:2960:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_bytes_out_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_trackers': src/stick_table.c:2999:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_trackers(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/stick_table.c: In function 'cli_parse_table_req': src/stick_table.c:3392:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_table_req(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stick_table.c: At top level: src/stick_table.c:3625: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:27:0: 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:3626: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:27:0: 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:3627: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:27:0: 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:3628:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stick_table.c:27:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/stick_table.c:3634: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3635: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3636: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3643: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3644: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3645: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3652: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3653: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3654: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3661: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3662: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3663: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3670: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3671: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3672: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3679: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3680: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3681: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/http_rules.h:27:0, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3699: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3700: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3701: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3702: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3703: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3704: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3705: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3706: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3707: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3708: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3709: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3710: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3711: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3712: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3713: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3714: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3715: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3716: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3717: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3718: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3719: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/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/proto/stream.h: At top level: In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ src/stick_table.c:3720: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3721: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3722: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3723:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ src/stick_table.c:3724: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3725: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3726: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3727: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3728: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ src/stick_table.c:3729: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3730: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3731: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3732: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3733: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ src/stick_table.c:3734: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ src/stick_table.c:3735: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3736: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3737: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ src/stick_table.c:3738: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3739: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3740: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3741: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ src/stick_table.c:3742: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3743: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3744: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3745: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: 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:31:0, from src/mux_h1.c:12: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ src/stick_table.c:3746: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ src/stick_table.c:3747: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3748: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, }, ^ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ src/stick_table.c:3749: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3750:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3751: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3752: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3753: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3754: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3755: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3756: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3757: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3758:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3759: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3760: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3761: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3762: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3763: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from src/mux_h1.c:15:0: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ src/stick_table.c:3764: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ src/stick_table.c:3765: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ src/stick_table.c:3766: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, }, ^ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ src/stick_table.c:3767: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3768: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3769: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3770: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: 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_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ src/stick_table.c:3771: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: 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:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ src/stick_table.c:3772: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3773: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3774: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3775: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3776: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3777: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3778: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3779: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3780: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3781: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3782: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3783: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3784: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3785: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3786: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3787: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3788: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3789: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3790: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3791: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3792: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3793:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_tracked", smp_fetch_sc_tracked, ARG1(0,TAB), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3794: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3795: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3796: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h1.c:22: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ src/stick_table.c:3797: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3798: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3799: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/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h1.c:22: include/proto/queue.h: In function 'server_has_room': In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/stick_table.c:3800: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3801: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/mux_h1.c:22: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ src/stick_table.c:3802: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ src/stick_table.c:3803:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_get_gpc0", smp_fetch_sc_get_gpc0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3804: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3805: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ src/stick_table.c:3806: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/stick_table.c:3807: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3808: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3809: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3810: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3811: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3812: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3813: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3814: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3815: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3816:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_sess_rate", smp_fetch_sc_sess_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3817:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_updt_conn_cnt", smp_fetch_src_updt_conn_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3818: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3819: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3827: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3828: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3829: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3830: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3831: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3832: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3833: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3834: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3835: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3836: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3837: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3838: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3839: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3840: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3841: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3842: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3843: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3844: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3845: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3846: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3847: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:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: 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/mux_h1.c:22:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ In file included from include/proto/stream_interface.h:32:0, from src/mux_h1.c:27: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/mux_h1.c: In function 'h1_add_conn_hdr': src/mux_h1.c:627:41: warning: unused parameter 'h1m' [-Wunused-parameter] static void h1_add_conn_hdr(struct h1m *h1m, struct htx *htx, struct ist value) ^~~ src/mux_h1.c: In function 'h1_set_cli_conn_mode': src/mux_h1.c:648:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((h1s->flags & H1S_F_WANT_MSK) < flag) ^ src/mux_h1.c: In function 'h1_set_srv_conn_mode': src/mux_h1.c:701:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((h1s->flags & H1S_F_WANT_MSK) < flag) ^ src/mux_h1.c: In function 'h1_capture_bad_message': src/mux_h1.c:906:43: warning: signed and unsigned type in conditional expression [-Wsign-compare] (h1m->err_pos >= 0) ? h1m->err_pos : h1m->next, ^ src/mux_h1.c: In function 'h1_process_headers': src/mux_h1.c:1047:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > (b_size(buf) - global.tune.maxrewrite)) ^ src/mux_h1.c: In function 'h1_process_data': src/mux_h1.c:1197:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > data_space) ^ src/mux_h1.c:1201:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ In file included from include/common/config.h:25:0, from include/common/cfgparse.h:26, from src/mux_h1.c:12: src/mux_h1.c:1212:43: warning: comparison between signed and unsigned integer expressions [-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/mux_h1.c:1283:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > data_space) ^ src/mux_h1.c:1287:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ src/mux_h1.c:1315:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > data_space) ^ src/mux_h1.c:1357:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > data_space) ^ src/mux_h1.c:1359:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ src/mux_h1.c: In function 'h1_io_cb': src/mux_h1.c:2035:43: warning: unused parameter 't' [-Wunused-parameter] static struct task *h1_io_cb(struct task *t, void *ctx, unsigned short status) ^ src/mux_h1.c:2035:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h1_io_cb(struct task *t, void *ctx, unsigned short status) ^~~~~~ src/mux_h1.c: In function 'h1_timeout_task': src/mux_h1.c:2076:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h1_timeout_task(struct task *t, void *context, unsigned short state) ^~~~~ src/mux_h1.c: In function 'h1_rcv_buf': src/mux_h1.c:2377:77: warning: unused parameter 'count' [-Wunused-parameter] static size_t h1_rcv_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ^~~~~ src/mux_h1.c: In function 'h1_snd_buf': src/mux_h1.c:2402:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h1_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ^~~~~ src/mux_h1.c: In function 'h1_ctl': src/mux_h1.c:2488:77: warning: unused parameter 'output' [-Wunused-parameter] static int h1_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ^~~~~~ CC src/peers.o In file included from include/common/standard.h:36:0, from include/common/time.h:30, from src/peers.c:25: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38:0, from include/common/time.h:30, from src/peers.c:25: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/time.h:30:0, from src/peers.c:25: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/peers.c:25:0: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ CC src/standard.o In file included from src/standard.c:27:0: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, 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) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.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:32:0, from include/types/global.h:33, from src/peers.c:29: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from src/standard.c:29: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/standard.c:29:0: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/queue.h:35:0, 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/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, 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 between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/log.h:37:0, from include/proto/server.h:36, 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/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/peers.c:36: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30:0, from src/peers.c:36: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046: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:0, from src/peers.c:37: include/common/htx.h: At top level: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/peers.c:37:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/peers.c:44:0: include/proto/proxy.h: At top level: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ src/peers.c: In function 'peer_prepare_updatemsg': src/peers.c:293:121: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_updatemsg(struct stksess *ts, struct shared_table *st, unsigned int updateid, char *msg, size_t size, int use_identifier, int use_timed) ^~~~ src/peers.c: In function 'peer_prepare_switchmsg': src/peers.c:405:78: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_switchmsg(struct shared_table *st, char *msg, size_t size) ^~~~ src/peers.c: In function 'peer_prepare_ackmsg': src/peers.c:487:75: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_ackmsg(struct shared_table *st, char *msg, size_t size) ^~~~ src/peers.c: In function 'peer_io_handler': src/peers.c:869:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (repl >= trash.size) { ^~ src/peers.c:1011:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 3 ; i < sizeof(msg_head) ; i++) { ^ src/peers.c:1154:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] && (table_id_len == strlen(st->table->id)) ^~ src/peers.c:1192:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (curpeer->remote_table->table->type != table_type ^~ src/peers.c:1193:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] || curpeer->remote_table->table->key_size != table_keylen) { ^~ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/standard.c:31: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: 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:32:0, from include/types/global.h:33, from src/standard.c:31: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ src/peers.c:1444:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st->local_id == table_id) { ^~ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/standard.c:31: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/standard.c: In function 'ulltoa': src/standard.c:151:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ src/standard.c: In function 'ultoa_o': src/standard.c:263:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ src/peers.c: In function 'cli_parse_show_peers': src/peers.c:2343:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_peers(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/standard.c: In function 'utoa_pad': src/standard.c:369:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ src/standard.c:371:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i < size) ^ src/peers.c:2343: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: At top level: src/peers.c:2591: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:0, from src/peers.c:38: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/standard.c: In function 'url2sa': src/standard.c:1316:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (trash.size < ulen) ^ In file included from include/common/mini-clist.h:178:0, from include/common/memory.h:33, from include/common/chunk.h:30, from include/common/standard.h:36, from include/common/time.h:30, from src/peers.c:25: src/peers.c: In function 'peer_io_handler': include/common/hathreads.h:293:38: warning: this statement may fall through [-Wimplicit-fallthrough=] #define HA_ATOMIC_ADD(val, i) __atomic_add_fetch(val, i, __ATOMIC_SEQ_CST) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/peers.c:779:5: note: in expansion of macro 'HA_ATOMIC_ADD' HA_ATOMIC_ADD(&active_peers, 1); ^~~~~~~~~~~~~ src/peers.c:782:4: note: here case PEER_SESS_ST_SENDSUCCESS: { ^~~~ src/peers.c:883:17: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st0 = PEER_SESS_ST_GETSTATUS; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/peers.c:886:4: note: here case PEER_SESS_ST_GETSTATUS: { ^~~~ src/peers.c:968:17: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st0 = PEER_SESS_ST_WAITMSG; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/peers.c:971:4: note: here case PEER_SESS_ST_WAITMSG: { ^~~~ src/peers.c:1906:32: warning: this statement may fall through [-Wimplicit-fallthrough=] case PEER_SESS_ST_ERRPROTO: { ^ src/peers.c:1921:4: note: here case PEER_SESS_ST_END: { ^~~~ src/standard.c: In function 'buf2ip': src/standard.c:2546:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (addr = buf; addr - buf < len; addr++) { ^ src/standard.c: In function 'quote_arg': src/standard.c:2617:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; i < sizeof(val) - 2 && *ptr; i++) ^ src/standard.c: In function 'in_net_ipv6': src/standard.c:2675:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/standard.c: In function 'strnistr': src/standard.c:3713:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (tmp1 >= len_str1) ^~ src/standard.c:3730:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (*pptr == '\0' || tmp2 == len_str2) /* end of pattern found */ ^~ src/standard.c:3732:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (*sptr == '\0' || tmp2 == len_str1) /* end of string found and the pattern is not fully found */ ^~ src/standard.c: In function 'dump_text_line': src/standard.c:3973:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (end > out->size) ^ src/standard.c:3981:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (out->data > end - 2) ^ src/standard.c:3985:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (out->data > end - 3) ^ src/standard.c:3997:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (out->data > end - 5) ^ src/standard.c: In function 'trace': src/standard.c:4067:18: warning: unused parameter 'msg' [-Wunused-parameter] void trace(char *msg, ...) ^~~ CC src/proxy.o In file included from include/types/proxy.h:30:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, 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/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ CC src/cli.o In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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/namespace.h: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:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587: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:0, 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 between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, 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) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/proxy.c:21: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/proxy.c:21: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/queue.h:35:0, 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/proxy.c:39: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, 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/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/proxy.c:39: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30:0, from src/proxy.c:39: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046: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:0, from include/proto/filters.h:30, from src/proxy.c:43: include/common/htx.h: At top level: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/filters.h:30:0, from src/proxy.c:43: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/proxy.c:48:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:220:10: warning: comparison between signed and unsigned integer expressions [-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:0, from include/common/cfgparse.h:30, from src/proxy.c:21: include/types/proxy.h:528:15: note: 'mode' declared here unsigned int mode; ^~~~ 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:317:52: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_rate_limit(char **args, int section, struct proxy *proxy, ^~~~~~~ src/proxy.c:318:68: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/proxy.c:318: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:372:54: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_max_ka_queue(char **args, int section, struct proxy *proxy, ^~~~~~~ src/proxy.c:373:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/proxy.c:373:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/proxy.c:373: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:411:49: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_declare(char **args, int section, struct proxy *curpx, ^~~~~~~ src/proxy.c:412:65: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/proxy.c:412:75: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/proxy.c: In function 'manage_proxy': src/proxy.c:895: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:977: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:977: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:978:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/proxy.c:978:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/proxy.c:978: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:995:46: warning: unused parameter 'context' [-Wunused-parameter] struct task *hard_stop(struct task *t, void *context, unsigned short state) ^~~~~~~ src/proxy.c:995:70: warning: unused parameter 'state' [-Wunused-parameter] struct task *hard_stop(struct task *t, void *context, unsigned short state) ^~~~~ src/proxy.c: In function 'proxy_capture_error': src/proxy.c:1451:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len1 > buf_len) ^ src/proxy.c: In function 'cli_parse_show_servers': src/proxy.c:1571: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:1571:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_servers(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/proxy.c: In function 'cli_parse_enable_dyncookie_backend': src/proxy.c:1748: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:1748:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/proxy.c: In function 'cli_parse_disable_dyncookie_backend': src/proxy.c:1780: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:1780: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:1815: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:1815: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:1864: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:1864:100: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_maxconn_frontend(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/proxy.c: In function 'cli_parse_shutdown_frontend': src/proxy.c:1916:59: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_frontend(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/proxy.c:1916: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:1947: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:1947: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:1990: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:1990: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:2032: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:2032:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_errors(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/proxy.c: In function 'cli_io_handler_show_errors': src/proxy.c:2199:33: warning: comparison between signed and unsigned integer expressions [-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:2235: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2236: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2237: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2238: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2239: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2240: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2241: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2242: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2243: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2244: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2245:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/proxy.c:33:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, 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': include/common/namespace.h: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: In function 'get_gmt_offset': src/standard.c:2923:32: warning: '%02d' directive output may be truncated writing between 2 and 7 bytes into a region of size 5 [-Wformat-truncation=] snprintf(gmt_offset+1, 4+1, "%02d%02d", diff/60, diff%60); ^~~~ src/standard.c:2923:31: note: directive argument in the range [-596523, 596523] snprintf(gmt_offset+1, 4+1, "%02d%02d", diff/60, diff%60); ^~~~~~~~~~ src/standard.c:2923:31: note: directive argument in the range [-59, 59] src/standard.c:2923:3: note: 'snprintf' output between 5 and 11 bytes into a destination of size 5 snprintf(gmt_offset+1, 4+1, "%02d%02d", diff/60, diff%60); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, 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:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, 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:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/cli.c:29: include/proto/stream.h: At top level: include/proto/stream.h:205:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:243:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:283:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:318:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:324:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:331:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:344:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/cli.c:29: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/cli.c:50:0: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/channel.h:32:0, from src/cli.c:51: include/common/htx.h:231:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:236:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:241:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:246:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:251:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:256:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:262:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:267:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:272:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:391:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/cli.c:51:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from src/cli.c:66: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from src/cli.c:66: include/proto/server.h: At top level: include/proto/server.h:64:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:72:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:243:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30:0, from include/proto/stream_interface.h:31, from src/cli.c:69: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1032:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1032:65: warning: comparison between signed and unsigned integer expressions [-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:1046:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ src/cli.c: In function 'alloc_stats_fe': src/cli.c:199:49: warning: unused parameter 'name' [-Wunused-parameter] static struct proxy *alloc_stats_fe(const char *name, const char *file, int line) ^~~~ src/cli.c: In function 'stats_parse_global': src/cli.c:232:48: warning: unused parameter 'section_type' [-Wunused-parameter] static int stats_parse_global(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/cli.c:232:76: warning: unused parameter 'curpx' [-Wunused-parameter] static int stats_parse_global(char **args, int section_type, struct proxy *curpx, ^~~~~ src/cli.c:233:45: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/cli.c: In function 'cli_io_handler_show_cli_sock': src/cli.c:1130:26: warning: comparison between signed and unsigned integer expressions [-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:1161: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:1161: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:1195: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:1195: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:1210: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:1210: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:1247: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:1247: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:1300: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:1300: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:1313: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:1313: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:1313: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:1332: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:1332: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_reload': src/cli.c:1356:36: warning: unused parameter 'args' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ^~~~ src/cli.c:1356:48: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/cli.c:1356:86: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/cli.c: In function 'cli_parse_default': src/cli.c:1366:30: warning: unused parameter 'args' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ^~~~ src/cli.c:1366:42: warning: unused parameter 'payload' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/cli.c:1366:66: warning: unused parameter 'appctx' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~ src/cli.c:1366: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:1372: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:1372: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:1432: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:1450: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:1475: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:1554:29: warning: unused parameter 'args' [-Wunused-parameter] static int _getsocks(char **args, char *payload, struct appctx *appctx, void *private) ^~~~ src/cli.c:1554:41: warning: unused parameter 'payload' [-Wunused-parameter] static int _getsocks(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/cli.c:1554: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:1739:48: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_simple(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/cli.c:1739:86: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_simple(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/cli.c: In function 'pcli_wait_for_request': src/cli.c:2075: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:2170: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:2652: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2653: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2654: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2655: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2656: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2657: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2658: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2659: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2662: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2663: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:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2668: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:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2669:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/cli.c:44:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/cli.c: In function 'cli_io_handler_show_cli_sock': src/cli.c:1073:16: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st2 = STAT_ST_LIST; ~~~~~~~~~~~~^~~~~~~~~~~~~~ src/cli.c:1075:3: note: here case STAT_ST_LIST: ^~~~ src/cli.c:1076:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (global.stats_fe) { ^ src/cli.c:1150:3: note: here default: ^~~~~~~ src/peers.c: In function 'process_peer_sync': src/peers.c:2284:1: error: unable to find a register to spill in class 'R0_REGS' } ^ src/peers.c:2284:1: error: this is the insn: (insn 678 677 679 94 (parallel [ (set (subreg:SI (reg:HI 700) 0) (unspec_volatile:SI [ (mem/v:HI (reg/f:SI 4 r4 [orig:267 _205 ] [267]) [-1 S2 A16]) (subreg:HI (reg/v:SI 7 r7 [orig:274 state ] [274]) 0) (subreg:HI (reg:SI 699) 0) ] UNSPECV_CMPXCHG_1)) (set (mem/v:HI (reg/f:SI 4 r4 [orig:267 _205 ] [267]) [-1 S2 A16]) (unspec_volatile:HI [ (const_int 0 [0]) ] UNSPECV_CMPXCHG_2)) (set (reg:SI 147 t) (unspec_volatile:SI [ (const_int 0 [0]) ] UNSPECV_CMPXCHG_3)) (clobber (scratch:SI)) (clobber (reg:SI 0 r0)) (clobber (reg:SI 1 r1)) ]) "include/proto/task.h":157 402 {atomic_compare_and_swaphi_soft_gusa} (expr_list:REG_DEAD (reg:SI 699) (expr_list:REG_DEAD (reg/v:SI 7 r7 [orig:274 state ] [274]) (expr_list:REG_UNUSED (reg:SI 1 r1) (expr_list:REG_UNUSED (reg:SI 0 r0) (nil)))))) src/peers.c:2284: confused by earlier errors, bailing out Makefile:1010: recipe for target 'src/peers.o' failed make[1]: *** [src/peers.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/haproxy-1.9.13' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/haproxy-1.9.13/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/haproxy-1.9.13/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'