>>> haproxy 1.9.13 Downloading converted 'http://www.haproxy.org/download/1.9/src/haproxy-1.9.13.tar.gz' (ANSI_X3.4-1968) -> 'http://www.haproxy.org/download/1.9/src/haproxy-1.9.13.tar.gz' (UTF-8) --2019-12-04 12:45:42-- 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/test/autobuild/run/instance-3/output-1/build/.haproxy-1.9.13.tar.gz.SZGEq4/output' 0K .......... .......... .......... .......... .......... 2% 1.85M 1s 50K .......... .......... .......... .......... .......... 4% 3.84M 1s 100K .......... .......... .......... .......... .......... 6% 63.7M 1s 150K .......... .......... .......... .......... .......... 8% 69.7M 0s 200K .......... .......... .......... .......... .......... 10% 3.94M 0s 250K .......... .......... .......... .......... .......... 12% 105M 0s 300K .......... .......... .......... .......... .......... 14% 120M 0s 350K .......... .......... .......... .......... .......... 17% 4.27M 0s 400K .......... .......... .......... .......... .......... 19% 52.6M 0s 450K .......... .......... .......... .......... .......... 21% 125M 0s 500K .......... .......... .......... .......... .......... 23% 124M 0s 550K .......... .......... .......... .......... .......... 25% 101M 0s 600K .......... .......... .......... .......... .......... 27% 118M 0s 650K .......... .......... .......... .......... .......... 29% 116M 0s 700K .......... .......... .......... .......... .......... 32% 94.2M 0s 750K .......... .......... .......... .......... .......... 34% 1.32M 0s 800K .......... .......... .......... .......... .......... 36% 456M 0s 850K .......... .......... .......... .......... .......... 38% 370M 0s 900K .......... .......... .......... .......... .......... 40% 403M 0s 950K .......... .......... .......... .......... .......... 42% 478M 0s 1000K .......... .......... .......... .......... .......... 44% 393M 0s 1050K .......... .......... .......... .......... .......... 47% 365M 0s 1100K .......... .......... .......... .......... .......... 49% 474M 0s 1150K .......... .......... .......... .......... .......... 51% 400M 0s 1200K .......... .......... .......... .......... .......... 53% 481M 0s 1250K .......... .......... .......... .......... .......... 55% 384M 0s 1300K .......... .......... .......... .......... .......... 57% 471M 0s 1350K .......... .......... .......... .......... .......... 59% 470M 0s 1400K .......... .......... .......... .......... .......... 61% 471M 0s 1450K .......... .......... .......... .......... .......... 64% 406M 0s 1500K .......... .......... .......... .......... .......... 66% 479M 0s 1550K .......... .......... .......... .......... .......... 68% 456M 0s 1600K .......... .......... .......... .......... .......... 70% 460M 0s 1650K .......... .......... .......... .......... .......... 72% 422M 0s 1700K .......... .......... .......... .......... .......... 74% 492M 0s 1750K .......... .......... .......... .......... .......... 76% 4.41M 0s 1800K .......... .......... .......... .......... .......... 79% 90.4M 0s 1850K .......... .......... .......... .......... .......... 81% 123M 0s 1900K .......... .......... .......... .......... .......... 83% 116M 0s 1950K .......... .......... .......... .......... .......... 85% 90.1M 0s 2000K .......... .......... .......... .......... .......... 87% 141M 0s 2050K .......... .......... .......... .......... .......... 89% 3.59M 0s 2100K .......... .......... .......... .......... .......... 91% 119M 0s 2150K .......... .......... .......... .......... .......... 94% 127M 0s 2200K .......... .......... .......... .......... .......... 96% 64.4M 0s 2250K .......... .......... .......... .......... .......... 98% 278M 0s 2300K .......... .......... .......... ......... 100% 385M=0.1s 2019-12-04 12:45:42 (16.7 MB/s) - '/home/test/autobuild/run/instance-3/output-1/build/.haproxy-1.9.13.tar.gz.SZGEq4/output' saved [2395999/2395999] haproxy-1.9.13.tar.gz: OK (sha256: adae40f963b03df0917edc44681064627f77683dcf7db66ef030672ad6d00547) >>> haproxy 1.9.13 Extracting gzip -d -c /home/test/autobuild/run/instance-3/dl/haproxy/haproxy-1.9.13.tar.gz | tar --strip-components=1 -C /home/test/autobuild/run/instance-3/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/test/autobuild/run/instance-3/output-1/host/bin:/home/test/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 PATH="/home/test/autobuild/run/instance-3/output-1/host/bin:/home/test/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-ar" AS="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-as" LD="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-ld" NM="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-nm" CC="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-gcc" GCC="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-gcc" CPP="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-cpp" CXX="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-g++" FC="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-gfortran" F77="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-gfortran" RANLIB="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-ranlib" READELF="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-readelf" STRIP="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-strip" OBJCOPY="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-objcopy" OBJDUMP="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-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/test/autobuild/run/instance-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/test/autobuild/run/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/test/autobuild/run/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/test/autobuild/run/instance-3/output-1/host/lib -Wl,-rpath,/home/test/autobuild/run/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-as" DEFAULT_LINKER="/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/home/test/autobuild/run/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/home/test/autobuild/run/instance-3/output-1/host/microblazeel-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl LD=/home/test/autobuild/run/instance-3/output-1/host/bin/microblazeel-linux-gcc PREFIX=/usr TARGET=custom USE_THREAD=1 USE_OPENSSL=1 PCRE_CONFIG=/home/test/autobuild/run/instance-3/output-1/host/microblazeel-buildroot-linux-uclibc/sysroot/usr/bin/pcre-config USE_PCRE=1 USE_ZLIB=1 ADDLIB="-latomic" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -O0" -C /home/test/autobuild/run/instance-3/output-1/build/haproxy-1.9.13 make[1]: Entering directory '/home/test/autobuild/run/instance-3/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) ^~~~~ 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_uc': include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: 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/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/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/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/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': 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/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ 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) { ^ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: 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/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/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/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 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/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)) ^ 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++) { ^ 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 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 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) ^~~~~~~~~~~ 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) ^~ 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) ^~~~~~ In file included from src/ssl_sock.c:85:0: include/common/standard.h: In function 'is_inet_addr': 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/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/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 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/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) ^~~~~~ 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/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/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/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/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-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/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/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) ^~~~~~ 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/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) ^~~~~~ CC src/proto_htx.o 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) ^~~~~ 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/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 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) ^~~~~ In file included from include/common/htx.h:29:0, from src/proto_htx.c:16: 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 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 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)) ^ 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++) { ^ 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) ^~ 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++) ^ 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) ^~~~~ 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/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/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_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/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: 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/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/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/proto_http.c: In function 'http_wait_for_response': 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: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/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 '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/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) ^ 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: 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/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/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: 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) ^~~~ 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: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/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/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': 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) ^~~~~~~ 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: 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) ^~~~~~~ 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) ^~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notbefore': 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: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) ^~~~~~~ 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: 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': 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) ^~~~~~ 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) ^~~~ 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: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) ^~~~~~~ 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) ^~~~~~ 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/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) ^~~~~~~ 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)) ^~ 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: 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) ^~~~ 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: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) ^~ 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) ^~~~~~ 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/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) ^~~~~~~ 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/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/proto_htx.c: In function 'htx_wait_for_request': src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alg_keysize': 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: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/proto_http.c: In function 'http_msg_forward_chunked_body': src/proto_http.c:5485:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_CRLF; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_use_keysize': src/proto_http.c:5488:3: note: here case HTTP_MSG_CHUNK_CRLF: ^~~~ src/proto_http.c:5500:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_SIZE; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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/proto_http.c:5503:3: note: here case HTTP_MSG_CHUNK_SIZE: ^~~~ src/proto_http.c:5527:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_TRAILERS; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 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/proto_http.c:5530:3: note: here case HTTP_MSG_TRAILERS: ^~~~ 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/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: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) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_sni': 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/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/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) ^~~~~~~ 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/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/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/proto_htx.c:2400:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (qs < path.len) { ^ 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/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/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/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/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/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/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/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/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) ^~ 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': 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) ^~ src/ssl_sock.c: In function 'bind_parse_ca_sign_pass': 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': 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) ^~ 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/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/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/proto_htx.c: In function 'htx_check_request_for_cacheability': 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/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/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/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/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/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/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/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/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/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) ^ 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) ^~~~~~~ CC src/stream.o 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': 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, ^~~~ 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': 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)) ^ 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, ^~~~~~~~~~~~ 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) ^~~~~ 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, ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ src/ssl_sock.c:8675:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ 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: src/ssl_sock.c:8675:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ 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/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, ^~~~~ 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, ^~~~ src/ssl_sock.c: In function 'ssl_parse_global_dh_param_file': 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, ^~~~~ 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, ^~~~ src/ssl_sock.c:8828:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c: In function 'ssl_parse_global_default_dh': src/ssl_sock.c: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, ^~~~ src/ssl_sock.c:8850:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c: In function 'cli_parse_show_tlskeys': src/ssl_sock.c:9042:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/ssl_sock.c: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': 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) ^~~~~~~ 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_*) */ ^~~ 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_*) */ ^~~ 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_*) */ ^~~ 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_*) */ ^~~ 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_*) */ ^~~ 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_*) */ ^~~ 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/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/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/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) ^~~~ 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]))) { ^ CC src/mux_h2.o 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; ^~~~~~~~~ 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); ^~~~~ CC src/stats.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/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/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)) ^ 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) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: 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); ^~~~~ 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) ^ 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) { ^ 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++) ^ 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) ^~~~~ 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) { ^ 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/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) ^~~~~~~~~~~ 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)) { ^~ 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) ^ src/mux_h2.c:3894:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (block1 > flen) ^ 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/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) ^~~~~~ 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) ^~~~~~ 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)) ^ 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) ^~~~~ 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++) { ^ 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/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 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) ^ 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': include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ 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])) { ^~ 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) ^~~~~~ src/mux_h2.c:5275:2: warning: label 'done' defined but not used [-Wunused-label] done: ^~~~ 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/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) ^~ 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/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/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/stats.c: In function 'stats_putchk': 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/stats.c:261:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (chk->data >= channel_htx_recv_max(chn, htx)) ^~ 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/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/mux_h2.c:5770:77: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/stats.c:410:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !(old_len == out->data); ^~ src/mux_h2.c:5770:87: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ 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) ^~ 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) ^~ 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) ^~ 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) { ^~ src/stats.c:2855:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((plen > 0) && (plen <= sizeof(key))) { ^~ 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 */ ^~~~~ CC src/flt_spoe.o 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/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) ^~~~~ 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); ^~~~~ 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/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/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++) ^ 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 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 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) ^~~~~~ 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_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 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 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) ^~~~~ CC src/checks.o 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/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/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 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 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) ^ 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))); ^ 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 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 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, ^~~~ 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) ^~~~~~ 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) ^~~~~ 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 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/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/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++) ^ 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) ^~ 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/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) ^ 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) ^~~~~~~~~~~ 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/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/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/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/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/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/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/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/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/haproxy.o 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) ^~~~~~~ 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) ^~~~~ 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) ^~~~~~~ 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); ^~~~~ 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); ^~~~~~~~~~ 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) { ^ 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 */ ^~~~~ 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) ^~~~~~ 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) ^~~~~ 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)) ^ 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) ^~~~~~ 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/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/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ include/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/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); ^~~~~ 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) { ^ 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) { ^~ 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))) { ^~ 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)) { ^~ 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)) { ^~ 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) ^~ 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: ^~~~ 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) { ^ 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/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) { ^ CC src/cfgparse.o 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) { ^ 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); ^~~~~ 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/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/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/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) { ^ CC src/http_fetch.o 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++) { ^ 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++) ^ CC src/dns.o 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 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/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) ^~~~~~ 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); ^~~~~ 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/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/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 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) ^~~~~ 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) ^ 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/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_*) */ ^~~ 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)) ^ 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': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: 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/dns.c:22: 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/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) ^~~~~~~~~~~ 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) ^~~~~~~ CC src/stick_table.o 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) ^~~~ 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) ^~ 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) ^~~~~~~ src/http_fetch.c: In function 'smp_fetch_proto_http': 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) ^~ 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) ^~~~~~~ src/http_fetch.c: In function 'smp_fetch_http_auth': 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_*) */ ^~~ 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)) ^ 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 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 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 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 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 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/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/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); ^~~~~ 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) ^~~~~~~~~~~ CC src/mux_h1.o 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, ^~~~ 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)) ^ 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) ^~ 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); ^~~~~ 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) { ^ 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) { ^ 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 */ ^~~~~ 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, ^~~~ 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) ^~ 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++) ^ CC src/peers.o 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) ^~~~~~~ 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 '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) ^~~~~~~ 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: 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) ^~~~~~~ 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) ^~~~~~~ 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) ^~~~~~~ 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: 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) ^~~~~~ 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) ^~~~~~~ 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) ^~~~~~ 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) ^~~~~~~ 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_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: In function 'smp_fetch_sc_conn_rate': 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: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) ^~~~~~~ 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/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 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) ^~~~~ 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); ^ src/stick_table.c: In function 'smp_fetch_sc_conn_cur': 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: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) ^~~~~~~ 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: In function 'smp_fetch_sc_http_req_cnt': 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': 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); ^ 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) ^~~~~~~ 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_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) ^~~~~~ 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) && ^~ src/stick_table.c: In function 'smp_fetch_sc_http_req_rate': 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: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) ^~~~~~~ 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)) ^ 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': 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) ^~~~~~~ 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)) ^~ src/stick_table.c: In function 'smp_fetch_sc_bytes_out_rate': 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: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) ^~~~~~~ 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) ^ 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) ^~ 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) ^~~~~~~ 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++) ^ src/stick_table.c: At top level: 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) ^~~~~~~ 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 }, ^ 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/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/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/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/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/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/mux_h1.c: In function 'h1_capture_bad_message': 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, }, ^ 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, ^ In file included from include/types/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, }, ^ src/mux_h1.c: In function 'h1_process_headers': In file included from include/types/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/mux_h1.c:1047:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > (b_size(buf) - global.tune.maxrewrite)) ^ 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/types/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/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/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/mux_h1.c:1201:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ 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/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)) ^ In file included from include/types/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_*) */ ^~~ 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/mux_h1.c:1283:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > data_space) ^ 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_*) */ ^~~ src/mux_h1.c:1287:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ 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/mux_h1.c:1315:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > data_space) ^ 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_*) */ ^~~ 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_*) */ ^~~ src/mux_h1.c:1357:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > data_space) ^ 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/mux_h1.c:1359:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ 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_*) */ ^~~ 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_*) */ ^~~ 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_*) */ ^~~ 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_*) */ ^~~ 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, }, ^ In file included from include/types/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: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_*) */ ^~~ 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_*) */ ^~~ 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_*) */ ^~~ 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, }, ^ In file included from include/types/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: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_*) */ ^~~ 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_*) */ ^~~ 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_*) */ ^~~ 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/mux_h1.c: In function 'h1_io_cb': 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/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/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/types/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: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_*) */ ^~~ src/mux_h1.c: In function 'h1_timeout_task': 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_*) */ ^~~ 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/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_*) */ ^~~ 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_*) */ ^~~ 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/mux_h1.c: In function 'h1_rcv_buf': 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/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/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 }, ^ src/mux_h1.c: In function 'h1_snd_buf': In file included from include/types/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/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/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/mux_h1.c: In function 'h1_ctl': 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 }, ^ 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) ^~~~~~ In file included from include/types/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 */ ^~~~~~~ CC src/standard.o 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 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/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/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/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) { ^~ 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/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); ^~~~~ 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/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: 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/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/standard.c: In function 'url2sa': src/standard.c:1316:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (trash.size < ulen) ^ 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); ^~~~~~~~~~ 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 CC src/cli.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); ^~~~~ 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); ^~~~~ CC src/log.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/common/standard.h:36:0, from src/log.c:30: 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/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/common/standard.h:38:0, from src/log.c:30: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from 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 src/log.c:30: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/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/log.c:31: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/log.c:33: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ 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) ^ In file included from include/types/proxy.h:32:0, from include/types/applet.h:27, from include/types/cli.h:24, from src/log.c:33: 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/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/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, ^~~~ 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++) ^ 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) ^~~~~ CC src/backend.o 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) ^~~~~~~ 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) { ^ 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) { ^ 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) ^~~~~~~~~~~ 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/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 include/common/buffer.h:30:0, from src/backend.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)) ^ 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/common/buffer.h:32:0, from src/backend.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/backend.c:22: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/common/htx.h:29:0, from src/backend.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/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/common/standard.h:38:0, from include/common/htx.h:31, from src/backend.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/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, ^~~~ In file included from include/common/htx.h:31:0, from src/backend.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 src/backend.c:27: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) ^~ 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, ^~~~~ In file included from src/backend.c:30: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) ^~~~~~~~~~~ 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) ^~~~~~~ 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/log.c:33: 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/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: ^~~~~~~ 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/log.c:37: 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/log.c:37: 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/log.c:37: 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/log.c:37: 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/log.c:37: 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/log.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/log.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/log.c: At top level: src/log.c:137:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "o", LOG_FMT_GLOBAL, PR_MODE_TCP, 0, NULL }, /* global option */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:140:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "B", LOG_FMT_BYTES, PR_MODE_TCP, LW_BYTES, NULL }, /* bytes from server to client */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:141:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "CC", LOG_FMT_CCLIENT, PR_MODE_HTTP, LW_REQHDR, NULL }, /* client cookie */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:142:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "CS", LOG_FMT_CSERVER, PR_MODE_HTTP, LW_RSPHDR, NULL }, /* server cookie */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:143:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "H", LOG_FMT_HOSTNAME, PR_MODE_TCP, LW_INIT, NULL }, /* Hostname */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:144:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ID", LOG_FMT_UNIQUEID, PR_MODE_HTTP, LW_BYTES, NULL }, /* Unique ID */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:145:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ST", LOG_FMT_STATUS, PR_MODE_TCP, LW_RESP, NULL }, /* status code */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:146:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "T", LOG_FMT_DATEGMT, PR_MODE_TCP, LW_INIT, NULL }, /* date GMT */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:147:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Ta", LOG_FMT_Ta, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time active (tr to end) */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:148:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tc", LOG_FMT_TC, PR_MODE_TCP, LW_BYTES, NULL }, /* Tc */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:149:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Th", LOG_FMT_Th, PR_MODE_TCP, LW_BYTES, NULL }, /* Time handshake */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:150:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Ti", LOG_FMT_Ti, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time idle */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:151:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tl", LOG_FMT_DATELOCAL, PR_MODE_TCP, LW_INIT, NULL }, /* date local timezone */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:152:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tq", LOG_FMT_TQ, PR_MODE_HTTP, LW_BYTES, NULL }, /* Tq=Th+Ti+TR */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:153:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tr", LOG_FMT_Tr, PR_MODE_HTTP, LW_BYTES, NULL }, /* Tr */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:154:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "TR", LOG_FMT_TR, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time to receive a valid request */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:155:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Td", LOG_FMT_TD, PR_MODE_TCP, LW_BYTES, NULL }, /* Td = Tt - (Tq + Tw + Tc + Tr) */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:156:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Ts", LOG_FMT_TS, PR_MODE_TCP, LW_INIT, NULL }, /* timestamp GMT */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:157:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tt", LOG_FMT_TT, PR_MODE_TCP, LW_BYTES, NULL }, /* Tt */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:158:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tw", LOG_FMT_TW, PR_MODE_TCP, LW_BYTES, NULL }, /* Tw */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:159:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "U", LOG_FMT_BYTES_UP, PR_MODE_TCP, LW_BYTES, NULL }, /* bytes from client to server */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:160:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ac", LOG_FMT_ACTCONN, PR_MODE_TCP, LW_BYTES, NULL }, /* actconn */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:161:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "b", LOG_FMT_BACKEND, PR_MODE_TCP, LW_INIT, NULL }, /* backend */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:162:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bc", LOG_FMT_BECONN, PR_MODE_TCP, LW_BYTES, NULL }, /* beconn */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:163:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bi", LOG_FMT_BACKENDIP, PR_MODE_TCP, LW_BCKIP, prepare_addrsource }, /* backend source ip */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:164:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bp", LOG_FMT_BACKENDPORT, PR_MODE_TCP, LW_BCKIP, prepare_addrsource }, /* backend source port */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:165:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bq", LOG_FMT_BCKQUEUE, PR_MODE_TCP, LW_BYTES, NULL }, /* backend_queue */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:166:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ci", LOG_FMT_CLIENTIP, PR_MODE_TCP, LW_CLIP | LW_XPRT, NULL }, /* client ip */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:167:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "cp", LOG_FMT_CLIENTPORT, PR_MODE_TCP, LW_CLIP | LW_XPRT, NULL }, /* client port */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:168:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "f", LOG_FMT_FRONTEND, PR_MODE_TCP, LW_INIT, NULL }, /* frontend */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:169:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "fc", LOG_FMT_FECONN, PR_MODE_TCP, LW_BYTES, NULL }, /* feconn */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:170:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "fi", LOG_FMT_FRONTENDIP, PR_MODE_TCP, LW_FRTIP | LW_XPRT, NULL }, /* frontend ip */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:171:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "fp", LOG_FMT_FRONTENDPORT, PR_MODE_TCP, LW_FRTIP | LW_XPRT, NULL }, /* frontend port */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:172:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ft", LOG_FMT_FRONTEND_XPRT, PR_MODE_TCP, LW_INIT, NULL }, /* frontend with transport mode */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:173:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hr", LOG_FMT_HDRREQUEST, PR_MODE_TCP, LW_REQHDR, NULL }, /* header request */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:174:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hrl", LOG_FMT_HDRREQUESTLIST, PR_MODE_TCP, LW_REQHDR, NULL }, /* header request list */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:175:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hs", LOG_FMT_HDRRESPONS, PR_MODE_TCP, LW_RSPHDR, NULL }, /* header response */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:176:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hsl", LOG_FMT_HDRRESPONSLIST, PR_MODE_TCP, LW_RSPHDR, NULL }, /* header response list */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:177:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HM", LOG_FMT_HTTP_METHOD, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP method */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:178:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HP", LOG_FMT_HTTP_PATH, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP path */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:179:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HQ", LOG_FMT_HTTP_QUERY, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP query */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:180:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HU", LOG_FMT_HTTP_URI, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP full URI */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:181:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HV", LOG_FMT_HTTP_VERSION, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP version */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:182:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "lc", LOG_FMT_LOGCNT, PR_MODE_TCP, LW_INIT, NULL }, /* log counter */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:183:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ms", LOG_FMT_MS, PR_MODE_TCP, LW_INIT, NULL }, /* accept date millisecond */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:184:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "pid", LOG_FMT_PID, PR_MODE_TCP, LW_INIT, NULL }, /* log pid */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:185:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "r", LOG_FMT_REQ, PR_MODE_HTTP, LW_REQ, NULL }, /* request */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:186:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "rc", LOG_FMT_RETRIES, PR_MODE_TCP, LW_BYTES, NULL }, /* retries */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:187:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "rt", LOG_FMT_COUNTER, PR_MODE_TCP, LW_REQ, NULL }, /* request counter (HTTP or TCP session) */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:188:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "s", LOG_FMT_SERVER, PR_MODE_TCP, LW_SVID, NULL }, /* server */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:189:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sc", LOG_FMT_SRVCONN, PR_MODE_TCP, LW_BYTES, NULL }, /* srv_conn */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:190:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "si", LOG_FMT_SERVERIP, PR_MODE_TCP, LW_SVIP, NULL }, /* server destination ip */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:191:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sp", LOG_FMT_SERVERPORT, PR_MODE_TCP, LW_SVIP, NULL }, /* server destination port */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:192:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sq", LOG_FMT_SRVQUEUE, PR_MODE_TCP, LW_BYTES, NULL }, /* srv_queue */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:193:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sslc", LOG_FMT_SSL_CIPHER, PR_MODE_TCP, LW_XPRT, NULL }, /* client-side SSL ciphers */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:194:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sslv", LOG_FMT_SSL_VERSION, PR_MODE_TCP, LW_XPRT, NULL }, /* client-side SSL protocol version */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:195:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "t", LOG_FMT_DATE, PR_MODE_TCP, LW_INIT, NULL }, /* date */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:196:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "tr", LOG_FMT_tr, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:197:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "trg",LOG_FMT_trg, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request, GMT */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:198:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "trl",LOG_FMT_trl, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request, local */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:199:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ts", LOG_FMT_TERMSTATE, PR_MODE_TCP, LW_BYTES, NULL },/* termination state */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:200:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "tsc", LOG_FMT_TERMSTATE_CK, PR_MODE_TCP, LW_INIT, NULL },/* termination state */ ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:214:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { 0, 0, 0, 0, NULL } ^ src/log.c:130:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c: In function 'prepare_addrsource': src/log.c:311:47: warning: unused parameter 'node' [-Wunused-parameter] int prepare_addrsource(struct logformat_node *node, struct proxy *curproxy) ^~~~ src/log.c: In function 'parse_logformat_var': src/log.c:385:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (strlen(logformat_keywords[j].name) == var_len && ^~ src/log.c: In function 'print_message': src/log.c:901:74: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (!startup_logs || strlen(startup_logs) + strlen(head) + strlen(msg) < global.tune.bufsize)) ^ CC src/pattern.o src/log.c: In function 'lf_ip': src/log.c:1188:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (iret < 0 || iret > size) ^ src/log.c: In function 'lf_port': src/log.c:1212:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (iret < 0 || iret > size) ^ In file included from src/backend.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 include/common/config.h:25:0, from src/log.c:27: src/log.c: In function '__send_log': src/log.c:1500:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(hdr_size >= logsrv->maxlen)) { ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/log.c: In function 'sess_build_logline': src/log.c:2220:70: warning: signed and unsigned type in conditional expression [-Wsign-compare] ret = ltoa_o((logs->t_data >= 0) ? logs->t_close - logs->t_data : -1, ^ src/log.c:2223:76: warning: signed and unsigned type in conditional expression [-Wsign-compare] ret = ltoa_o((logs->t_connect >= 0) ? logs->t_close - logs->t_connect : -1, ^ In file included from include/proto/channel.h:41:0, from src/backend.c:38: 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) ^~~~~~ src/log.c: At top level: src/log.c:2857:4: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] NULL, cli_io_handler_show_startup_logs }, ^~~~ In file included from src/log.c:33:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/log.c:2858:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/log.c:33:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from src/backend.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 src/backend.c:51: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/backend.c:53: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/backend.c:54: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/backend.c:56: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/common/standard.h:36:0, from src/pattern.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/proto/applet.h:30:0, from include/proto/stream_interface.h:31, from src/backend.c:59: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h: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/backend.c: In function 'get_server_sh': src/backend.c:183:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((l + sizeof (int)) <= len) { ^~ src/backend.c: In function 'get_server_ph_post': src/backend.c:343:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > b_wrap(&req->buf) - p) ^ In file included from include/common/standard.h:38:0, from src/pattern.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/pattern.c:17: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++) ^ src/backend.c: In function 'assign_server_and_queue': src/backend.c:1018:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (srv->nbpend || srv->served >= srv_dynamic_maxconn(srv))) { ^~ src/backend.c: In function 'connect_server': src/backend.c:1576:53: warning: signed and unsigned type in conditional expression [-Wsign-compare] rewind = s->txn ? http_hdr_rewind(&s->txn->req) : co_data(&s->req); ^ src/backend.c: In function 'smp_fetch_nbsrv': src/backend.c:1988:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_nbsrv(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:1988:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_nbsrv(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_srv_is_up': src/backend.c:2007:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_is_up(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2007:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_is_up(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_connslots': src/backend.c:2026:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_connslots(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2026:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_connslots(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_be_id': src/backend.c:2053:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_be_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/backend.c:2053:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2053:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_be_name': src/backend.c:2066:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_be_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/backend.c:2066:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2066:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_srv_id': src/backend.c:2084:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_srv_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/backend.c:2084:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2084:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_be_sess_rate': src/backend.c:2103:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2103:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_be_conn': src/backend.c:2116:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2116:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_be_conn_free': src/backend.c:2157:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (maxconn > iterator->cur_sess) ^ src/backend.c:2130:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2130:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_queue_size': src/backend.c:2169:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2169:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_avg_queue_size': src/backend.c:2186:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_avg_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2186:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_avg_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_srv_conn': src/backend.c:2210:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2210:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_srv_conn_free': src/backend.c:2237:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (maxconn > args->data.srv->cur_sess) ^ src/backend.c:2223:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2223:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_srv_queue': src/backend.c:2250:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_queue(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2250:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_queue(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'smp_fetch_srv_sess_rate': src/backend.c:2263:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/backend.c:2263:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/backend.c: In function 'sample_conv_nbsrv': src/backend.c:2271:48: warning: unused parameter 'args' [-Wunused-parameter] static int sample_conv_nbsrv(const struct arg *args, struct sample *smp, void *private) ^~~~ src/backend.c:2271:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_nbsrv(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/backend.c: At top level: src/backend.c:2294:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "avg_queue", smp_fetch_avg_queue_size, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2295:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_conn", smp_fetch_be_conn, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2296:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_conn_free", smp_fetch_be_conn_free, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2297:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_id", smp_fetch_be_id, 0, NULL, SMP_T_SINT, SMP_USE_BKEND, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2298:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_name", smp_fetch_be_name, 0, NULL, SMP_T_STR, SMP_USE_BKEND, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2299:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_sess_rate", smp_fetch_be_sess_rate, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2300:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "connslots", smp_fetch_connslots, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2301:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "nbsrv", smp_fetch_nbsrv, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2302:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "queue", smp_fetch_queue_size, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2303:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_conn", smp_fetch_srv_conn, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2304:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_conn_free", smp_fetch_srv_conn_free, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2305:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_id", smp_fetch_srv_id, 0, NULL, SMP_T_SINT, SMP_USE_SERVR, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2306:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_is_up", smp_fetch_srv_is_up, ARG1(1,SRV), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2307:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_queue", smp_fetch_srv_queue, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2308:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_sess_rate", smp_fetch_srv_sess_rate, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2316:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "nbsrv", sample_conv_nbsrv, 0, NULL, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/backend.c:33: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/pattern.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/pattern.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/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/pattern.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) { ^ CC src/sample.o In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from src/pattern.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 src/pattern.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) ^~~~~~ src/pattern.c: In function 'pat_parse_nothing': src/pattern.c:206:35: warning: unused parameter 'text' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ^~~~ src/pattern.c:206:57: warning: unused parameter 'pattern' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ^~~~~~~ src/pattern.c:206:70: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ^~~~~~ src/pattern.c:206:85: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ^~~ src/pattern.c: In function 'pat_parse_str': src/pattern.c:212:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_str(const char *text, struct pattern *pattern, int mflags, char **err) ^~~~~~ src/pattern.c:212:81: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_str(const char *text, struct pattern *pattern, int mflags, char **err) ^~~ src/pattern.c: In function 'pat_parse_bin': src/pattern.c:221:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_bin(const char *text, struct pattern *pattern, int mflags, char **err) ^~~~~~ src/pattern.c: In function 'pat_parse_reg': src/pattern.c:233:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_reg(const char *text, struct pattern *pattern, int mflags, char **err) ^~~~~~ src/pattern.c:233:81: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_reg(const char *text, struct pattern *pattern, int mflags, char **err) ^~~ CC src/stream_interface.o src/pattern.c: In function 'pat_parse_int': src/pattern.c:254:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_int(const char *text, struct pattern *pattern, int mflags, char **err) ^~~~~~ src/pattern.c: In function 'pat_parse_dotted_ver': src/pattern.c:339:73: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_dotted_ver(const char *text, struct pattern *pattern, int mflags, char **err) ^~~~~~ src/pattern.c: In function 'pat_match_nothing': src/pattern.c:434:76: warning: unused parameter 'expr' [-Wunused-parameter] struct pattern *pat_match_nothing(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ src/pattern.c: In function 'pat_match_str': src/pattern.c:501:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pattern->len != smp->data.u.str.data) ^~ src/pattern.c: In function 'pat_match_bin': src/pattern.c:540:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pattern->len != smp->data.u.str.data) ^~ src/pattern.c:519:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_bin(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ src/pattern.c: In function 'pat_match_regm': src/pattern.c:559:83: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_regm(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ src/pattern.c: In function 'pat_match_reg': src/pattern.c:582:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_reg(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ src/pattern.c: In function 'pat_match_beg': src/pattern.c:666:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pattern->len > smp->data.u.str.data) ^ src/pattern.c: In function 'pat_match_end': src/pattern.c:707:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pattern->len > smp->data.u.str.data) ^ src/pattern.c:685:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_end(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ src/pattern.c: In function 'pat_match_sub': src/pattern.c:752:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pattern->len > smp->data.u.str.data) ^ src/pattern.c:728:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_sub(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ src/pattern.c: In function 'match_word': src/pattern.c:808:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pl > smp->data.u.str.data) ^ src/pattern.c: In function 'pat_match_dir': src/pattern.c:843:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_dir(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ src/pattern.c: In function 'pat_match_dom': src/pattern.c:860:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_dom(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ src/pattern.c: In function 'pat_match_int': src/pattern.c:874:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_int(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ src/pattern.c: In function 'pat_match_len': src/pattern.c:889:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_len(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ In file included from include/common/standard.h:36:0, from include/types/global.h:30, from src/sample.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/pattern.c: In function 'pat_ref_push': src/pattern.c:1920:22: warning: unused parameter 'patflags' [-Wunused-parameter] int patflags, char **err) ^~~~~~~~ In file included from include/common/standard.h:38:0, from include/types/global.h:30, from src/sample.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/global.h:30:0, from src/sample.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++) ^ src/pattern.c: In function 'pattern_exec_match': In file included from include/common/buffer.h:30:0, from src/stream_interface.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/pattern.c:2564:68: warning: this statement may fall through [-Wimplicit-fallthrough=] static_sample_data.u.str.area[static_sample_data.u.str.data] = 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/pattern.c:2565:6: note: here case SMP_T_IPV4: ^~~~ src/pattern.c:2568:7: warning: this statement may fall through [-Wimplicit-fallthrough=] memcpy(&static_sample_data, pat->data, sizeof(struct sample_data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pattern.c:2569:6: note: here default: ^~~~~~~ In file included from include/common/buffer.h:32:0, from src/stream_interface.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/stream_interface.c:22: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/common/standard.h:38:0, from src/stream_interface.c:26: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/stream_interface.c:26: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/stream_interface.c:28: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/types/applet.h:27, from include/proto/applet.h:29, from src/stream_interface.c:30: 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/proto_tcp.o In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/sample.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/sample.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/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/sample.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 src/sample.c:31: 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:36:0, from src/proto_tcp.c:41: 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/proto/log.h:37:0, from src/sample.c:31: 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 src/sample.c:32:0: 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/standard.h:38:0, from src/proto_tcp.c:41: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ src/sample.c: In function 'c_bin2str': src/sample.c:616:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ In file included from src/proto_tcp.c:41: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++) ^ src/sample.c: In function 'c_none': src/sample.c:701:27: warning: unused parameter 'smp' [-Wunused-parameter] int c_none(struct sample *smp) ^~~ src/sample.c: In function 'sample_conv_base642bin': src/sample.c:1486:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_base642bin(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~ src/sample.c:1486:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_base642bin(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_bin2base64': src/sample.c:1504:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_bin2base64(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~ 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/action.h:27, from src/proto_tcp.c:44: include/common/ist.h: In function 'ist2str': src/sample.c:1504:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bin2base64(const struct arg *arg_p, struct sample *smp, 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/sample.c: In function 'sample_conv_sha1': src/sample.c:1522:47: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_sha1(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ src/sample.c:1522:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_sha1(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_bin2hex': src/sample.c:1547:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (ptr < smp->data.u.str.data && trash->data <= trash->size - 2) { ^ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ src/sample.c:1540:50: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_bin2hex(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~ src/sample.c:1540:83: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bin2hex(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_hex2int': src/sample.c:1563:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1558:50: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_hex2int(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~ src/sample.c:1558:83: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_hex2int(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ In file included from include/types/proxy.h:32:0, from include/types/applet.h:27, from include/types/action.h:27, from src/proto_tcp.c:44: include/common/http.h: At top level: src/sample.c: In function 'sample_conv_djb2': 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/sample.c:1576:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_djb2(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_length': src/sample.c:1586:49: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_length(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~ src/sample.c:1586:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_length(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_str2lower': src/sample.c:1602:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1595:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_str2lower(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~ src/sample.c:1595:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_str2lower(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_str2upper': src/sample.c:1616:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1609:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_str2upper(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~ src/sample.c:1609:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_str2upper(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_ipmask': src/sample.c:1624:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ipmask(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_ltime': 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/stream_interface.c:30: 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/sample.c:1652:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ltime(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_sdbm': 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/stream_interface.c:30: 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/sample.c:1675:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_sdbm(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_utime': src/sample.c:1689:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_utime(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_wt6': src/sample.c:1712:79: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_wt6(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_xxh32': src/sample.c:1725:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_xxh32(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_xxh64': src/sample.c:1745:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_xxh64(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_crc32': src/sample.c:1760:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_crc32(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_crc32c': src/sample.c:1771:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_crc32c(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_json_check': src/sample.c:1798:72: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_json_check(struct arg *arg, struct sample_conv *conv, ^~~~ src/sample.c:1799:47: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ src/sample.c:1799:57: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ src/sample.c: In function 'sample_conv_json': src/sample.c:1852:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_json(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_bytes': src/sample.c:1968:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bytes(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_field_check': src/sample.c:1986:74: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_field_check(struct arg *args, struct sample_conv *conv, ^~~~ src/sample.c:1987:47: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ src/sample.c:1987:57: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ 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/stream_interface.c:30: 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/sample.c: In function 'sample_conv_field': src/sample.c:2039:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ src/sample.c:2058:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (end - smp->data.u.str.area < smp->data.u.str.data) { ^ src/sample.c:2059:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ 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/sample.c:2025:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_field(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ 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/sample.c: In function 'sample_conv_word': src/sample.c:2119:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ src/sample.c:2147:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (end - smp->data.u.str.area < smp->data.u.str.data) { ^ 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/sample.c:2149:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ 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) ^~~~~~ src/sample.c:2103:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_word(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/stream_interface.c:30: 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/sample.c: In function 'sample_conv_regsub_check': src/sample.c:2199:75: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_regsub_check(struct arg *args, struct sample_conv *conv, ^~~~ src/sample.c:2200:49: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ 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/sample.c:2200:59: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ include/proto/server.h:251:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/sample.c: In function 'sample_conv_regsub': src/sample.c:2277:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > arg_p[1].data.str.data) ^ src/sample.c:2236:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_regsub(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'check_operator': CC src/listener.o src/sample.c:2309:65: warning: unused parameter 'conv' [-Wunused-parameter] static int check_operator(struct arg *args, struct sample_conv *conv, ^~~~ src/sample.c:2310:39: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ src/sample.c:2310:49: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ src/sample.c: In function 'sample_conv_binary_cpl': src/sample.c:2361:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_binary_cpl(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~ src/sample.c:2361:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_cpl(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_binary_and': src/sample.c:2370:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_and(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_binary_or': src/sample.c:2384:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_or(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_binary_xor': src/sample.c:2398:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_xor(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_arith_add': src/sample.c:2438:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_arith_add(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_arith_sub': src/sample.c:2453:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_arith_mul': src/sample.c:2485:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_arith_div': src/sample.c:2530:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_arith_mod': src/sample.c:2558:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_arith_neg': src/sample.c:2584:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_neg(const struct arg *arg_p, ^~~~~ src/sample.c:2585:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_arith_bool': src/sample.c:2597:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_bool(const struct arg *arg_p, ^~~~~ src/sample.c:2598:61: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_arith_not': src/sample.c:2608:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_not(const struct arg *arg_p, ^~~~~ src/sample.c:2609:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'sample_conv_arith_odd': src/sample.c:2619:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_odd(const struct arg *arg_p, ^~~~~ src/sample.c:2620:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ^~~~~~~ In file included from include/proto/applet.h:30:0, from src/stream_interface.c:30: include/proto/connection.h: In function 'conn_get_best_mux_entry': src/sample.c: In function 'sample_conv_arith_even': 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)) ^~ src/sample.c:2630:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_even(const struct arg *arg_p, ^~~~~ 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/sample.c:2631:61: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ^~~~~~~ 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/sample.c: In function 'sample_conv_concat': src/sample.c:2657:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > trash->size - 1 - trash->data) ^ src/sample.c:2675:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > trash->size - 1 - trash->data) ^ src/sample.c:2688:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > trash->size - 1 - trash->data) ^ src/sample.c:2641:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_concat(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ src/sample.c: In function 'smp_check_concat': src/sample.c:2705:67: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_concat(struct arg *args, struct sample_conv *conv, ^~~~ src/sample.c:2706:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ src/sample.c:2706:50: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ In file included from include/proto/channel.h:32:0, from src/stream_interface.c:31: 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) ^~~~~ src/sample.c: In function 'sample_conv_strcmp': src/sample.c:2720:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_strcmp(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~~~ 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/sample.c: In function 'smp_check_strcmp': 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/sample.c:2754:67: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_strcmp(struct arg *args, struct sample_conv *conv, ^~~~ src/sample.c:2755:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ src/sample.c:2755:50: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ^~~~ src/sample.c: In function 'smp_fetch_true': src/sample.c:2772:34: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_true(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2772:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_true(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2772:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_true(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_false': src/sample.c:2784:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_false(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2784:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_false(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2784:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_false(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_env': src/sample.c:2793:71: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_env(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2793:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_env(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_date': src/sample.c:2815:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_date(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2815:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_date(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_date_us': src/sample.c:2830:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_date_us(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2830:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_date_us(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2830:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_date_us(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ In file included from src/stream_interface.c:31: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) ^ src/sample.c: In function 'smp_fetch_hostname': include/proto/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/sample.c:2841:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_hostname(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2841:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_hostname(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2841:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_hostname(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_nbproc': src/sample.c:2852:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_nbproc(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2852:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_nbproc(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2852:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_nbproc(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_proc': src/sample.c:2861:34: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2861:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2861:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_thread': src/sample.c:2870:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_thread(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2870:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_thread(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2870:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_thread(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_rand': src/sample.c:2881:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_rand(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2881:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_rand(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_stopping': src/sample.c:2896:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2896:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2896:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_cpu_calls': src/sample.c:2905:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_cpu_calls(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2905:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_cpu_calls(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2905:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_cpu_calls(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_cpu_ns_avg': src/sample.c:2914:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_cpu_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2914:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_cpu_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2914:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_cpu_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_cpu_ns_tot': src/sample.c:2923:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_cpu_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2923:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_cpu_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2923:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_cpu_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_lat_ns_avg': src/sample.c:2932:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_lat_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2932:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_lat_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2932:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_lat_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_lat_ns_tot': src/sample.c:2941:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_lat_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/sample.c:2941:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_lat_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2941:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_lat_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_const_str': src/sample.c:2948:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_str(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2948:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_str(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_const_bool': src/sample.c:2975:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_bool(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2975:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_bool(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_const_int': src/sample.c:2982:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_int(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2982:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_int(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_const_ipv4': src/sample.c:2989:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_ipv4(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/stream_interface.c: In function 'si_cs_io_cb': src/stream_interface.c:755:39: warning: unused parameter 't' [-Wunused-parameter] struct task *si_cs_io_cb(struct task *t, void *ctx, unsigned short state) ^ src/stream_interface.c:755:68: warning: unused parameter 'state' [-Wunused-parameter] struct task *si_cs_io_cb(struct task *t, void *ctx, unsigned short state) ^~~~~ src/sample.c:2989:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_ipv4(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_const_ipv6': src/sample.c:2996:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_ipv6(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:2996:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_ipv6(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_fetch_const_bin': src/sample.c:3016:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:3016:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: In function 'smp_check_const_meth': src/sample.c:3040:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < args[0].data.str.data; i++) { ^ src/sample.c: In function 'smp_fetch_const_meth': src/sample.c:3050:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/sample.c:3050:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/sample.c: At top level: src/sample.c:3073:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "always_false", smp_fetch_false, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3074:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "always_true", smp_fetch_true, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stream_interface.c: In function 'si_cs_recv': src/stream_interface.c:1290:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((channel_recv_limit(ic) < b_size(&ic->buf)) ? CO_RFL_KEEP_RSV : 0)); ^ src/sample.c:3075:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "env", smp_fetch_env, ARG1(1,STR), NULL, SMP_T_STR, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3076:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "date", smp_fetch_date, ARG1(0,SINT), NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3077:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "date_us", smp_fetch_date_us, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ src/stream_interface.c:1362:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cur_read <= ic->buf.size / 2)) { ^~ In file included from include/types/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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stream_interface.c:1381:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cur_read >= ic->buf.size - global.tune.maxrewrite)) { ^~ src/sample.c:3078:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hostname", smp_fetch_hostname, 0, NULL, SMP_T_STR, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3079:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "nbproc", smp_fetch_nbproc,0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3080:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "proc", smp_fetch_proc, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3081:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "thread", smp_fetch_thread, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3082:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rand", smp_fetch_rand, ARG1(0,SINT), NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3083:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "stopping", smp_fetch_stopping, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3084:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "stopping", smp_fetch_stopping, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3086:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cpu_calls", smp_fetch_cpu_calls, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3087:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cpu_ns_avg", smp_fetch_cpu_ns_avg, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3088:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cpu_ns_tot", smp_fetch_cpu_ns_tot, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3089:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "lat_ns_avg", smp_fetch_lat_ns_avg, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3090:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "lat_ns_tot", smp_fetch_lat_ns_tot, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3092:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "str", smp_fetch_const_str, ARG1(1,STR), NULL , SMP_T_STR, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3093:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "bool", smp_fetch_const_bool, ARG1(1,STR), smp_check_const_bool, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3094:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "int", smp_fetch_const_int, ARG1(1,SINT), NULL , SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3095:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ipv4", smp_fetch_const_ipv4, ARG1(1,IPV4), NULL , SMP_T_IPV4, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3096:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ipv6", smp_fetch_const_ipv6, ARG1(1,IPV6), NULL , SMP_T_IPV6, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3097:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "bin", smp_fetch_const_bin, ARG1(1,STR), smp_check_const_bin , SMP_T_BIN, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3098:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "meth", smp_fetch_const_meth, ARG1(1,STR), smp_check_const_meth, SMP_T_METH, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3111:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "b64dec", sample_conv_base642bin,0, NULL, SMP_T_STR, SMP_T_BIN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3112:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "base64", sample_conv_bin2base64,0, NULL, SMP_T_BIN, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3113:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "upper", sample_conv_str2upper, 0, NULL, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3114:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "lower", sample_conv_str2lower, 0, NULL, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stream_interface.c: In function 'stream_int_shutw': src/stream_interface.c:236:13: warning: this statement may fall through [-Wimplicit-fallthrough=] si->state = SI_ST_DIS; ~~~~~~~~~~^~~~~~~~~~~ src/sample.c:3115:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "length", sample_conv_length, 0, NULL, SMP_T_STR, SMP_T_SINT }, ^ src/stream_interface.c:237:2: note: here default: ^~~~~~~ In file included from include/types/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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3116:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "hex", sample_conv_bin2hex, 0, NULL, SMP_T_BIN, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3117:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "hex2i", sample_conv_hex2int, 0, NULL, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3118:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "ipmask", sample_conv_ipmask, ARG2(1,MSK4,MSK6), NULL, SMP_T_ADDR, SMP_T_IPV4 }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3119:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "ltime", sample_conv_ltime, ARG2(1,STR,SINT), NULL, SMP_T_SINT, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3120:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "utime", sample_conv_utime, ARG2(1,STR,SINT), NULL, SMP_T_SINT, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3121:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "crc32", sample_conv_crc32, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3122:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "crc32c", sample_conv_crc32c, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3123:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "djb2", sample_conv_djb2, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3124:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "sdbm", sample_conv_sdbm, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3125:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "wt6", sample_conv_wt6, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3126:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "xxh32", sample_conv_xxh32, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3127:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "xxh64", sample_conv_xxh64, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3128:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "json", sample_conv_json, ARG1(1,STR), sample_conv_json_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3129:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "bytes", sample_conv_bytes, ARG2(1,SINT,SINT), NULL, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3130:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "field", sample_conv_field, ARG3(2,SINT,STR,SINT), sample_conv_field_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3131:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "word", sample_conv_word, ARG3(2,SINT,STR,SINT), sample_conv_field_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3132:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "regsub", sample_conv_regsub, ARG3(2,REG,STR,STR), sample_conv_regsub_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3133:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "sha1", sample_conv_sha1, 0, NULL, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3134:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "concat", sample_conv_concat, ARG3(1,STR,STR,STR), smp_check_concat, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3135:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "strcmp", sample_conv_strcmp, ARG1(1,STR), smp_check_strcmp, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3137:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "and", sample_conv_binary_and, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3138:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "or", sample_conv_binary_or, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3139:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "xor", sample_conv_binary_xor, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3140:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "cpl", sample_conv_binary_cpl, 0, NULL, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3141:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "bool", sample_conv_arith_bool, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3142:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "not", sample_conv_arith_not, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3143:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "odd", sample_conv_arith_odd, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3144:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "even", sample_conv_arith_even, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3145:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "add", sample_conv_arith_add, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3146:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "sub", sample_conv_arith_sub, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3147:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "mul", sample_conv_arith_mul, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3148:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "div", sample_conv_arith_div, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3149:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "mod", sample_conv_arith_mod, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3150:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "neg", sample_conv_arith_neg, 0, NULL, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3152:2: warning: missing initializer for field 'out_type' of 'struct sample_conv' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7: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/sample.c:19: include/types/sample.h:278:15: note: 'out_type' declared here unsigned int out_type; /* output sample type */ ^~~~~~~~ src/stream_interface.c: In function 'stream_int_shutw_applet': src/stream_interface.c:1600:13: warning: this statement may fall through [-Wimplicit-fallthrough=] si->state = SI_ST_DIS; ~~~~~~~~~~^~~~~~~~~~~ src/stream_interface.c:1601:2: note: here default: ^~~~~~~ In file included from include/types/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/listener.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: 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/applet.h:27, from include/types/action.h:27, from src/proto_tcp.c:44: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h: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/channel.h:32:0, from src/proto_tcp.c:50: 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/channel.h:34:0, from src/proto_tcp.c:50: 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/channel.h:41:0, from src/proto_tcp.c:50: 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 src/proto_tcp.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/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_tcp.c:51: 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_tcp.c:51: 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/proto_tcp.c:51: 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/proto_tcp.c:51: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/proto_tcp.c:58: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_tcp.c:60: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/proto_tcp.c: In function 'tcp_bind_listener': src/proto_tcp.c:1020:52: warning: signed and unsigned type in conditional expression [-Wsign-compare] int qlen = listener->backlog ? listener->backlog : listener->maxconn; ^ src/proto_tcp.c:1061:55: warning: signed and unsigned type in conditional expression [-Wsign-compare] listen(fd, listener->backlog ? listener->backlog : listener->maxconn) == -1) { ^ src/proto_tcp.c: In function 'tcp_pause_listener': src/proto_tcp.c:1163:44: warning: signed and unsigned type in conditional expression [-Wsign-compare] if (listen(l->fd, l->backlog ? l->backlog : l->maxconn) != 0) ^ src/proto_tcp.c: In function 'tcp_action_req_set_src': src/proto_tcp.c:1177:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_dst': src/proto_tcp.c:1209:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_src_port': src/proto_tcp.c:1241:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_dst_port': src/proto_tcp.c:1273:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/proto_tcp.c: In function 'tcp_exec_action_silent_drop': src/proto_tcp.c:1299:69: warning: unused parameter 'rule' [-Wunused-parameter] static enum act_return tcp_exec_action_silent_drop(struct act_rule *rule, struct proxy *px, struct session *sess, struct stream *strm, int flags) ^~~~ src/proto_tcp.c:1299:89: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return tcp_exec_action_silent_drop(struct act_rule *rule, struct proxy *px, struct session *sess, struct stream *strm, int flags) ^~ src/proto_tcp.c:1299:140: warning: unused parameter 'flags' [-Wunused-parameter] static enum act_return tcp_exec_action_silent_drop(struct act_rule *rule, struct proxy *px, struct session *sess, struct stream *strm, int flags) ^~~~~ src/proto_tcp.c: In function 'tcp_parse_silent_drop': src/proto_tcp.c:1413:62: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret tcp_parse_silent_drop(const char **args, int *orig_arg, struct proxy *px, ^~~~ src/proto_tcp.c:1413:73: warning: unused parameter 'orig_arg' [-Wunused-parameter] static enum act_parse_ret tcp_parse_silent_drop(const char **args, int *orig_arg, struct proxy *px, ^~~~~~~~ src/proto_tcp.c:1413:97: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret tcp_parse_silent_drop(const char **args, int *orig_arg, struct proxy *px, ^~ src/proto_tcp.c:1414:79: warning: unused parameter 'err' [-Wunused-parameter] struct act_rule *rule, char **err) ^~~ src/proto_tcp.c: In function 'smp_fetch_src': src/proto_tcp.c:1427:37: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_src(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/proto_tcp.c:1427:75: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_src(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1427:85: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_src(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_sport': src/proto_tcp.c:1453:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_sport(const struct arg *args, struct sample *smp, const char *k, void *private) ^~~~ src/proto_tcp.c:1453:73: warning: unused parameter 'k' [-Wunused-parameter] smp_fetch_sport(const struct arg *args, struct sample *smp, const char *k, void *private) ^ src/proto_tcp.c:1453:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sport(const struct arg *args, struct sample *smp, const char *k, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_dst': src/proto_tcp.c:1470:33: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_dst(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/proto_tcp.c:1470:71: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_dst(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1470:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_dst(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_dst_is_local': src/proto_tcp.c:1499:46: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_dst_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/proto_tcp.c:1499:84: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_dst_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1499:94: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_dst_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_src_is_local': src/proto_tcp.c:1520:46: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_src_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/proto_tcp.c:1520:84: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_src_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1520:94: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_src_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_dport': src/proto_tcp.c:1540:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_dport(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/proto_tcp.c:1540:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_dport(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1540:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_dport(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'var_fc_counter': src/proto_tcp.c:1598:52: warning: unused parameter 'err' [-Wunused-parameter] static int var_fc_counter(struct arg *args, char **err) ^~~ src/proto_tcp.c: In function 'get_tcp_info': src/proto_tcp.c:1615:50: warning: unused parameter 'args' [-Wunused-parameter] static inline int get_tcp_info(const struct arg *args, struct sample *smp, ^~~~ src/proto_tcp.c: In function 'smp_fetch_fc_rtt': src/proto_tcp.c:1669:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_rtt(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1669:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_rtt(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_rttvar': src/proto_tcp.c:1683:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_rttvar(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1683:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_rttvar(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_unacked': src/proto_tcp.c:1699:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_unacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1699:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_unacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_sacked': src/proto_tcp.c:1708:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_sacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1708:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_sacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_lost': src/proto_tcp.c:1717:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_lost(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1717:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_lost(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_retrans': src/proto_tcp.c:1726:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_retrans(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1726:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_retrans(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_fackets': src/proto_tcp.c:1735:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_fackets(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1735:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_fackets(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_reordering': src/proto_tcp.c:1744:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_reordering(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/proto_tcp.c:1744:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_reordering(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/proto_tcp.c: In function 'bind_parse_v4v6': src/proto_tcp.c:1755:35: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~ src/proto_tcp.c:1755:45: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~~~~ src/proto_tcp.c:1755:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_tcp.c:1755:103: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~ src/proto_tcp.c: In function 'bind_parse_v6only': src/proto_tcp.c:1768:37: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~ src/proto_tcp.c:1768:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~~~~ src/proto_tcp.c:1768:70: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_tcp.c:1768:105: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~ src/proto_tcp.c: In function 'bind_parse_transparent': src/proto_tcp.c:1783:42: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~ src/proto_tcp.c:1783:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~~~~ src/proto_tcp.c:1783:75: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_tcp.c:1783:110: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~ src/proto_tcp.c: In function 'bind_parse_defer_accept': src/proto_tcp.c:1798:43: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~ src/proto_tcp.c:1798:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~~~~ src/proto_tcp.c:1798:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_tcp.c:1798:111: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~ src/proto_tcp.c: In function 'bind_parse_tfo': src/proto_tcp.c:1813:34: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~ src/proto_tcp.c:1813:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~~~~ src/proto_tcp.c:1813:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_tcp.c:1813:102: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~ src/proto_tcp.c: In function 'bind_parse_mss': src/proto_tcp.c:1828:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_mss(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_tcp.c: In function 'bind_parse_tcp_ut': src/proto_tcp.c:1855:70: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tcp_ut(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_tcp.c: In function 'bind_parse_interface': src/proto_tcp.c:1883:73: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_interface(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_tcp.c: In function 'srv_parse_tcp_ut': src/proto_tcp.c:1931:70: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tcp_ut(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~ src/proto_tcp.c: At top level: src/proto_tcp.c:1961:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst", smp_fetch_dst, 0, NULL, SMP_T_IPV4, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1962:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst_is_local", smp_fetch_dst_is_local, 0, NULL, SMP_T_BOOL, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1963:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst_port", smp_fetch_dport, 0, NULL, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1964:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src", smp_fetch_src, 0, NULL, SMP_T_IPV4, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1965:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_is_local", smp_fetch_src_is_local, 0, NULL, SMP_T_BOOL, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1966:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_port", smp_fetch_sport, 0, NULL, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1968:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rtt", smp_fetch_fc_rtt, ARG1(0,STR), val_fc_time_value, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1969:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rttvar", smp_fetch_fc_rttvar, ARG1(0,STR), val_fc_time_value, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1971:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_unacked", smp_fetch_fc_unacked, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1972:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_sacked", smp_fetch_fc_sacked, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1973:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_retrans", smp_fetch_fc_retrans, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1974:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_fackets", smp_fetch_fc_fackets, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1975:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_lost", smp_fetch_fc_lost, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1976:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_reordering", smp_fetch_fc_reordering, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2037: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/types/applet.h:27, from include/types/action.h:27, from src/proto_tcp.c:44: 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/proto_tcp.c:2043:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2044:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2045:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ 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/listener.c:22: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ src/proto_tcp.c:2046:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst" , tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2047:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2054:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2055:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2056:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2057:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst" , tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2058:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2065:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2072:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2079:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2080:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2081:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2082:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2083:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2090:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ 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/listener.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/listener.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) { ^ CC src/h1.o 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/listener.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) ^~~~~~~~~~~ CC src/cfgparse-global.o In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/listener.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/listener.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/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/listener.c:34: 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/listener.c:34: 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/listener.c:34: 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/listener.c:34: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/common/buffer.h:30:0, from include/common/h1.h:25, from src/h1.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/listener.c: In function 'resume_listener': src/listener.c:205:44: warning: signed and unsigned type in conditional expression [-Wsign-compare] listen(l->fd, l->backlog ? l->backlog : l->maxconn) != 0) { ^ In file included from include/common/buffer.h:32:0, from include/common/h1.h:25, from src/h1.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/common/h1.h:25:0, from src/h1.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 include/common/h1.h:28:0, from src/h1.c:15: include/common/http.h: At top level: src/listener.c: In function 'listener_accept': src/listener.c:486:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max_accept > max) ^ 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/listener.c:499:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max_accept > max) ^ src/listener.c:512:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max_accept > max) ^ src/listener.c:526:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max_accept > max) ^ In file included from include/common/config.h:25:0, from include/common/cfgparse.h:26, from src/listener.c:22: src/listener.c:546:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(count >= l->maxconn)) { ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/listener.c:575:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(count >= global.maxconn)) { ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/listener.c: In function 'listener_queue_process': src/listener.c:789:90: warning: unused parameter 'state' [-Wunused-parameter] static struct task *listener_queue_process(struct task *t, void *context, unsigned short state) ^~~~~ src/listener.c: In function 'smp_fetch_dconn': src/listener.c:891:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_dconn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/listener.c:891:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_dconn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/listener.c:891:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_dconn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/listener.c: In function 'smp_fetch_so_id': src/listener.c:900:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_so_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/listener.c:900:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_so_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/listener.c:900:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_so_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/listener.c: In function 'bind_parse_accept_proxy': src/listener.c:908:43: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~ src/listener.c:908:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~~~~ src/listener.c:908:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/listener.c:908:111: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~ src/listener.c: In function 'bind_parse_accept_netscaler_cip': src/listener.c:919:84: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_accept_netscaler_cip(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/listener.c: In function 'bind_parse_backlog': src/listener.c:944:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_backlog(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/listener.c: In function 'bind_parse_maxconn': src/listener.c:1010:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_maxconn(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/listener.c: In function 'bind_parse_name': src/listener.c:1033:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_name(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/listener.c: In function 'bind_parse_nice': src/listener.c:1049:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_nice(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/listener.c: In function 'bind_parse_process': src/listener.c:1096:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < LONGBITS; i++) ^ src/listener.c:1072:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_process(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/listener.c: In function 'bind_parse_proto': src/listener.c:1104:69: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_proto(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/listener.c: At top level: src/listener.c:1126:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst_conn", smp_fetch_dconn, 0, NULL, SMP_T_SINT, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7: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/listener.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/listener.c:1127:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "so_id", smp_fetch_so_id, 0, NULL, SMP_T_SINT, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7: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/listener.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/standard.h:38:0, from include/common/h1.h:31, from src/h1.c:15: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/h1.h:31:0, from src/h1.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++) ^ 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-global.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-global.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/proto/channel.h:32:0, from src/h1.c:18: 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/channel.h:34:0, from src/h1.c:18: 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/cache.o CC src/http_rules.o In file included from include/types/proxy.h:30:0, from include/types/applet.h:27, from include/types/action.h:27, from src/cache.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/applet.h:27, from include/types/action.h:27, from src/cache.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/applet.h:27, from include/types/action.h:27, from src/cache.c:16: 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-global.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/listener.h:36: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-global.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/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-global.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/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ 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-global.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/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/http_rules.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_rules.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/proto/channel.h:41:0, from src/h1.c:18: 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 src/h1.c:18: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/common/config.h:25:0, from src/h1.c:14: src/h1.c: In function 'h1_parse_cont_len_header': src/h1.c:52:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(cl > ULLONG_MAX / 10ULL)) ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/h1.c:73:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h1m->flags & H1_MF_CLEN && cl != h1m->body_len) ^~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/cfgparse-global.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-global.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) ^~~~~~ src/cfgparse-global.c: In function 'cfg_parse_global': src/cfgparse-global.c:508:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (global.nbproc < 1 || global.nbproc > LONGBITS) { ^ src/cfgparse-global.c:1097:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!delim || delim - *env >= trash.size) { ^~ 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/types/applet.h:27, from include/types/action.h:27, from src/cache.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/listener.h:36: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/types/applet.h:27, from include/types/action.h:27, from src/cache.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++) ^ 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/action.h:27, from src/cache.c:16: 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/channel.h:32:0, from src/cache.c:22: 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) ^~ CC src/http_act.o CC src/tcp_rules.o In file included from include/proto/channel.h:34:0, from src/cache.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/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/http_rules.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/listener.h:36: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/http_rules.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/http_rules.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/channel.h:41:0, from src/cache.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) ^~~~~~ 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/http_rules.c:19: include/common/time.h: In function 'tv_leaving_poll': 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/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) ^~~~~~~~~~~ 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/cache.c:22: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/types/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/http_act.c:19: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 src/cache.c:24: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/common/http.h:27:0, from src/http_act.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from 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/tcp_rules.c:12: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/http_act.c:23:0: 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 src/cache.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) ^ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/tcp_rules.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/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/cache.c:32: 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 include/proto/stream_interface.h:31, from src/cache.c:32: 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/cache.c:32: 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/common/standard.h:38:0, from src/http_act.c:26: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/http_rules.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) ^~~~~~ In file included from include/proto/applet.h:30:0, from include/proto/stream_interface.h:31, from src/cache.c:32: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h: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, ^~~~ 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 src/http_act.c:26: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++) ^ 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/http_rules.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 src/cache.c:33: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) ^~~~~ In file included from include/proto/channel.h:32:0, from include/proto/proto_http.h:29, from src/http_rules.c:36: 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/cache.c: In function 'entry_exist': src/cache.c:120:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (entry->expire > now.tv_sec) { ^ 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/cache.c: In function 'cache_store_init': src/cache.c:143:32: warning: unused parameter 'px' [-Wunused-parameter] cache_store_init(struct proxy *px, struct flt_conf *fconf) ^~ 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) ^~~~~ src/cache.c: In function 'cache_store_deinit': 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/cache.c:150:34: warning: unused parameter 'px' [-Wunused-parameter] cache_store_deinit(struct proxy *px, struct flt_conf *fconf) ^~ 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/cache.c: In function 'cache_store_chn_start_analyze': src/cache.c:224:46: warning: unused parameter 's' [-Wunused-parameter] cache_store_chn_start_analyze(struct stream *s, struct filter *filter, struct channel *chn) ^ 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/cache.c: In function 'cache_store_chn_end_analyze': include/common/htx.h: In function 'htx_get_prev': src/cache.c:248:44: warning: unused parameter 's' [-Wunused-parameter] cache_store_chn_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ^ include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ src/cache.c: In function 'cache_store_post_analyze': src/cache.c:277:83: warning: unused parameter 'chn' [-Wunused-parameter] cache_store_post_analyze(struct stream *s, struct filter *filter, struct channel *chn, ^~~ src/cache.c: In function 'cache_store_http_forward_data': src/cache.c:441:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (st->hdrs_len >= len) { ^~ src/cache.c:484:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((ret != len) || ^~ src/cache.c: In function 'cache_store_http_end': src/cache.c:492:37: warning: unused parameter 's' [-Wunused-parameter] cache_store_http_end(struct stream *s, struct filter *filter, ^ src/cache.c: In function 'http_action_store_cache': src/cache.c:798:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (msg->sov > c_size(txn->rsp.chn) - global.tune.maxrewrite) ^ In file included from include/proto/proto_http.h:29:0, from src/http_rules.c:36: 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/cache.c:668:78: warning: unused parameter 'px' [-Wunused-parameter] enum act_return http_action_store_cache(struct act_rule *rule, struct proxy *px, ^~ src/cache.c:669:63: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~ src/cache.c:669:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ In file included from src/http_rules.c:36: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/cache.c: In function 'http_action_req_cache_use': src/cache.c:1431:58: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~ src/cache.c:1431:86: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/cache.c: In function 'cfg_parse_cache': src/cache.c:1508:69: warning: unused parameter 'kwm' [-Wunused-parameter] int cfg_parse_cache(const char *file, int linenum, char **args, int kwm) ^~~ src/cache.c: In function 'parse_cache_flt': src/cache.c:1762:45: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ^~~~~~~ src/cache.c: In function 'cli_parse_show_cache': src/cache.c:1833:40: warning: unused parameter 'args' [-Wunused-parameter] static int cli_parse_show_cache(char **args, char *payload, struct appctx *appctx, void *private) ^~~~ src/cache.c:1833:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_cache(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/cache.c:1833:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_cache(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/cache.c: At top level: src/cache.c:1906:2: warning: missing initializer for field 'level' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "cache", NULL }, "show cache : show cache status", cli_parse_show_cache, cli_io_handler_show_cache, NULL, NULL }, ^ In file included from src/cache.c:17: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/cache.c:1907:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/cache.c:17:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/cache.c:1914:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "cache-store", parse_cache_store }, ^ In file included from src/cache.c:16:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/cache.c:1915:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from src/cache.c:16:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/cache.c:1923:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "cache-use", parse_cache_use }, ^ In file included from src/cache.c:16:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/cache.c:1924:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from src/cache.c:16:0: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ 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/tcp_rules.c:12: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/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/tcp_rules.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++) ^ 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/http_act.c:30: 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h: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 src/http_act.c:35: 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/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h: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/filters.o In file included from include/proto/log.h:37:0, from src/http_act.c:35: 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) ^~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/proto/stream.h: At top level: 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: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: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/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/channel.h:32:0, from include/proto/proto_http.h:29, from src/http_act.c:36: 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/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/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) ^~ 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/tcp_rules.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) ^~~~~~ 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/proto_http.h:29:0, from src/http_act.c:36: 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/channel.h:32:0, from src/tcp_rules.c:29: 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/http_act.c:36: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/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/http_act.c:37: 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 include/proto/stream_interface.h:31, from src/http_act.c:37: 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/tcp_rules.c:29: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/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/http_act.c:37: 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/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/tcp_rules.c:30: 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/tcp_rules.c:30: 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/tcp_rules.c:30: 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/http_act.c:37: 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/common/buffer.h:30:0, from src/filters.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)) ^ src/http_act.c: In function 'http_action_set_req_line': In file included from src/tcp_rules.c:30:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': src/http_act.c:48:65: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~ src/http_act.c:48:93: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ 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)) ^~ In file included from include/common/buffer.h:32:0, from src/filters.c:13: include/common/ist.h: In function 'ist2str': 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/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/proto/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, ^~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ src/http_act.c: In function 'action_http_set_status': include/common/ist.h: In function 'ist2str_uc': src/http_act.c:132:84: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_http_set_status(struct act_rule *rule, struct proxy *px, ^~ include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ src/http_act.c:133:63: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~ src/http_act.c:133:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/http_act.c: In function 'parse_http_set_status': src/http_act.c:144:97: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_http_set_status(const char **args, int *orig_arg, struct proxy *px, ^~ src/http_act.c: In function 'http_action_reject': src/http_act.c:186:60: warning: unused parameter 'rule' [-Wunused-parameter] static enum act_return http_action_reject(struct act_rule *rule, struct proxy *px, ^~~~ src/http_act.c:186:80: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_reject(struct act_rule *rule, struct proxy *px, ^~ src/http_act.c:187:87: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/http_act.c: In function 'parse_http_action_reject': src/http_act.c:212:65: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret parse_http_action_reject(const char **args, int *orig_arg, struct proxy *px, ^~~~ src/http_act.c:212:76: warning: unused parameter 'orig_arg' [-Wunused-parameter] static enum act_parse_ret parse_http_action_reject(const char **args, int *orig_arg, struct proxy *px, ^~~~~~~~ src/http_act.c:212:100: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_http_action_reject(const char **args, int *orig_arg, struct proxy *px, ^~ src/http_act.c:213:82: warning: unused parameter 'err' [-Wunused-parameter] struct act_rule *rule, char **err) ^~~ src/http_act.c: In function 'http_action_req_capture': src/http_act.c:225:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_req_capture(struct act_rule *rule, struct proxy *px, ^~ src/http_act.c:226:92: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ CC src/connection.o src/http_act.c: In function 'http_action_req_capture_by_id': src/http_act.c:257:91: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_req_capture_by_id(struct act_rule *rule, struct proxy *px, ^~ src/http_act.c:258:98: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ In file included from src/filters.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) { ^ src/http_act.c: In function 'http_action_res_capture_by_id': src/http_act.c:445:91: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_res_capture_by_id(struct act_rule *rule, struct proxy *px, ^~ src/http_act.c:446:98: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, 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/filters.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/http_act.c: At top level: src/http_act.c:582:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "capture", parse_http_req_capture }, ^ In file included from include/proto/http_rules.h:27:0, from src/http_act.c:34: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:583:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "reject", parse_http_action_reject }, ^ In file included from include/proto/http_rules.h:27:0, from src/http_act.c:34: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:584:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-method", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27:0, from src/http_act.c:34: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:585:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-path", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27:0, from src/http_act.c:34: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:586:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-query", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27:0, from src/http_act.c:34: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:587:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-uri", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27:0, from src/http_act.c:34: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:588:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from include/proto/http_rules.h:27:0, from src/http_act.c:34: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:596:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "capture", parse_http_res_capture }, ^ In file included from include/proto/http_rules.h:27:0, from src/http_act.c:34: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:597:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-status", parse_http_set_status }, ^ In file included from include/proto/http_rules.h:27:0, from src/http_act.c:34: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:598:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from include/proto/http_rules.h:27:0, from src/http_act.c:34: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/tcp_rules.c: In function 'tcp_parse_response_rule': src/tcp_rules.c:571:62: warning: unused parameter 'section_type' [-Wunused-parameter] static int tcp_parse_response_rule(char **args, int arg, int section_type, ^~~~~~~~~~~~ src/tcp_rules.c:574:49: warning: unused parameter 'where' [-Wunused-parameter] unsigned int where, ^~~~~ src/tcp_rules.c: In function 'tcp_parse_request_rule': src/tcp_rules.c:634:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int tcp_parse_request_rule(char **args, int arg, int section_type, ^~~~~~~~~~~~ In file included from src/connection.c:18:0: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ CC src/session.o In file included from include/common/standard.h:36:0, from include/common/net_helper.h:31, from src/connection.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/net_helper.h:31:0, from src/connection.c:20: 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/connection.h:26:0, from src/connection.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/common/standard.h:38: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/filters.c:15: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/listener.h:36: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/filters.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++) ^ 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/filters.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 include/common/buffer.h:30:0, from src/session.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/buffer.h:32:0, from src/session.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/session.c:14: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 src/session.c:16:0: 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/acl.o In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/filters.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) ^~~~~~ 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/filters.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/filters.c:19: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/common/standard.h:38:0, from include/types/global.h:30, from src/session.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/global.h:30:0, from src/session.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/proto/filters.h:30:0, from src/filters.c:29: 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/filters.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) ^ 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/filters.c:34: 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 include/proto/stream_interface.h:31, from src/filters.c:34: 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/filters.c:34: 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/filters.c:34: 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/filters.c: In function 'parse_filter': src/filters.c:177:31: warning: unused parameter 'section_type' [-Wunused-parameter] parse_filter(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/filters.c: In function 'flt_end_analyze': src/filters.c:968:69: warning: unused parameter 'an_bit' [-Wunused-parameter] flt_end_analyze(struct stream *s, struct channel *chn, unsigned int an_bit) ^~~~~~ In file included from include/common/standard.h:36:0, from src/acl.c:20: 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/proto/fd.h:32:0, from include/proto/connection.h:30, from src/connection.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/common/standard.h:38:0, from src/acl.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/acl.c:20: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/proxy.h:32:0, from include/types/applet.h:27, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: 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/applet.h:27, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h: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 src/connection.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) ^~~~~~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/connection.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison 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 src/connection.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/proto/session.h:35:0, from include/proto/connection.h:32, from src/connection.c:22: 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/connection.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/channel.h:32:0, from include/proto/stream_interface.h:32, from src/connection.c:26: 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/connection.h:30, from src/session.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/stream_interface.h:32:0, from src/connection.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) ^ src/connection.c: In function 'conn_recv_proxy': src/connection.c:651:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (trash.data < PP2_HEADER_LEN + ntohs(hdr_v2->len)) ^ src/connection.c:689:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (tlv_offset + TLV_HEADER_SIZE <= trash.data) { ^~ src/connection.c:739:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len2 != trash.data) ^~ src/connection.c: In function 'conn_recv_netscaler_cip': src/connection.c:944:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len2 != trash.data) ^~ src/connection.c: In function 'make_tlv': src/connection.c:1080:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!dest || (length + sizeof(*tlv) > dest_len)) ^ src/connection.c: In function 'make_proxy_line_v2': src/connection.c:1171:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ src/connection.c:1178:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ src/connection.c:1187:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ src/connection.c:1196:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv_ssl)) ^ src/connection.c: In function 'smp_fetch_fc_http_major': src/connection.c:1270:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fc_http_major(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/connection.c:1270:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_http_major(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/connection.c: In function 'smp_fetch_fc_rcvd_proxy': src/connection.c:1281:47: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_fc_rcvd_proxy(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/connection.c:1281:85: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_fc_rcvd_proxy(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/connection.c:1281:95: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_fc_rcvd_proxy(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/connection.c: At top level: src/connection.c:1307:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_http_major", smp_fetch_fc_http_major, 0, NULL, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/connection.c:1308:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "bc_http_major", smp_fetch_fc_http_major, 0, NULL, SMP_T_SINT, SMP_USE_L4SRV }, ^ In file included from include/types/vars.h:7: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/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/connection.c:1309:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rcvd_proxy", smp_fetch_fc_rcvd_proxy, 0, NULL, SMP_T_BOOL, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/session.c:22: include/proto/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/session.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/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))); ^ CC src/vars.o 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 src/session.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/proto/session.h:35:0, from include/proto/connection.h:32, from src/session.c:22: 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/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/acl.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/acl.c:23: 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 src/session.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 src/session.c:25: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/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/acl.c:23: 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/channel.h:32:0, from src/acl.c:28: 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/channel.h:34:0, from src/acl.c:28: 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/vars.c:3: 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/vars.c:3: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: 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/channel.h:41:0, from src/acl.c:28: 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 src/acl.c:28: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/acl.c:31: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) ^~~~~~ CC src/raw_sock.o src/acl.c: In function 'parse_acl_expr': src/acl.c:644:11: warning: this statement may fall through [-Wimplicit-fallthrough=] value++; /* gt = ge + 1 */ ~~~~~^~ src/acl.c:646:5: note: here case STD_OP_GE: ^~~~ src/acl.c:656:11: warning: this statement may fall through [-Wimplicit-fallthrough=] value--; /* lt = le - 1 */ ~~~~~^~ src/acl.c:658:5: note: here case STD_OP_LE: ^~~~ In file included from include/common/standard.h:38: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/vars.c:3: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/listener.h:36: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/vars.c:3: 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/vars.c:3: 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/vars.c:3: 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/buffer.h:30:0, from src/raw_sock.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)) ^ CC src/map.o In file included from include/common/buffer.h:32:0, from src/raw_sock.c:25: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/raw_sock.c:25: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) { ^ CC src/proto_uxst.o In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/vars.c:3: 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/standard.h:38:0, from src/raw_sock.c:29: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/cfgparse.h:31:0, from src/vars.c:3: 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 include/proto/proto_http.h:29, from src/vars.c:12: 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/raw_sock.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/proto/proto_http.h:29:0, from src/vars.c:12: 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/raw_sock.c:31: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 src/vars.c:12: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/common/standard.h:36:0, from src/map.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)) ^ src/vars.c: In function 'smp_fetch_var': src/vars.c:304:82: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_var(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/vars.c:304:92: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_var(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/vars.c: In function 'smp_conv_store': src/vars.c:469:77: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_store(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/vars.c: In function 'smp_conv_clear': src/vars.c:475:77: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_clear(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/vars.c: In function 'action_store': src/vars.c:634:81: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/vars.c: In function 'action_clear': src/vars.c:665:81: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/vars.c: In function 'conv_check_var': src/vars.c:690:65: warning: unused parameter 'conv' [-Wunused-parameter] static int conv_check_var(struct arg *args, struct sample_conv *conv, ^~~~ src/vars.c:691:39: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err_msg) ^~~~ src/vars.c:691:49: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err_msg) ^~~~ src/vars.c: In function 'vars_max_size': src/vars.c:781:43: warning: unused parameter 'section_type' [-Wunused-parameter] static int vars_max_size(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/vars.c:781:71: warning: unused parameter 'curpx' [-Wunused-parameter] static int vars_max_size(char **args, int section_type, struct proxy *curpx, ^~~~~ src/vars.c:782:40: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/vars.c:782:59: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/vars.c:782:69: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/vars.c: At top level: src/vars.c:832:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "var", smp_fetch_var, ARG1(1,STR), smp_check_var, SMP_T_STR, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7: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/vars.c:3: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/vars.c:839:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "set-var", smp_conv_store, ARG1(1,STR), conv_check_var, SMP_T_ANY, SMP_T_ANY }, ^ In file included from include/types/vars.h:7: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/vars.c:3: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/vars.c:840:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "unset-var", smp_conv_clear, ARG1(1,STR), conv_check_var, SMP_T_ANY, SMP_T_ANY }, ^ In file included from include/types/vars.h:7: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/vars.c:3: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/vars.c:847:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:848:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:855:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:856:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:863:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:864:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:871:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:872:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:879:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:880:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/standard.h:38:0, from src/map.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/map.c:17: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/common/standard.h:36:0, from src/proto_uxst.c:35: 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/applet.h:27, from src/map.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/applet.h:27, from src/map.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 src/proto_uxst.c:35: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/proto_uxst.c:35: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/proto_uxst.c:36: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/payload.o 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 src/map.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/types/proxy.h:32:0, from include/types/applet.h:27, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/raw_sock.c:33: 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/fd.h:32:0, from include/proto/connection.h:30, from include/proto/applet.h:30, from src/map.c:26: 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/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/raw_sock.c:33: include/proto/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/raw_sock.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/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/proto_uxst.c:39: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ 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/map.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 include/proto/applet.h:30, from src/map.c:26: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison 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': In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/proto_uxst.c:39: include/common/http.h: At top level: 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))); ^ 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:36:0, from include/common/net_helper.h:31, from src/payload.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ 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/map.c:26: 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) ^~~~~~ 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 src/raw_sock.c:33: 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: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: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: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) ^~~~~~ 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) ^~~~~~ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/map.c:26: 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: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/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) ^~~~~~ 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/proto_uxst.c:39: 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) { ^ 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) { ^ 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 src/raw_sock.c:33: 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/map.c:26: 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/map.c:32: 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) ^~~~~ In file included from include/common/standard.h:38:0, from include/common/net_helper.h:31, from src/payload.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ 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/raw_sock.c:33: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)) ^~ In file included from include/proto/stream_interface.h:32:0, from src/map.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) ^ 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/common/net_helper.h:31:0, from src/payload.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/proto/channel.h:32:0, from include/proto/stream_interface.h:32, from src/raw_sock.c:39: 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/common/htx.h:28:0, from src/payload.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/proto/stream_interface.h:32:0, from src/raw_sock.c:39: 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/common/htx.h:29:0, from src/payload.c:18: 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/map.c: In function 'cli_parse_get_map': src/map.c:591:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_get_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/map.c:591:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_get_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ In file included from src/payload.c:18: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) ^~~~~ 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_uxst.c:41: include/proto/backend.h: At top level: 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/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/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/map.c: In function 'cli_parse_show_map': 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_uxst.c:41: include/proto/queue.h: In function 'server_has_room': src/map.c:658:50: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ 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); ^ src/map.c:658:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ include/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))); ^ 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/map.c: In function 'cli_parse_set_map': src/map.c:698:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/map.c:698:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/map.c: In function 'cli_parse_add_map': src/map.c:812:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_add_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/raw_sock.c: In function 'raw_sock_to_buf': src/raw_sock.c:297:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret < try) { ^ src/raw_sock.c:253:94: warning: unused parameter 'flags' [-Wunused-parameter] static size_t raw_sock_to_buf(struct connection *conn, struct buffer *buf, size_t count, int flags) ^~~~~ src/raw_sock.c: In function 'raw_sock_from_buf': src/raw_sock.c:402:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret < try) ^ src/map.c: In function 'cli_parse_del_map': src/map.c:948:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_del_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/map.c:948:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_del_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/map.c: In function 'cli_parse_clear_map': src/map.c:1044:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_clear_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/map.c:1044:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_clear_map(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/map.c: At top level: 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 src/proto_uxst.c:41: include/proto/stream.h: At top level: src/map.c:1098:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "add", "acl", NULL }, "add acl : add acl entry", cli_parse_add_map, NULL }, ^ 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) ^~~~~~ In file included from src/map.c:20:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1099:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "clear", "acl", NULL }, "clear acl : clear the content of this acl", cli_parse_clear_map, NULL }, ^ In file included from src/map.c:20:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1100:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "del", "acl", NULL }, "del acl : delete acl entry", cli_parse_del_map, NULL }, ^ In file included from src/map.c:20:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1101:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "get", "acl", NULL }, "get acl : report the patterns matching a sample for an ACL", cli_parse_get_map, cli_io_handler_map_lookup, cli_release_mlook }, ^ In file included from src/map.c:20:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/map.c:1102:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "acl", NULL }, "show acl [id] : report available acls or dump an acl's contents", cli_parse_show_map, NULL }, ^ In file included from src/map.c:20:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1103:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "add", "map", NULL }, "add map : add map entry", cli_parse_add_map, NULL }, ^ In file included from src/map.c:20:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1104:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "clear", "map", NULL }, "clear map : clear the content of this map", cli_parse_clear_map, NULL }, ^ In file included from src/map.c:20:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1105:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "del", "map", NULL }, "del map : delete map entry", cli_parse_del_map, NULL }, ^ In file included from src/map.c:20:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1106:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "get", "map", NULL }, "get map : report the keys and values matching a sample for a map", cli_parse_get_map, cli_io_handler_map_lookup, cli_release_mlook }, ^ In file included from src/map.c:20:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/map.c:1107:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "map", NULL }, "set map : modify map entry", cli_parse_set_map, NULL }, ^ In file included from src/map.c:20:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1108:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "map", NULL }, "show map [id] : report available maps or dump a map's contents", cli_parse_show_map, NULL }, ^ In file included from src/map.c:20:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1109:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { NULL }, NULL, NULL, NULL } ^ In file included from src/map.c:20:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ 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 src/proto_uxst.c:41: 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/proto_uxst.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, ^~~~ src/proto_uxst.c: In function 'uxst_bind_listener': src/proto_uxst.c:304:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (((listener->bind_conf->ux.uid != -1 || listener->bind_conf->ux.gid != -1) && ^~ src/proto_uxst.c:304:74: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (((listener->bind_conf->ux.uid != -1 || listener->bind_conf->ux.gid != -1) && ^~ src/proto_uxst.c:318:55: warning: signed and unsigned type in conditional expression [-Wsign-compare] listen(fd, listener->backlog ? listener->backlog : listener->maxconn) < 0) { ^ src/proto_uxst.c: In function 'uxst_add_listener': src/proto_uxst.c:387:62: warning: unused parameter 'port' [-Wunused-parameter] static void uxst_add_listener(struct listener *listener, int port) ^~~~ src/proto_uxst.c: In function 'uxst_connect_server': src/proto_uxst.c:437:71: warning: unused parameter 'delack' [-Wunused-parameter] static int uxst_connect_server(struct connection *conn, int data, int delack) ^~~~~~ src/proto_uxst.c: In function 'bind_parse_mode': src/proto_uxst.c:648:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_mode(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_uxst.c: In function 'bind_parse_gid': src/proto_uxst.c:663:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_gid(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_uxst.c: In function 'bind_parse_group': src/proto_uxst.c:675:69: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_group(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_uxst.c: In function 'bind_parse_uid': src/proto_uxst.c:695:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_uid(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/proto_uxst.c: In function 'bind_parse_user': src/proto_uxst.c:707:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_user(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ CC src/fd.o CC src/queue.o CC src/flt_trace.o 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/payload.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/common/standard.h:36:0, from include/types/global.h:30, from src/fd.c:156: 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/proto/channel.h:34:0, from src/payload.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/common/standard.h:38:0, from include/types/global.h:30, from src/fd.c:156: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/standard.h:36:0, from include/common/time.h:30, from src/queue.c:75: 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/htx.h:28:0, from src/flt_trace.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/global.h:30:0, from src/fd.c:156: 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/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/common/htx.h:29:0, from src/flt_trace.c:16: 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:36:0, from include/common/htx.h:31, from src/flt_trace.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/queue.c:75: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/time.h:30:0, from src/queue.c:75: 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/queue.c:75: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/proto/channel.h:41:0, from src/payload.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) ^~~~~~ 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/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/common/ist.h: In function 'ist2str': 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/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ include/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/standard.h:38:0, from include/common/htx.h:31, from src/flt_trace.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/proxy.h:32:0, from include/types/applet.h:27, from include/types/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: 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 src/payload.c:21: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/common/htx.h:31:0, from src/flt_trace.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++) ^ In file included from src/flt_trace.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) ^~~~~ 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/payload.c:25: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/payload.c: In function 'smp_fetch_wait_end': src/payload.c:36:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_wait_end(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/payload.c:36:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_wait_end(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:36:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_wait_end(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_len': src/payload.c:49:33: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/payload.c:49:71: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:49:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_req_ssl_st_ext': src/payload.c:74:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/payload.c:74:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:74:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_req_ssl_ec_ext': src/payload.c:204:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_req_ssl_ec_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/payload.c:204:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_req_ssl_ec_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:204:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_req_ssl_ec_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_ssl_hello_type': In file included from src/flt_trace.c:19: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) ^~~~~~~ src/payload.c:324:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_hello_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ src/payload.c:324:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_hello_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:324:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_hello_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_req_ssl_ver': In file included from include/types/channel.h:26:0, from src/flt_trace.c:22: include/common/buffer.h: In function 'b_alloc_margin': src/payload.c:391:41: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_req_ssl_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ 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/payload.c:391:79: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_req_ssl_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:391:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_req_ssl_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_ssl_hello_sni': src/payload.c:531:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_hello_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/payload.c:531:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_hello_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:531:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_hello_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_ssl_hello_alpn': src/payload.c:697:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_hello_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/payload.c:697:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_hello_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:697:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_hello_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_rdp_cookie': src/payload.c:927:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_rdp_cookie(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:927:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_rdp_cookie(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_payload_lv': src/payload.c:976:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len_size; i++) { ^ src/payload.c:991:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!buf_size || buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:991:75: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!buf_size || buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:956:79: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_payload_lv(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:956:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_payload_lv(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_payload': src/payload.c:1023:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:1023:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:1013:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_payload(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:1013:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_payload(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_distcc_param': src/payload.c:1123:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ofs + 12 <= channel_recv_limit(chn) + b_orig(&chn->buf) - ci_head(chn)) ^~ src/payload.c:1097:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_distcc_param(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:1097:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_distcc_param(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: In function 'smp_fetch_distcc_body': src/payload.c:1199:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ofs + 12 <= channel_recv_limit(chn) + b_orig(&chn->buf) - ci_head(chn)) ^~ src/payload.c:1236:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ofs + body > channel_recv_limit(chn) + b_orig(&chn->buf) - ci_head(chn)) { ^ src/payload.c:1174:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_distcc_body(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ^~ src/payload.c:1174:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_distcc_body(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/payload.c: At top level: src/payload.c:1303:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "distcc_body", smp_fetch_distcc_body, ARG2(1,STR,SINT), val_distcc, SMP_T_BIN, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1304:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "distcc_param", smp_fetch_distcc_param, ARG2(1,STR,SINT), val_distcc, SMP_T_SINT, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1305:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "payload", smp_fetch_payload, ARG2(2,SINT,SINT), NULL, SMP_T_BIN, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1306:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "payload_lv", smp_fetch_payload_lv, ARG3(2,SINT,SINT,STR), val_payload_lv, SMP_T_BIN, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1307:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rdp_cookie", smp_fetch_rdp_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1308:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rdp_cookie_cnt", smp_fetch_rdp_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1309:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rep_ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1310:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_len", smp_fetch_len, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1311:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1312:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ssl_sni", smp_fetch_ssl_hello_sni, 0, NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1313:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ssl_ver", smp_fetch_req_ssl_ver, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1315:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.len", smp_fetch_len, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1316:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.payload", smp_fetch_payload, ARG2(2,SINT,SINT), NULL, SMP_T_BIN, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1317:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.payload_lv", smp_fetch_payload_lv, ARG3(2,SINT,SINT,STR), val_payload_lv, SMP_T_BIN, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1318:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.rdp_cookie", smp_fetch_rdp_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1319:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.rdp_cookie_cnt", smp_fetch_rdp_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1320:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_ec_ext", smp_fetch_req_ssl_ec_ext, 0, NULL, SMP_T_BOOL, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1321:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_st_ext", smp_fetch_req_ssl_st_ext, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1322:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1323:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_sni", smp_fetch_ssl_hello_sni, 0, NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1324:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_alpn", smp_fetch_ssl_hello_alpn, 0, NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1325:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_ver", smp_fetch_req_ssl_ver, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1326:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.len", smp_fetch_len, 0, NULL, SMP_T_SINT, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1327:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.payload", smp_fetch_payload, ARG2(2,SINT,SINT), NULL, SMP_T_BIN, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1328:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.payload_lv", smp_fetch_payload_lv, ARG3(2,SINT,SINT,STR), val_payload_lv, SMP_T_BIN, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1329:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1330:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "wait_end", smp_fetch_wait_end, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1340:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "payload", "req.payload", PAT_MATCH_BIN }, ^ In file included from include/proto/acl.h:26:0, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1341:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "payload_lv", "req.payload_lv", PAT_MATCH_BIN }, ^ In file included from include/proto/acl.h:26:0, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1342:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_rdp_cookie", "req.rdp_cookie", PAT_MATCH_STR }, ^ In file included from include/proto/acl.h:26:0, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1343:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_rdp_cookie_cnt", "req.rdp_cookie_cnt", PAT_MATCH_INT }, ^ In file included from include/proto/acl.h:26:0, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1344:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ssl_sni", "req.ssl_sni", PAT_MATCH_STR }, ^ In file included from include/proto/acl.h:26:0, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1345:2: warning: missing initializer for field 'index' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ssl_ver", "req.ssl_ver", PAT_MATCH_INT, pat_parse_dotted_ver }, ^ In file included from include/proto/acl.h:26:0, from src/payload.c:19: include/types/acl.h:96:8: note: 'index' declared here int (*index)(struct pattern_expr *expr, struct pattern *pattern, char **err); ^~~~~ src/payload.c:1346:2: warning: missing initializer for field 'index' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req.ssl_ver", "req.ssl_ver", PAT_MATCH_INT, pat_parse_dotted_ver }, ^ In file included from include/proto/acl.h:26:0, from src/payload.c:19: include/types/acl.h:96:8: note: 'index' declared here int (*index)(struct pattern_expr *expr, struct pattern *pattern, char **err); ^~~~~ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/fd.c:156: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: 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/fd.c:156: 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/applet.h:27, from include/types/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h: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/channel.h:32:0, from include/proto/proto_http.h:29, from src/queue.c:80: 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) ^~~~~ 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/fd.c:156: 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) { ^ 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 src/fd.c:158: 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/task.o In file included from include/proto/channel.h:41:0, from include/proto/proto_http.h:29, from src/queue.c:80: 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:41:0, from include/proto/filters.h:30, from src/flt_trace.c:28: 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) ^~~~~~ In file included from include/proto/proto_http.h:29:0, from src/queue.c:80: 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/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/channel.h:505:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ 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/filters.h:30:0, from src/flt_trace.c:28: 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/log.h:37:0, from src/fd.c:159: 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) ^~~~~~ In file included from src/queue.c:80: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/queue.h:35:0, from src/queue.c:81: 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) ^~~~~~ 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 src/queue.c:81: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))); ^ 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/queue.c:83: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) ^~~~~~ In file included from src/flt_trace.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) ^ 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/flt_trace.c: In function 'trace_hexdump': src/flt_trace.c:94:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < ist.len + padding; i++) { ^ src/flt_trace.c:100:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i < ist.len) ^ src/flt_trace.c:108:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = i - 15; j <= i && j < ist.len; j++) ^ src/flt_trace.c: In function 'trace_raw_hexdump': src/flt_trace.c:122:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (block1 > b_contig_data(buf, out)) ^ src/flt_trace.c: In function 'trace_deinit': src/flt_trace.c:185:28: warning: unused parameter 'px' [-Wunused-parameter] trace_deinit(struct proxy *px, struct flt_conf *fconf) ^~ src/flt_trace.c: In function 'trace_check': src/flt_trace.c:200:27: warning: unused parameter 'px' [-Wunused-parameter] trace_check(struct proxy *px, struct flt_conf *fconf) ^~ src/flt_trace.c:200:48: warning: unused parameter 'fconf' [-Wunused-parameter] trace_check(struct proxy *px, struct flt_conf *fconf) ^~~~~ src/flt_trace.c: In function 'trace_init_per_thread': src/flt_trace.c:207:37: warning: unused parameter 'px' [-Wunused-parameter] trace_init_per_thread(struct proxy *px, struct flt_conf *fconf) ^~ src/flt_trace.c: In function 'trace_deinit_per_thread': src/flt_trace.c:217:39: warning: unused parameter 'px' [-Wunused-parameter] trace_deinit_per_thread(struct proxy *px, struct flt_conf *fconf) ^~ src/flt_trace.c: In function 'trace_http_payload': src/flt_trace.c:492:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!ret || ret >= data) ^~ src/flt_trace.c:506:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret != len) ^~ src/flt_trace.c: In function 'trace_http_reply': src/flt_trace.c:569:65: warning: unused parameter 'status' [-Wunused-parameter] trace_http_reply(struct stream *s, struct filter *filter, short status, ^~~~~~ src/flt_trace.c:570:25: warning: unused parameter 'msg' [-Wunused-parameter] const struct buffer *msg) ^~~ src/flt_trace.c: In function 'trace_http_forward_data': src/flt_trace.c:600:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((ret != len) || ^~ src/flt_trace.c: In function 'trace_tcp_forward_data': src/flt_trace.c:650:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret != len) ^~ src/flt_trace.c: In function 'parse_trace_flt': src/flt_trace.c:700:59: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ^~~~~~~ In file included from include/proto/applet.h:30:0, from include/proto/stream_interface.h:31, from src/queue.c:85: 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/queue.c: In function 'pendconn_add': src/queue.c:373:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv->nbpend > srv->counters.nbpend_max) ^ src/queue.c:380:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (px->nbpend > px->be_counters.nbpend_max) ^ src/queue.c: In function 'action_set_priority_class': src/queue.c:514:94: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/queue.c: In function 'action_set_priority_offset': src/queue.c:527:95: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~~ src/queue.c: At top level: src/queue.c:597:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-class", parse_set_priority_class }, ^ In file included from include/proto/http_rules.h:27:0, from src/queue.c:79: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/queue.c:598:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-offset", parse_set_priority_offset }, ^ In file included from include/proto/http_rules.h:27:0, from src/queue.c:79: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/queue.c:605:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-class", parse_set_priority_class }, ^ In file included from include/proto/http_rules.h:27:0, from src/queue.c:79: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/queue.c:606:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-offset", parse_set_priority_offset }, ^ In file included from include/proto/http_rules.h:27:0, from src/queue.c:79: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/queue.c: In function 'smp_fetch_priority_class': src/queue.c:613:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_priority_class(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/queue.c:613:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_priority_class(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/queue.c:613:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_priority_class(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/queue.c: In function 'smp_fetch_priority_offset': src/queue.c:625:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_priority_offset(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/queue.c:625:83: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_priority_offset(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/queue.c:625:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_priority_offset(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/queue.c: At top level: src/queue.c:638:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "prio_class", smp_fetch_priority_class, 0, NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/queue.c:639:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "prio_offset", smp_fetch_priority_offset, 0, NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/standard.h:36:0, from src/task.c:18: 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/task.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/task.c:18: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/task.c:19: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/proto/proxy.h:28, from src/task.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/applet.h:27, from include/proto/proxy.h:28, from src/task.c:23: 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/lb_chash.o CC src/frontend.o CC src/applet.o In file included from include/common/standard.h:36:0, from src/lb_chash.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)) ^ In file included from src/frontend.c:25: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/lb_chash.c:22: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/proxy.h:30:0, from include/types/applet.h:27, from include/proto/applet.h:29, from src/applet.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/lb_chash.c:22: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/common/standard.h:38:0, from src/frontend.c:30: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/types/applet.h:27, from include/proto/applet.h:29, from src/applet.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/frontend.c:30: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/proxy.h:32:0, from include/types/applet.h:27, from include/proto/applet.h:29, from src/applet.c:18: 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 src/frontend.c:31: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/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/proto/proxy.h:28, from src/task.c:23: 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/task.c:23: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/task.c:24:0: 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) ^~~~~~ src/task.c: In function 'init_task': src/task.c:527:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < MAX_THREADS; i++) { ^ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/frontend.c:33: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/frontend.c:33: 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/frontend.c:33: 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/types/global.h:33, from src/lb_chash.c:25: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ 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/types/applet.h:27, from include/proto/applet.h:29, from src/applet.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: 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/lb_chash.c:25: 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/channel.h:32:0, from src/frontend.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 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/types/applet.h:27, from include/proto/applet.h:29, from src/applet.c:18: 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/lb_chash.c:25: 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/applet.h:27, from include/proto/applet.h:29, from src/applet.c:18: 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/backend.h:26:0, from src/lb_chash.c:28: 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/lb_chash.c:28: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/fd.h:32:0, from include/proto/connection.h:30, from include/proto/applet.h:30, from src/applet.c:18: 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/lb_chash.c:29: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))); ^ src/lb_chash.c: In function 'chash_server_is_eligible': src/lb_chash.c:313:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return s->served < slots; ^ src/lb_chash.c: In function 'chash_get_next_server': src/lb_chash.c:446:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!s->maxconn || (!s->nbpend && s->served < srv_dynamic_maxconn(s))) { ^ src/lb_chash.c: In function 'chash_init_server_tree': src/lb_chash.c:502:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (node = 0; node < srv->lb_nodes_tot; node++) { ^ In file included from include/proto/channel.h:41:0, from src/frontend.c:37: 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 src/frontend.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 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/applet.c:18: 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/applet.c:18: 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/frontend.c:43: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/frontend.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) ^~~~~~ CC src/mux_pt.o 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/frontend.c:47: 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/frontend.c:47: 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/frontend.c:47: 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/proto/server.h:36, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/applet.c:18: include/proto/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/applet.h:30:0, from include/proto/stream_interface.h:31, from src/frontend.c:47: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h: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, ^~~~ 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/applet.c:18: 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/frontend.c: In function 'smp_fetch_fe_id': src/frontend.c:176:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fe_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/frontend.c:176:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/frontend.c:176:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_name': src/frontend.c:186:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fe_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/frontend.c:186:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/frontend.c:186:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_defbe': src/frontend.c:200:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fe_defbe(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/frontend.c:200:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_defbe(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/frontend.c:200:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_defbe(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_req_rate': src/frontend.c:219:79: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_req_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/frontend.c:219:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_req_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_sess_rate': src/frontend.c:232:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/frontend.c:232:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_conn': src/frontend.c:245:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/frontend.c:245:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/frontend.c: At top level: src/frontend.c:258:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_conn", smp_fetch_fe_conn, ARG1(1,FE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:259:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_defbe", smp_fetch_fe_defbe, 0, NULL, SMP_T_STR, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7: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/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:260:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_id", smp_fetch_fe_id, 0, NULL, SMP_T_SINT, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7: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/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:261:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_name", smp_fetch_fe_name, 0, NULL, SMP_T_STR, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7: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/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:262:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_req_rate", smp_fetch_fe_req_rate, ARG1(1,FE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:263:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_sess_rate", smp_fetch_fe_sess_rate, ARG1(1,FE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7: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/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/proto/applet.h:30:0, from src/applet.c:18: 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/applet.c:19: 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) ^~ CC src/signal.o In file included from include/proto/connection.h:26:0, from src/mux_pt.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/applet.c:19: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/applet.c: In function 'task_run_applet': src/applet.c:59:76: warning: unused parameter 'state' [-Wunused-parameter] struct task *task_run_applet(struct task *t, void *context, unsigned short state) ^~~~~ CC src/ev_select.o In file included from include/common/standard.h:36:0, from include/proto/signal.h:15, from src/signal.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/proto/signal.h:15, from src/signal.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ CC src/proto_sockpair.o In file included from include/proto/signal.h:15:0, from src/signal.c:18: 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/http.h:27:0, from include/types/proxy.h:32, from include/proto/log.h:34, from src/signal.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from src/signal.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:36:0, from include/common/ticks.h:56, from src/ev_select.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/ticks.h:56, from src/ev_select.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/ticks.h:56:0, from src/ev_select.c:20: 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_select.c:21: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:36:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/mux_pt.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:36:0, from src/proto_sockpair.c:35: 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/proto_sockpair.c:35: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/mux_pt.c:15: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/proto_sockpair.c:35: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/listener.h:36:0, from include/types/connection.h:31, from include/proto/connection.h:28, from src/mux_pt.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h: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/proto_sockpair.c:36: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/proto/fd.h:32:0, from include/proto/connection.h:30, from src/mux_pt.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h: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/types/applet.h:27, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/mux_pt.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); ^~~~~ 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/proto/obj_type.h:27, from include/proto/connection.h:31, from src/mux_pt.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h: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 src/mux_pt.c:15: 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_pt.c:15: 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/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 src/signal.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/log.h:37:0, from include/proto/server.h:36, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_pt.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) ^~~~~~ 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) ^~~~~~ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from src/signal.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) ^~~~~~~~~~~ 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 src/mux_pt.c:15: 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/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/ev_select.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/mux_pt.c:15: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/types/proxy.h:32:0, from include/types/global.h:33, from src/ev_select.c:23: 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_pt.c: In function 'mux_pt_io_cb': src/mux_pt.c:47:47: warning: unused parameter 't' [-Wunused-parameter] static struct task *mux_pt_io_cb(struct task *t, void *tctx, unsigned short status) ^ src/mux_pt.c:47:77: warning: unused parameter 'status' [-Wunused-parameter] static struct task *mux_pt_io_cb(struct task *t, void *tctx, unsigned short status) ^~~~~~ src/mux_pt.c: In function 'mux_pt_init': src/mux_pt.c:83:63: warning: unused parameter 'prx' [-Wunused-parameter] static int mux_pt_init(struct connection *conn, struct proxy *prx, struct session *sess) ^~~ src/mux_pt.c:83:84: warning: unused parameter 'sess' [-Wunused-parameter] static int mux_pt_init(struct connection *conn, struct proxy *prx, struct session *sess) ^~~~ src/mux_pt.c: In function 'mux_pt_attach': src/mux_pt.c:158:83: warning: unused parameter 'sess' [-Wunused-parameter] static struct conn_stream *mux_pt_attach(struct connection *conn, struct session *sess) ^~~~ src/mux_pt.c: In function 'mux_pt_ctl': src/mux_pt.c:329:81: warning: unused parameter 'output' [-Wunused-parameter] static int mux_pt_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ^~~~~~ In file included from 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_select.c:23: 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/log.h:37:0, from src/signal.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/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/proto_sockpair.c:39: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/proto_sockpair.c:39: 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/ev_select.c: In function '_do_poll': src/ev_select.c:159:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < (maxfd + FD_SETSIZE - 1)/(8*sizeof(int)); i++) { ^ src/ev_select.c:183:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (fds = 0; (fds * BITS_PER_INT) < maxfd; fds++) { ^ src/ev_select.c:82:45: warning: unused parameter 'p' [-Wunused-parameter] REGPRM2 static void _do_poll(struct poller *p, int exp) ^ src/ev_select.c: In function '_do_test': src/ev_select.c:286:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ^ 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/proto_sockpair.c:39: 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) { ^ CC src/compression.o CC src/http_conv.o 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_sockpair.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 include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_sockpair.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison 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 src/proto_sockpair.c:41: 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 src/proto_sockpair.c:41: 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/proto_sockpair.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, ^~~~ src/proto_sockpair.c: In function 'sockpair_add_listener': src/proto_sockpair.c:87:66: warning: unused parameter 'port' [-Wunused-parameter] static void sockpair_add_listener(struct listener *listener, int port) ^~~~ src/proto_sockpair.c: In function 'sockpair_connect_server': src/proto_sockpair.c:246:75: warning: unused parameter 'delack' [-Wunused-parameter] static int sockpair_connect_server(struct connection *conn, int data, int delack) ^~~~~~ CC src/memory.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/compression.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 src/http_conv.c:19: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/compression.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/http.h:27:0, from src/http_conv.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/http_conv.c:23:0: 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/http_conv.c:26: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/http_conv.c:26: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++) ^ CC src/lb_fwrr.o In file included from include/types/proxy.h:30:0, from include/types/applet.h:27, from src/memory.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/types/applet.h:27, from src/memory.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/applet.h:27, from src/memory.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:36:0, from include/types/global.h:30, from src/lb_fwrr.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/types/global.h:30, from src/lb_fwrr.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/global.h:30:0, from src/lb_fwrr.c:18: 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/http_conv.c:30: 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/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/compression.c:29: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/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/compression.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/proto/fd.h:32:0, from include/proto/stream.h:29, from src/http_conv.c:34: 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/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/compression.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 src/http_conv.c:34:0: 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) ^~~~~~ 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/compression.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) ^~~~~~~~~~~ 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/http_conv.c: In function 'sample_conv_http_date': src/http_conv.c:41:84: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_http_date(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/http_conv.c: In function 'sample_conv_q_preferred': src/http_conv.c:71:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_q_preferred(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/http_conv.c: In function 'sample_conv_url_dec': src/http_conv.c:218:50: warning: unused parameter 'args' [-Wunused-parameter] static int sample_conv_url_dec(const struct arg *args, struct sample *smp, void *private) ^~~~ src/http_conv.c:218:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_url_dec(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/http_conv.c: In function 'smp_conv_req_capture': src/http_conv.c:243:83: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_req_capture(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/http_conv.c: In function 'smp_conv_res_capture': src/http_conv.c:284:83: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_res_capture(const struct arg *args, struct sample *smp, void *private) ^~~~~~~ src/http_conv.c: At top level: src/http_conv.c:331:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "http_date", sample_conv_http_date, ARG1(0,SINT), NULL, SMP_T_SINT, SMP_T_STR}, ^ In file included from include/types/vars.h:7: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_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:332:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "language", sample_conv_q_preferred, ARG2(1,STR,STR), NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7: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_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:333:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "capture-req", smp_conv_req_capture, ARG1(1,SINT), NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7: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_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:334:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "capture-res", smp_conv_res_capture, ARG1(1,SINT), NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7: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_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:335:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "url_dec", sample_conv_url_dec, 0, NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7: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_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:336:2: warning: missing initializer for field 'out_type' of 'struct sample_conv' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7: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_conv.c:30: include/types/sample.h:278:15: note: 'out_type' declared here unsigned int out_type; /* output sample type */ ^~~~~~~~ In file included from include/common/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/types/applet.h:27, from src/memory.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/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/types/applet.h:27, from src/memory.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/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 src/memory.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/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/compression.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) ^~~~~~ CC src/channel.o 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/compression.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 include/proto/fd.h:32:0, from include/proto/connection.h:30, from include/proto/applet.h:30, from src/memory.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/compression.c:100:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "identity", 8, "identity", 8, identity_init, identity_add_data, identity_flush, identity_finish, identity_end }, ^ In file included from src/compression.c:36:0: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:106:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "deflate", 7, "deflate", 7, deflate_init, deflate_add_data, deflate_flush, deflate_finish, deflate_end }, ^ In file included from src/compression.c:36:0: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:107:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "raw-deflate", 11, "deflate", 7, raw_def_init, deflate_add_data, deflate_flush, deflate_finish, deflate_end }, ^ In file included from src/compression.c:36:0: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:108:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "gzip", 4, "gzip", 4, gzip_init, deflate_add_data, deflate_flush, deflate_finish, deflate_end }, ^ In file included from src/compression.c:36:0: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:110:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { NULL, 0, NULL, 0, NULL , NULL, NULL, NULL, NULL } ^ In file included from src/compression.c:36:0: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c: In function 'init_comp_ctx': src/compression.c:159:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (global.maxzlibmem > 0 && (global.maxzlibmem - zlib_used_memory) < sizeof(struct comp_ctx)) ^ src/compression.c: In function 'identity_init': src/compression.c:207:44: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_init(struct comp_ctx **comp_ctx, int level) ^~~~~~~~ src/compression.c:207:58: warning: unused parameter 'level' [-Wunused-parameter] static int identity_init(struct comp_ctx **comp_ctx, int level) ^~~~~ src/compression.c: In function 'identity_add_data': src/compression.c:216:47: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_add_data(struct comp_ctx *comp_ctx, const char *in_data, int in_len, struct buffer *out) ^~~~~~~~ src/compression.c: In function 'identity_flush': src/compression.c:231:44: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_flush(struct comp_ctx *comp_ctx, struct buffer *out) ^~~~~~~~ src/compression.c:231:69: warning: unused parameter 'out' [-Wunused-parameter] static int identity_flush(struct comp_ctx *comp_ctx, struct buffer *out) ^~~ src/compression.c: In function 'identity_finish': src/compression.c:236:45: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_finish(struct comp_ctx *comp_ctx, struct buffer *out) ^~~~~~~~ src/compression.c:236:70: warning: unused parameter 'out' [-Wunused-parameter] static int identity_finish(struct comp_ctx *comp_ctx, struct buffer *out) ^~~ src/compression.c: In function 'identity_end': src/compression.c:244:43: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_end(struct comp_ctx **comp_ctx) ^~~~~~~~ src/compression.c: In function 'deflate_flush_or_finish': src/compression.c:610:72: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((global.comp_rate_lim > 0 && (read_freq_ctr(&global.comp_bps_out) > global.comp_rate_lim)) || /* rate */ ^ src/compression.c: In function 'zlib_parse_global_memlevel': src/compression.c:650:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int zlib_parse_global_memlevel(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/compression.c:650:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int zlib_parse_global_memlevel(char **args, int section_type, struct proxy *curpx, ^~~~~ src/compression.c:651:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/compression.c:651:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/compression.c:651:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/compression.c: In function 'zlib_parse_global_windowsize': src/compression.c:672:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int zlib_parse_global_windowsize(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/compression.c:672:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int zlib_parse_global_windowsize(char **args, int section_type, struct proxy *curpx, ^~~~~ src/compression.c:673:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/compression.c:673:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/compression.c:673:84: 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 include/proto/applet.h:30, from src/memory.c:27: 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/memory.c:27: 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/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/lb_fwrr.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/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/memory.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) ^~~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/lb_fwrr.c:18: 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); ^~~~~ 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/memory.c:27: 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/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/lb_fwrr.c:18: 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/applet.h:30:0, from src/memory.c:27: 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/memory.c:29: 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); ^ In file included from include/proto/backend.h:26:0, from src/lb_fwrr.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/htx.h: In function 'htx_get_prev': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/htx.h:426:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ 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/lb_fwrr.c:21: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/common/buffer.h:30:0, from src/channel.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 src/lb_fwrr.c:22: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/memory.c:29: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/lb_fwrr.c: In function 'fwrr_update_server_weight': src/lb_fwrr.c:232:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv->npos > prev_next) ^ src/lb_fwrr.c:234:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv->npos < grp->curr_pos + 2) ^ In file included from include/common/buffer.h:32:0, from src/channel.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': src/lb_fwrr.c: In function 'fwrr_queue_srv': include/common/ist.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/lb_fwrr.c:353:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] s->npos >= 2 * grp->curr_weight || ^~ src/lb_fwrr.c:354:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] s->npos >= grp->curr_weight + grp->next_weight) { ^~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ CC src/htx.o src/lb_fwrr.c: In function 'fwrr_get_server_from_group': src/lb_fwrr.c:463:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s1->cur_eweight && s1->npos <= grp->curr_pos) ^~ In file included from src/channel.c:19: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) { ^ src/lb_fwrr.c: In function 'fwrr_get_next_server': src/lb_fwrr.c:571:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!srv->maxconn || (!srv->nbpend && srv->served < srv_dynamic_maxconn(srv))) { ^ In file included from include/common/htx.h:29:0, from include/proto/channel.h:32, from src/channel.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); ^~~~~ src/memory.c: In function 'create_pool': src/memory.c:131:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (thr = 0; thr < MAX_THREADS; thr++) ^ src/memory.c: In function 'init_pools': src/memory.c:554:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (thr = 0; thr < MAX_THREADS; thr++) { ^ src/memory.c: At top level: src/memory.c:567:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "pools", NULL }, "show pools : report information about the memory pools usage", NULL, cli_io_handler_dump_pools }, ^ In file included from src/memory.c:15:0: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/memory.c:568:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/memory.c:15: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/common/htx.h:31, from include/proto/channel.h:32, from src/channel.c:21: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/htx.h:31:0, from include/proto/channel.h:32, from src/channel.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/proto/channel.h:32:0, from src/channel.c:21: 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/channel.h:34:0, from src/channel.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 src/htx.c:13: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/htx.h:28:0, from src/htx.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ CC src/uri_auth.o include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/common/htx.h:29:0, from src/htx.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); ^~~~~ CC src/regex.o In file included from include/common/standard.h:38:0, from include/common/htx.h:31, from src/htx.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/htx.h:31:0, from src/htx.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 src/htx.c:14: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) ^~ src/htx.c: In function 'htx_defrag': src/htx.c:43:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (old = htx_get_head(htx); old != -1; old = htx_get_next(htx, old)) { ^~ src/htx.c:56:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (htx->sl_off == oldblk->addr) ^~ src/htx.c:74:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return ((blkpos == -1) ? NULL : htx_get_blk(htx, blkpos)); ^~ src/htx.c: In function 'htx_remove_blk': src/htx.c:225:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (htx->sl_off == blk->addr) ^~ src/htx.c: In function 'htx_append_blk_value': src/htx.c:397:3: warning: label 'append_data' defined but not used [-Wunused-label] append_data: ^~~~~~~~~~~ src/htx.c: In function 'htx_replace_blk_value': src/htx.c:450:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (delta > htx_free_space(htx)) ^ src/htx.c: In function 'htx_xfer_blks': src/htx.c:545:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (dst->sl_off == -1 && src->sl_off == blk->addr) ^~ src/htx.c: In function 'htx_replace_header': src/htx.c:581:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (delta > htx_free_space(htx)) ^ src/htx.c: In function 'htx_replace_stline': src/htx.c:619:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (htx->sl_off == blk->addr) ^~ src/htx.c:634:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (delta > htx_free_space(htx)) ^ src/htx.c: In function 'htx_add_last_data': src/htx.c:845:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (htx->front == cur) ^~ src/htx.c:847:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (htx->front == prev) ^~ In file included from include/common/standard.h:36:0, from include/types/global.h:30, from src/regex.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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 src/uri_auth.c:20: 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 src/uri_auth.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from src/uri_auth.c:20: 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/global.h:30, from src/regex.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/global.h:30:0, from src/regex.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/proto/channel.h:41:0, from src/channel.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 src/channel.c:21: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/channel.c: In function 'co_inject': src/channel.c:85:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || len > c_size(chn)) { ^ In file included from include/common/config.h:25:0, from src/channel.c:18: src/channel.c: In function 'ci_putblk': src/channel.c:154:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(len > max - c_data(chn))) { ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/channel.c: In function 'co_getline': src/channel.c:206:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > co_data(chn)) { ^ src/channel.c:220:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (ret < co_data(chn) || channel_may_recv(chn)) && ^ src/channel.c: In function 'co_getblk': src/channel.c:243:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len + offset > co_data(chn)) { ^ src/channel.c: In function 'co_getline_nc': src/channel.c:291:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (l = 0; l < *len1 && (*blk1)[l] != '\n'; l++); ^ src/channel.c:292:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l < *len1 && (*blk1)[l] == '\n') { ^ src/channel.c:298:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (l = 0; l < *len2 && (*blk2)[l] != '\n'; l++); ^ src/channel.c:299:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l < *len2 && (*blk2)[l] == '\n') { ^ src/channel.c: In function 'ci_getline_nc': src/channel.c:367:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (l = 0; l < *len1 && (*blk1)[l] != '\n'; l++); ^ src/channel.c:368:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l < *len1 && (*blk1)[l] == '\n') { ^ src/channel.c:374:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (l = 0; l < *len2 && (*blk2)[l] != '\n'; l++); ^ src/channel.c:375:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l < *len2 && (*blk2)[l] == '\n') { ^ CC src/chunk.o CC src/pipe.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 src/uri_auth.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/listener.h:36: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 src/uri_auth.c:20: 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/chunk.c:19: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/regex.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/regex.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/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 src/uri_auth.c:20: 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/regex.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/common/standard.h:38:0, from src/chunk.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from src/uri_auth.c:20: 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/chunk.c:20: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/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from src/regex.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/common/standard.h:36:0, from include/types/global.h:30, from src/pipe.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/proto/log.h:37:0, from src/uri_auth.c:20: 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/standard.h:38:0, from include/types/global.h:30, from src/pipe.c:20: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/global.h:30:0, from src/pipe.c:20: 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/log.h:37:0, from src/regex.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) ^~~~~~ src/regex.c: In function 'regex_exec_match': src/regex.c:219:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i size)) ^ In file included from include/common/standard.h:36:0, from include/types/global.h:30, from src/lb_map.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/global.h:33, from src/chunk.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/common/standard.h:38:0, from include/types/global.h:30, from src/lb_fas.c:24: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/standard.h:38:0, from include/types/global.h:30, from src/lb_map.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ src/chunk.c: In function 'init_trash_buffers': src/chunk.c:93:28: warning: unused parameter 'first' [-Wunused-parameter] int init_trash_buffers(int first) ^~~~~ src/chunk.c: In function 'chunk_printf': src/chunk.c:141:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret >= chk->size) ^~ src/chunk.c: In function 'chunk_appendf': src/chunk.c:164:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret >= chk->size - chk->data) ^~ src/chunk.c: In function 'chunk_htmlencode': src/chunk.c:186:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < src->data; i++) { ^ src/chunk.c: In function 'chunk_asciiencode': src/chunk.c:228:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < src->data; i++) { ^ In file included from include/types/global.h:30:0, from src/lb_fas.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 include/types/global.h:30:0, from src/lb_map.c:18: 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/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/pipe.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/pipe.c:20: 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/pipe.c:20: 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/pipe.c: At top level: src/pipe.c:74:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __kill_pipe(struct pipe *p) ^~~~~~ CC src/lb_fwlc.o CC src/auth.o In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/lb_map.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/lb_map.c:18: 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:36:0, from include/types/global.h:30, from src/lb_fwlc.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/global.h:33, from src/lb_map.c:18: 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/standard.h:36:0, from include/types/global.h:30, from src/auth.c:28: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/types/global.h:30, from src/lb_fwlc.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/lb_fas.c:24: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/proto/backend.h:26:0, from src/lb_map.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:32:0, from include/types/global.h:33, from src/lb_fas.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/types/global.h:30:0, from src/lb_fwlc.c:18: 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/lb_map.c:21: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/lb_map.c:23: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))); ^ src/lb_map.c: In function 'recalc_server_map': src/lb_map.c:112:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((cur->flags & SRV_F_BACKUP) == flag && ^~ src/lb_map.c: In function 'map_get_server_rr': src/lb_map.c:238:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!srv->maxconn || (!srv->nbpend && srv->served < srv_dynamic_maxconn(srv))) { ^ In file included from include/common/standard.h:38:0, from include/types/global.h:30, from src/auth.c:28: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/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/lb_fas.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/types/global.h:30:0, from src/auth.c:28: 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/backend.h:26:0, from src/lb_fas.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 src/lb_fas.c:27: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/lb_fas.c:28: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))); ^ src/lb_fas.c: In function 'fas_get_next_server': src/lb_fas.c:331:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!s->maxconn || (!s->nbpend && s->served < srv_dynamic_maxconn(s))) { ^ CC src/time.o CC src/hathreads.o In file included from include/common/standard.h:36:0, from src/time.c:18: 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/lb_fwlc.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/lb_fwlc.c:18: 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/time.c:18: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/time.c:18: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/time.c:19: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/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/lb_fwlc.c:18: 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/types/global.h:33, from src/auth.c:28: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/auth.c:28: 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/backend.h:26:0, from src/lb_fwlc.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 src/lb_fwlc.c:21: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/lb_fwlc.c:22: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 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/auth.c:28: 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/lb_fwlc.c: In function 'fwlc_get_next_server': src/lb_fwlc.c:329:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!s->maxconn || (!s->nbpend && s->served < srv_dynamic_maxconn(s))) { ^ CC src/http_htx.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/hathreads.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/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from src/auth.c:35: 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/proto/log.h:34, from include/common/cfgparse.h:30, from src/hathreads.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/hathreads.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); ^~~~~ CC src/buffer.o In file included from include/proto/log.h:37:0, from src/auth.c:35: 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) ^~~~~~ src/auth.c: In function 'pat_match_auth': src/auth.c:284:67: warning: unused parameter 'fill' [-Wunused-parameter] pat_match_auth(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ In file included from include/types/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_htx.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/http_htx.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_htx.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); ^~~~~ CC src/hpack-tbl.o In file included from include/common/buffer.h:30:0, from src/buffer.c:18: 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/buffer.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/buffer.c:18: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/common/http-hdr.h:31:0, from include/common/hpack-tbl.h:33, from src/hpack-tbl.c:34: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/hpack-tbl.c:34:0: 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/common/standard.h:38:0, from include/types/global.h:30, from src/buffer.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/global.h:30:0, from src/buffer.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/common/standard.h:36:0, from include/types/global.h:30, from src/hpack-tbl.c:37: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/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/hathreads.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/hathreads.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/hathreads.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/common/standard.h:38:0, from include/types/global.h:30, from src/hpack-tbl.c:37: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/standard.h:38: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/http_htx.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/global.h:30:0, from src/hpack-tbl.c:37: 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/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/http_htx.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/hathreads.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/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/http_htx.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/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/http_htx.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/hathreads.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/hathreads.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) ^~~~~~ src/hathreads.c: In function 'parse_nbthread': src/hathreads.c:146:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nbthread < 1 || nbthread > MAX_THREADS) { ^ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/http_htx.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/http_htx.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/http_htx.c:17: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) ^~ CC src/shctx.o src/http_htx.c: In function 'http_replace_stline': src/http_htx.c:205:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (htx->sl_off == blk->addr) { ^~ src/http_htx.c: In function 'http_str_to_htx': src/http_htx.c:697:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (raw.len > ret) { ^ src/http_htx.c: In function 'http_htx_init': src/http_htx.c:754:1: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/buffer.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); ^~~~~ src/buffer.c: In function '__offer_buffer': src/buffer.c:116:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (avail <= threshold) ^~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/hpack-tbl.c:37: 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/sha1.o 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/hpack-tbl.c:37: 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/standard.h:36:0, from include/types/global.h:30, from src/shctx.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/types/global.h:30, from src/shctx.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ CC src/http.o In file included from include/types/global.h:30:0, from src/shctx.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++) ^ CC src/hpack-dec.o In file included from include/common/http.h:27:0, from src/http.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/http.c:15:0: 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:36:0, from src/http.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)) ^ In file included from include/common/standard.h:38:0, from src/http.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/standard.h:36:0, from src/hpack-dec.c:33: 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 src/http.c:16: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++) ^ src/http.c: At top level: src/http.c:365:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status) ^~~~~ src/http.c: In function 'http_extract_cookie_value': src/http.c:686:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (att_end - att_beg == cookie_name_l && ^~ In file included from include/common/standard.h:38:0, from src/hpack-dec.c:33: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/hpack-dec.c:33: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/common/http-hdr.h:31:0, from include/common/hpack-tbl.h:33, from include/common/hpack-dec.h:34, from src/hpack-dec.c:34: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/common/hpack-dec.h:34:0, from src/hpack-dec.c:34: include/common/hpack-tbl.h: In function 'hpack_valid_idx': include/common/hpack-tbl.h:161:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ In file included from include/common/htx.h:29:0, from include/common/h2.h:34, from src/hpack-dec.c:38: 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/h2.h:34:0, from src/hpack-dec.c:38: 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) ^~ CC src/action.o In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/shctx.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/shctx.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/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/shctx.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 src/shctx.c:19: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/shctx.c: In function 'shctx_row_reserve_hot': src/shctx.c:43:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (data_len > shctx->nbav * shctx->block_size) ^ src/shctx.c:49:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (!first && data_len > shctx->max_obj_size)) ^ src/shctx.c: In function 'shctx_row_inc_hot': src/shctx.c:159:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (count >= first->block_count) ^~ src/shctx.c: In function 'shctx_row_dec_hot': src/shctx.c:186:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (count >= first->block_count) ^~ src/shctx.c: In function 'shctx_row_data_append': src/shctx.c:209:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > first->block_count * shctx->block_size - first->len) ^ src/shctx.c: In function 'shctx_row_data_get': src/shctx.c:257:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > first->len) ^ src/shctx.c:264:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (count >= first->block_count || len <= 0) ^~ CC src/proto_udp.o In file included from include/common/standard.h:36:0, from src/action.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)) ^ CC src/http_acl.o In file included from include/common/standard.h:38:0, from src/action.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/action.c:16: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/common/http.h:27:0, from include/types/proxy.h:32, from include/types/applet.h:27, from include/types/action.h:27, from include/proto/action.h:25, from src/action.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: 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/action.h:27, from include/proto/action.h:25, from src/action.c:18: 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:36:0, from include/types/global.h:30, from src/proto_udp.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison 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/global.h:33, from src/hpack-dec.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 include/common/standard.h:38:0, from include/types/global.h:30, from src/proto_udp.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/global.h:30:0, from src/proto_udp.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 src/http_acl.c:19: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 src/http_acl.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from src/http_acl.c:23:0: 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/http_acl.c:26: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/http_acl.c:26: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++) ^ CC src/xxhash.o 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/action.h:27, from include/proto/action.h:25, from src/action.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h: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/proxy.h:27:0, from src/action.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 src/action.c:19: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/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/proto_udp.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: 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/proto_udp.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/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/proto_udp.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 src/proto_udp.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/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/http_acl.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) { ^ src/http_acl.c: In function 'pat_parse_meth': src/http_acl.c:40:74: warning: unused parameter 'mflags' [-Wunused-parameter] static int pat_parse_meth(const char *text, struct pattern *pattern, int mflags, char **err) ^~~~~~ src/http_acl.c:40:89: warning: unused parameter 'err' [-Wunused-parameter] static int pat_parse_meth(const char *text, struct pattern *pattern, int mflags, char **err) ^~~ src/http_acl.c: In function 'pat_match_meth': src/http_acl.c:78:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pattern->len != smp->data.u.meth.str.data) ^~ src/http_acl.c:60:90: warning: unused parameter 'fill' [-Wunused-parameter] static struct pattern *pat_match_meth(struct sample *smp, struct pattern_expr *expr, int fill) ^~~~ src/http_acl.c: At top level: src/http_acl.c:97:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base", "base", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:98:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_beg", "base", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:99:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_dir", "base", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:100:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_dom", "base", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:101:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_end", "base", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:102:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_len", "base", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:103:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_reg", "base", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:104:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_sub", "base", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:106:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook", "req.cook", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:107:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_beg", "req.cook", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:108:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_dir", "req.cook", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:109:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_dom", "req.cook", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:110:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_end", "req.cook", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:111:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_len", "req.cook", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:112:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_reg", "req.cook", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:113:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_sub", "req.cook", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:115:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr", "req.hdr", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:116:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_beg", "req.hdr", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:117:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_dir", "req.hdr", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:118:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_dom", "req.hdr", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:119:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_end", "req.hdr", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:120:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_len", "req.hdr", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:121:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_reg", "req.hdr", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:122:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_sub", "req.hdr", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:130:2: warning: missing initializer for field 'smp' of 'struct acl_keyword' [-Wmissing-field-initializers] { "http_auth_group", NULL, PAT_MATCH_STR, NULL, pat_idx_list_str, pat_del_list_ptr, NULL, pat_match_auth }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:101:23: note: 'smp' declared here struct sample_fetch *smp; /* the sample fetch we depend on */ ^~~ src/http_acl.c:131:2: warning: missing initializer for field 'smp' of 'struct acl_keyword' [-Wmissing-field-initializers] { "method", NULL, PAT_MATCH_STR, pat_parse_meth, pat_idx_list_str, pat_del_list_ptr, NULL, pat_match_meth }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:101:23: note: 'smp' declared here struct sample_fetch *smp; /* the sample fetch we depend on */ ^~~ src/http_acl.c:133:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path", "path", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:134:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_beg", "path", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:135:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_dir", "path", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:136:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_dom", "path", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:137:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_end", "path", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:138:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_len", "path", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:139:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_reg", "path", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:140:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_sub", "path", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:142:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ver", "req.ver", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:143:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "resp_ver", "res.ver", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:145:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook", "res.cook", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:146:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_beg", "res.cook", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:147:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_dir", "res.cook", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:148:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_dom", "res.cook", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:149:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_end", "res.cook", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:150:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_len", "res.cook", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:151:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_reg", "res.cook", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:152:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_sub", "res.cook", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:154:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr", "res.hdr", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:155:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_beg", "res.hdr", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:156:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_dir", "res.hdr", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:157:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_dom", "res.hdr", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:158:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_end", "res.hdr", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:159:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_len", "res.hdr", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:160:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_reg", "res.hdr", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:161:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_sub", "res.hdr", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:163:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url", "url", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:164:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_beg", "url", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:165:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_dir", "url", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:166:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_dom", "url", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:167:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_end", "url", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:168:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_len", "url", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:169:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_reg", "url", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:170:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_sub", "url", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:172:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp", "urlp", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:173:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_beg", "urlp", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:174:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_dir", "urlp", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:175:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_dom", "urlp", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:176:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_end", "urlp", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:177:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_len", "urlp", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:178:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_reg", "urlp", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:179:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_sub", "urlp", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41:0, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ CC src/hpack-enc.o CC src/h2.o CC src/freq_ctr.o In file included from include/common/http-hdr.h:31:0, from include/common/h2.h:33, from src/h2.c:30: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/common/htx.h:29:0, from include/common/h2.h:34, from src/h2.c:30: 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:36:0, from src/freq_ctr.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/standard.h:38:0, from src/freq_ctr.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/standard.h:36:0, from include/common/htx.h:31, from include/common/h2.h:34, from src/h2.c:30: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/freq_ctr.c:14: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/freq_ctr.c:15: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/common/hpack-enc.h:35, from src/hpack-enc.c:33: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/common/hpack-enc.h:35:0, from src/hpack-enc.c:33: 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/htx.h:31, from include/common/h2.h:34, from src/h2.c:30: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/htx.h:31:0, from include/common/h2.h:34, from src/h2.c:30: 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/h2.h:34:0, from src/h2.c:30: 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/common/standard.h:36:0, from include/types/global.h:30, from src/hpack-enc.c:37: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/h2.c: In function 'h2_make_h1_request': src/h2.c:191:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = !!phdr; i < list[idx].n.len; i++) ^ src/h2.c: In function 'h2_make_h1_trailers': src/h2.c:402:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < list[idx].n.len; i++) ^ src/h2.c: In function 'h2_make_htx_request': src/h2.c:650:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = !!phdr; i < list[idx].n.len; i++) ^ src/h2.c: In function 'h2_make_htx_response': src/h2.c:903:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = !!phdr; i < list[idx].n.len; i++) ^ In file included from include/common/standard.h:38:0, from include/types/global.h:30, from src/hpack-enc.c:37: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ src/h2.c: In function 'h2_make_htx_trailers': src/h2.c:1037:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < list[idx].n.len; i++) ^ CC src/lru.o In file included from include/types/global.h:30:0, from src/hpack-enc.c:37: 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++) ^ CC src/protocol.o CC src/arg.o 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/hpack-enc.c:37: 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/config.h:25:0, from include/common/hpack-enc.h:34, from src/hpack-enc.c:33: src/hpack-enc.c: In function 'hpack_encode_header': src/hpack-enc.c:180:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(n.len < 127 && len + 2 + n.len <= size)) { ^ include/common/compiler.h:124:38: note: in definition of macro 'likely' #define likely(x) (__builtin_expect((x) != 0, 1)) ^ src/hpack-enc.c:187:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] len + 1 + hpack_len_to_bytes(n.len) + n.len <= size) { ^~ src/hpack-enc.c:201:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] len + hpack_len_to_bytes(v.len) + v.len > size) { ^ In file included from include/common/standard.h:36:0, from src/protocol.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)) ^ CC src/hpack-huff.o In file included from include/common/standard.h:38:0, from src/protocol.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/protocol.c:19: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++) ^ src/hpack-huff.c: In function 'huff_enc': src/hpack-huff.c:1395:35: warning: unused parameter 'out' [-Wunused-parameter] int huff_enc(const char *s, char *out) ^~~ In file included from include/common/standard.h:36:0, from src/arg.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)) ^ CC src/hdr_idx.o In file included from include/common/standard.h:38:0, from src/arg.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/arg.c:17: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/common/http.h:27:0, from include/types/sample.h:30, from include/types/vars.h:7, from include/types/arg.h:31, from include/proto/arg.h:25, from src/arg.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/sample.h:30:0, from include/types/vars.h:7, from include/types/arg.h:31, from include/proto/arg.h:25, from src/arg.c:18: include/common/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/arg.c: In function 'make_arg_list': src/arg.c:116:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (nbarg = 0; nbarg < ARGM_NBARGS && ((mask >> (nbarg * ARGT_BITS)) & ARGT_MASK); nbarg++); ^ CC src/base64.o CC src/hash.o CC src/mailers.o CC src/activity.o CC src/http_msg.o CC ebtree/ebtree.o CC ebtree/eb32sctree.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/activity.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/activity.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/activity.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/proto/channel.h:31:0, from src/http_msg.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/htx.h:28:0, from include/proto/channel.h:32, from src/http_msg.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/common/htx.h:29:0, from include/proto/channel.h:32, from src/http_msg.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/htx.h:31, from include/proto/channel.h:32, from src/http_msg.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/htx.h:31:0, from include/proto/channel.h:32, from src/http_msg.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1002:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ CC ebtree/eb32tree.o In file included from include/proto/channel.h:32:0, from src/http_msg.c:14: 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/channel.h:34:0, from src/http_msg.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/types/channel.h:26:0, from include/proto/channel.h:36, from src/http_msg.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:169:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ CC ebtree/eb64tree.o CC ebtree/ebmbtree.o CC ebtree/ebsttree.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/activity.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/listener.h:36: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/activity.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/activity.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/activity.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/activity.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/activity.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/proto/channel.h:32:0, from src/activity.c:19: 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) ^~ CC ebtree/ebimtree.o In file included from src/activity.c:19: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/channel.h:41:0, from src/http_msg.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) ^~~~~~ 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/activity.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) ^~~~~~ 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/activity.c:22: include/proto/queue.h: In function 'server_has_room': 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/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))); ^ 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/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/activity.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/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/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/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) { ^ 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/http_msg.c:14: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/http_msg.c:16: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/applet.h:30:0, from include/proto/stream_interface.h:31, from src/activity.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h: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, ^~~~ CC ebtree/ebistree.o src/activity.c: In function 'cfg_parse_prof_tasks': src/activity.c:43:50: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_prof_tasks(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/activity.c:43:78: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_prof_tasks(char **args, int section_type, struct proxy *curpx, ^~~~~ src/activity.c:44:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/activity.c:44:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/activity.c:44:76: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/activity.c: In function 'cli_parse_set_profiling': src/activity.c:62:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_profiling(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/activity.c:62:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_profiling(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/activity.c: At top level: src/activity.c:124:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "profiling", NULL }, "show profiling : show CPU profiling options", NULL, cli_io_handler_show_profiling, NULL }, ^ In file included from include/proto/cli.h:28:0, from src/activity.c:20: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/activity.c:125:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "profiling", NULL }, "set profiling : enable/disable CPU profiling", cli_parse_set_profiling, NULL }, ^ In file included from include/proto/cli.h:28:0, from src/activity.c:20: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/activity.c:126:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from include/proto/cli.h:28:0, from src/activity.c:20: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ LD haproxy src/ev_poll.o: In function `fd_may_recv': (.text+0x1718): undefined reference to `__sync_fetch_and_or_1' src/ev_poll.o: In function `fd_may_send': (.text+0x1ad4): undefined reference to `__sync_fetch_and_or_1' src/proto_tcp.o: In function `fd_may_recv': (.text+0xd0c): undefined reference to `__sync_fetch_and_or_1' src/proto_tcp.o: In function `fd_may_send': (.text+0x14d4): undefined reference to `__sync_fetch_and_or_1' src/session.o: In function `fd_may_recv': (.text+0x1f40): undefined reference to `__sync_fetch_and_or_1' src/session.o:(.text+0x22fc): more undefined references to `__sync_fetch_and_or_1' follow collect2: error: ld returned 1 exit status Makefile:1001: recipe for target 'haproxy' failed make[1]: *** [haproxy] Error 1 make[1]: Leaving directory '/home/test/autobuild/run/instance-3/output-1/build/haproxy-1.9.13' package/pkg-generic.mk:238: recipe for target '/home/test/autobuild/run/instance-3/output-1/build/haproxy-1.9.13/.stamp_built' failed make: *** [/home/test/autobuild/run/instance-3/output-1/build/haproxy-1.9.13/.stamp_built] Error 2 make: Leaving directory '/home/test/autobuild/run/instance-3/buildroot'