>>> haproxy 1.9.1 Extracting gzip -d -c /home/buildroot/autobuild/instance-1/dl/haproxy/haproxy-1.9.1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1 -xf - >>> haproxy 1.9.1 Patching >>> haproxy 1.9.1 Configuring >>> haproxy 1.9.1 Building PATH="/home/buildroot/autobuild/instance-1/output/host/bin:/home/buildroot/autobuild/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 PATH="/home/buildroot/autobuild/instance-1/output/host/bin:/home/buildroot/autobuild/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-ar" AS="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-as" LD="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-ld" NM="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-nm" CC="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-gcc" GCC="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-gcc" CPP="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-cpp" CXX="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-g++" FC="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-gfortran" F77="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-gfortran" RANLIB="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-ranlib" READELF="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-readelf" STRIP="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-strip" OBJCOPY="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-1/output/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/buildroot/autobuild/instance-1/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-1/output/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 -O2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/home/buildroot/autobuild/instance-1/output/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-1/output/host/microblazeel-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl LD=/home/buildroot/autobuild/instance-1/output/host/bin/microblazeel-linux-gcc PREFIX=/usr TARGET=custom USE_THREAD=1 LUA_LIB_NAME=lua USE_LUA=1 USE_OPENSSL=1 PCRE_CONFIG=/home/buildroot/autobuild/instance-1/output/host/microblazeel-buildroot-linux-uclibc/sysroot/usr/bin/pcre-config USE_PCRE=1 USE_ZLIB=1 ADDLIB="-latomic" -C /home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1 make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1' CC src/ev_poll.o CC src/ssl_sock.o CC src/hlua.o CC src/hlua_fcn.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/common/standard.h:36:0, from include/common/time.h:30, from src/hlua_fcn.c:21: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38:0, from 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/standard.h:38:0, from include/common/time.h:30, from src/hlua_fcn.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/ticks.h:56:0, from src/ev_poll.c:23: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958: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/time.h:30:0, from src/hlua_fcn.c:21: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958: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 src/hlua_fcn.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/types/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hlua.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/proto_http.h:27, from include/types/hlua.h:11, from include/types/applet.h:25, from include/types/cli.h:24, from src/hlua_fcn.c:24: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused 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/proto_http.h:27:0, from include/types/hlua.h:11, from include/types/applet.h:25, from include/types/cli.h:24, from src/hlua_fcn.c:24: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hlua.c:27: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused 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/hlua.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/channel.h:26:0, from include/types/proto_http.h:31, from include/types/hlua.h:11, from include/types/applet.h:25, from include/types/cli.h:24, from src/hlua_fcn.c:24: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161: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/ev_poll.c:26: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/ev_poll.c:26: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/types/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:161: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)) ^ 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/hlua.c:27: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/buffer.h:32:0, from src/ssl_sock.c:78: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/listener.h:36: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/hlua.c:27: include/common/standard.h: In function 'is_inet_addr': In file included from src/ssl_sock.c:78:0: include/common/buffer.h: In function 'b_alloc_margin': include/common/standard.h:958:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ include/common/buffer.h:161: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/hlua.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161: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/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 src/hlua_fcn.c:29: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 src/hlua_fcn.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) ^~~~~~ In file included from src/ssl_sock.c:85:0: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958: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/server.h:35:0, from src/hlua_fcn.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/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 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/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/hlua.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/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/proto/log.h:37:0, from include/proto/server.h:36, from src/hlua_fcn.c:30: include/proto/stream.h: At top level: include/proto/stream.h:203: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:241: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:281: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:316: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:322: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:329: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:342: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/hlua_fcn.c:30:0: include/proto/server.h:63: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:71: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:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/hlua.c:27: include/proto/stream.h: At top level: include/proto/stream.h:203: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:241: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:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ src/hlua_fcn.c: In function 'hlua_concat_add': src/hlua_fcn.c:397:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (b->size - b->len < l) { ^ include/proto/stream.h:316: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:322: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:329: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:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ src/hlua_fcn.c: In function 'hlua_error': src/hlua_fcn.c:665:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } else if (len >= sizeof(buf)) ^~ In file included from include/common/cfgparse.h:31:0, from src/hlua.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 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/hlua.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 src/hlua.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 src/hlua.c:40: include/proto/server.h: At top level: include/proto/server.h:63: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:71: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:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from include/proto/applet.h:30:0, from src/hlua.c:40: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037: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/ssl_sock.c:88: include/proto/stream.h:203: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:241: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:281: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 src/hlua.c:41: include/common/htx.h: At top level: include/common/htx.h:229: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:234: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:239: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:244: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:249: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:254: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:260: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:265: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:270: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:316: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:322: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:389: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:424:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ include/proto/stream.h:329: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:342: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 src/hlua.c:41:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503: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/ssl_sock.c:101: include/common/htx.h:229: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:234: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:239: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:244: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:249: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:254: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:260: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:265: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:270: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:389: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:424:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/hlua.c:56:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ In file included from src/ssl_sock.c:101:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/hlua.c: In function 'hlua_panic_safe': src/hlua.c:128:39: warning: unused parameter 'L' [-Wunused-parameter] static int hlua_panic_safe(lua_State *L) { return 0; } ^ src/hlua.c: In function 'hlua_panic_ljmp': src/hlua.c:129:39: warning: unused parameter 'L' [-Wunused-parameter] static int hlua_panic_ljmp(lua_State *L) { longjmp(safe_ljmp_env, 1); } ^ 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) ^~~~~~ src/hlua.c: In function 'hlua_lua2arg_check': src/hlua.c:611:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (idx >= ARGM_NBARGS && argp[idx].type != ARGT_STOP) { ^~ 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:63: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:71: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:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ src/hlua.c: In function 'hlua_hook': src/hlua.c:1020:41: warning: unused parameter 'ar' [-Wunused-parameter] void hlua_hook(lua_State *L, lua_Debug *ar) ^~ 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:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ src/hlua.c: In function 'hlua_socket_receive_yield': src/hlua.c:1848:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len1 > missing_bytes) { ^ src/hlua.c:1851:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } if (nblk == 2 && len1 + len2 > missing_bytes) ^ src/hlua.c:1874:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (wanted >= 0 && socket->b.n < wanted) ^ src/hlua.c:1760:70: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_socket_receive_yield(struct lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:1760:91: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_socket_receive_yield(struct lua_State *L, int status, lua_KContext ctx) ^~~ 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:221:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ src/hlua.c: In function 'hlua_socket_write_yield': src/hlua.c:2041:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (sent >= buf_len) { ^~ src/hlua.c:2092:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (sent + len >= buf_len) { ^~ src/hlua.c:1989:60: warning: unused parameter 'status' [-Wunused-parameter] static int hlua_socket_write_yield(struct lua_State *L,int status, lua_KContext ctx) ^~~~~~ src/hlua.c:1989:81: warning: unused parameter 'ctx' [-Wunused-parameter] static int hlua_socket_write_yield(struct lua_State *L,int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_socket_send': src/hlua.c:2139:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (j > buf_len) ^ src/hlua.c:2151:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i > buf_len) ^ src/hlua.c: In function 'hlua_socket_connect_yield': src/hlua.c:2340:70: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_socket_connect_yield(struct lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:2340:91: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_socket_connect_yield(struct lua_State *L, int status, lua_KContext ctx) ^~~ 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/hlua.c: In function 'hlua_socket_setoption': src/hlua.c:2547:59: warning: unused parameter 'L' [-Wunused-parameter] __LJMP static int hlua_socket_setoption(struct lua_State *L) ^ src/hlua.c: In function 'hlua_channel_dup_yield': src/ssl_sock.c: In function 'ssl_async_fd_free': src/hlua.c:2815:60: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_dup_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/ssl_sock.c:506: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:518: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/hlua.c:2815:81: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_dup_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/ssl_sock.c: In function 'ssl_async_process_fds': src/ssl_sock.c:536:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0 ; i < num_del_fds ; i++) ^ src/ssl_sock.c:540:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ src/hlua.c: In function 'hlua_channel_get_yield': src/hlua.c:2842:60: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_get_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:2842:81: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_get_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_channel_getline_yield': src/hlua.c:2876:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_getline_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:2876:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_getline_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_channel_append_yield': src/hlua.c:2949:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > len - l) ^ src/hlua.c:2973:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l < len) ^ src/hlua.c:2928:63: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_append_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:2928:84: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_append_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_channel_send_yield': src/hlua.c:3062:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > len - l) ^ src/hlua.c:3091:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l < len) { ^ src/hlua.c:3022:61: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_send_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/ssl_sock.c:553:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ src/hlua.c:3022:82: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_send_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_channel_forward_yield': src/hlua.c:3142:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > ci_data(chn)) ^ src/hlua.c:3125:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_forward_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:3125:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_forward_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_run_sample_fetch': src/hlua.c:3318:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i >= ARGM_NBARGS) ^~ src/hlua.c: In function 'hlua_run_sample_conv': src/hlua.c:3424:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i >= ARGM_NBARGS) ^~ src/hlua.c: In function 'hlua_applet_tcp_getline_yield': src/hlua.c:3670:67: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_getline_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:3670:88: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_getline_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_applet_tcp_recv_yield': src/hlua.c:3754:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len == -1) { ^~ src/ssl_sock.c: In function 'ssl_sock_parse_sctl': src/ssl_sock.c:1311:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len + 2 != sctl->data) ^~ src/hlua.c:3724:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_recv_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/ssl_sock.c: In function 'ssl_sock_sctl_add_cbk': src/ssl_sock.c:1379: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/hlua.c:3724:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_recv_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/ssl_sock.c:1379: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:1379: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:1389: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:1389: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/hlua.c: In function 'hlua_applet_tcp_send_yield': src/ssl_sock.c:1389: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:1389: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/hlua.c:3841:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > (len - l)) ^ src/ssl_sock.c:1389: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:1389: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/hlua.c:3855:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l < len) { ^ src/hlua.c:3829:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_send_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:3829:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_send_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/ssl_sock.c: In function 'ssl_sock_parse_clienthello': src/ssl_sock.c:1607:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] capture->ciphersuite_len = (global_ssl.capture_cipherlist < rec_len) ? ^ src/ssl_sock.c:1608:33: warning: signed and unsigned type in conditional expression [-Wsign-compare] global_ssl.capture_cipherlist : rec_len; ^ src/ssl_sock.c:1506: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:1615: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:1660: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:1677: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:1692:48: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_alpn_protos(SSL *s, const unsigned char **out, ^ src/ssl_sock.c: In function 'ssl_sock_do_create_cert': src/ssl_sock.c:1713: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:1860:84: warning: unused parameter 'key' [-Wunused-parameter] ssl_sock_create_cert(struct connection *conn, const char *servername, unsigned int key) ^~~ src/hlua.c: In function 'hlua_applet_htx_getline_yield': src/hlua.c:4232:67: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_htx_getline_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:4232:88: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_htx_getline_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_applet_http_getline_yield': src/hlua.c:4372:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len1 > appctx->appctx->ctx.hlua_apphttp.left_bytes) ^ src/hlua.c:4378:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len2 > appctx->appctx->ctx.hlua_apphttp.left_bytes) ^ src/ssl_sock.c: In function 'ctx_set_None_func': src/ssl_sock.c:2107:40: warning: unused parameter 'ctx' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ^~~ src/ssl_sock.c:2107: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:2108:36: warning: unused parameter 'ssl' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ^~~ src/ssl_sock.c:2108:58: warning: unused parameter 'c' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ^ src/hlua.c:4319:68: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_http_getline_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:4319:89: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_http_getline_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_applet_htx_recv_yield': src/hlua.c:4437:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > 0 && vlen > len) ^ src/hlua.c:4407:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_htx_recv_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/ssl_sock.c: In function 'ssl_sock_switchctx_cbk': src/hlua.c:4407:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_htx_recv_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/ssl_sock.c:2282: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:2282:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < trash.size && i < servername_len; i++) { ^ src/hlua.c: In function 'hlua_applet_http_recv_yield': src/hlua.c:4543:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len1 > len) ^ src/hlua.c:4549:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len2 > len) ^ src/ssl_sock.c:2149:60: warning: unused parameter 'arg' [-Wunused-parameter] static int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *arg) ^~~ src/hlua.c:4495:65: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_http_recv_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:4495:86: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_http_recv_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_applet_htx_send_yield': src/hlua.c:4626:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (channel_recv_limit(res) < b_size(&res->buf)) { ^ src/hlua.c:4637:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > (len - l)) ^ src/ssl_sock.c: In function 'ssl_get_tmp_dh': src/ssl_sock.c:2622:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (keylen > global_ssl.default_dh_param) { ^ src/hlua.c:4654:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l < len) { ^ src/ssl_sock.c:2607:41: warning: unused parameter 'export' [-Wunused-parameter] static DH *ssl_get_tmp_dh(SSL *ssl, int export, int keylen) ^~~~~~ src/hlua.c:4614:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_htx_send_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:4614:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_htx_send_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_applet_http_send_yield': src/hlua.c:4679:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (max > (len - l)) ^ src/hlua.c:4693:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l < len) { ^ src/hlua.c:4667:65: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_http_send_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/ssl_sock.c: In function 'ssl_sock_add_cert_sni': src/ssl_sock.c:2743:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < len && j < trash.size; j++) ^ src/hlua.c:4667:86: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_http_send_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/ssl_sock.c:2745: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:2835: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:2961:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < ckch->num_chain_certs; i++) { ^ src/ssl_sock.c: In function 'ssl_sock_populate_sni_keytypes_hplr': src/ssl_sock.c:2985:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < trash.size; i++) { ^ src/hlua.c: In function 'hlua_applet_htx_start_response_yield': src/hlua.c:5006:74: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_htx_start_response_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:5006:95: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_htx_start_response_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_applet_http_start_response_yield': src/hlua.c:5029:75: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_http_start_response_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:5029:96: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_http_start_response_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/ssl_sock.c: In function 'sh_ssl_sess_new_cb': src/ssl_sock.c:3980: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:4026: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/hlua.c: In function 'hlua_sleep_yield': src/hlua.c:6157:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (now_ms < wakeup_ms) ^ src/hlua.c:6154:54: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_sleep_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:6154:75: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_sleep_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_yield_yield': src/hlua.c:6196:47: warning: unused parameter 'L' [-Wunused-parameter] __LJMP static int hlua_yield_yield(lua_State *L, int status, lua_KContext ctx) ^ src/hlua.c:6196:54: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_yield_yield(lua_State *L, int status, lua_KContext ctx) ^~~~~~ src/hlua.c:6196:75: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_yield_yield(lua_State *L, int status, lua_KContext ctx) ^~~ src/hlua.c: In function 'hlua_process_task': src/hlua.c:6241:88: warning: unused parameter 'state' [-Wunused-parameter] static struct task *hlua_process_task(struct task *task, void *context, unsigned short state) ^~~~~ src/hlua.c: In function 'hlua_sample_fetch_wrapper': src/hlua.c:6495:50: warning: unused parameter 'kw' [-Wunused-parameter] const char *kw, void *private) ^~ src/hlua.c: In function 'hlua_action': src/hlua.c:6763:52: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ^~~~ src/hlua.c: In function 'hlua_applet_wakeup': src/hlua.c:6943:79: warning: unused parameter 'state' [-Wunused-parameter] struct task *hlua_applet_wakeup(struct task *t, void *context, unsigned short state) ^~~~~ src/hlua.c: In function 'hlua_applet_tcp_init': src/hlua.c:6952:86: warning: unused parameter 'strm' [-Wunused-parameter] static int hlua_applet_tcp_init(struct appctx *ctx, struct proxy *px, struct stream *strm) ^~~~ src/ssl_sock.c: In function 'ssl_sock_handshake': src/ssl_sock.c:5395: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:5400: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:5439: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:5752:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) { ^ src/ssl_sock.c:5775: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:5919: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:5941:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (out->size < len) ^ src/hlua.c: In function 'action_register_lua': src/hlua.c:7632:94: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret action_register_lua(const char **args, int *cur_arg, struct proxy *px, ^~ src/hlua.c: In function 'action_register_service_http': src/hlua.c:7675:69: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret action_register_service_http(const char **args, int *cur_arg, struct proxy *px, ^~~~ src/ssl_sock.c: In function 'ssl_sock_get_time': src/hlua.c:7675:80: warning: unused parameter 'cur_arg' [-Wunused-parameter] static enum act_parse_ret action_register_service_http(const char **args, int *cur_arg, struct proxy *px, ^~~~~~~ src/ssl_sock.c:5964:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (out->size < gentm->length-2) ^ src/hlua.c:7675:103: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret action_register_service_http(const char **args, int *cur_arg, struct proxy *px, ^~ CC src/proto_http.o src/ssl_sock.c:5978:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (out->size < utctm->length) ^ src/hlua.c: In function 'action_register_service_tcp': src/hlua.c:7807:68: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret action_register_service_tcp(const char **args, int *cur_arg, struct proxy *px, ^~~~ src/hlua.c:7807:79: warning: unused parameter 'cur_arg' [-Wunused-parameter] static enum act_parse_ret action_register_service_tcp(const char **args, int *cur_arg, struct proxy *px, ^~~~~~~ src/ssl_sock.c: In function 'ssl_sock_get_dn_entry': src/ssl_sock.c:6038: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:6087:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l > out->size) ^ src/hlua.c: In function 'hlua_cli_parse_fct': src/hlua.c:7916:50: warning: unused parameter 'payload' [-Wunused-parameter] static int hlua_cli_parse_fct(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/hlua.c: In function 'hlua_read_timeout': src/hlua.c:8165:47: warning: unused parameter 'section_type' [-Wunused-parameter] static int hlua_read_timeout(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/hlua.c:8165:75: warning: unused parameter 'curpx' [-Wunused-parameter] static int hlua_read_timeout(char **args, int section_type, struct proxy *curpx, ^~~~~ src/hlua.c:8166:44: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/hlua.c:8166:63: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/hlua.c:8166:73: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/hlua.c: In function 'hlua_forced_yield': src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_early': src/hlua.c:8203:47: warning: unused parameter 'section_type' [-Wunused-parameter] static int hlua_forced_yield(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/ssl_sock.c:6239:46: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/hlua.c:8203:75: warning: unused parameter 'curpx' [-Wunused-parameter] static int hlua_forced_yield(char **args, int section_type, struct proxy *curpx, ^~~~~ src/ssl_sock.c:6239: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/hlua.c:8204:44: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:6239: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/hlua.c:8204:63: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_crt': src/hlua.c:8204:73: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/hlua.c: In function 'hlua_parse_maxmem': src/ssl_sock.c:6257: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/hlua.c:8217:47: warning: unused parameter 'section_type' [-Wunused-parameter] static int hlua_parse_maxmem(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/ssl_sock.c:6257: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/hlua.c:8217:75: warning: unused parameter 'curpx' [-Wunused-parameter] static int hlua_parse_maxmem(char **args, int section_type, struct proxy *curpx, ^~~~~ src/ssl_sock.c:6257: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/hlua.c:8218:44: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/hlua.c:8218:63: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/hlua.c:8218:73: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/hlua.c: In function 'hlua_load': src/hlua.c:8250:39: warning: unused parameter 'section_type' [-Wunused-parameter] static int hlua_load(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_der': src/hlua.c:8250:67: warning: unused parameter 'curpx' [-Wunused-parameter] static int hlua_load(char **args, int section_type, struct proxy *curpx, ^~~~~ src/ssl_sock.c:6282: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/hlua.c:8251:36: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:6282: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/hlua.c:8251:55: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/hlua.c:8251:65: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_serial': src/ssl_sock.c:6326: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:6326: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:6370: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:6370: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:6415: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:6415:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notafter(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_i_dn': src/ssl_sock.c:6458:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_i_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notbefore': src/ssl_sock.c:6515: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:6515:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notbefore(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_s_dn': src/ssl_sock.c:6558:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_s_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_used': src/ssl_sock.c:6612:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/ssl_sock.c:6612: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:6612:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_version': src/ssl_sock.c:6642: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:6642: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:6678: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:6678: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 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)) ^ src/ssl_sock.c: In function 'smp_fetch_ssl_x_key_alg': src/ssl_sock.c:6728: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:6728: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:6777: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:6777: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:6789: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 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:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522: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:6789: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) ^~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567: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:6789:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_is_resumed': 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); ^~~~~ src/ssl_sock.c:6809: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:6809: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:6827: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:6827:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cipher(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alg_keysize': src/ssl_sock.c:6853: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:6853:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alg_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_use_keysize': src/ssl_sock.c:6877:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/ssl_sock.c:6877:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_npn': src/ssl_sock.c:6897: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:6897:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_npn(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alpn': src/ssl_sock.c:6923: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:6923: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:6953: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:6953: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:6979: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:6979: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:7007: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:7007: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:7038: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:7038: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:7038: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:7059: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:7059: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:7059:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_xxh64': src/ssl_sock.c:7095: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:7095:83: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~ src/ssl_sock.c:7095: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:7124:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i + 1 < smp->data.u.str.data; i += 2) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_unique_id': src/ssl_sock.c:7151:46: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_unique_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~ src/ssl_sock.c:7151:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_unique_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err': src/ssl_sock.c:7190: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:7190: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/hlua.c: In function 'hlua_action': src/ssl_sock.c:7190: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/hlua.c:267:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(global.mode & MODE_QUIET) || (global.mode & MODE_VERBOSE)) \ ^ src/hlua.c:6935:3: note: in expansion of macro 'SEND_ERR' SEND_ERR(px, "Lua function '%s' return an unknown error.\n", ^~~~~~~~ src/hlua.c:6938:2: note: here default: ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err_depth': src/ssl_sock.c:7212: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:7212: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:7212: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/hlua.c: In function 'hlua_sample_conv_wrapper': src/ssl_sock.c:7234: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/hlua.c:267:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(global.mode & MODE_QUIET) || (global.mode & MODE_VERBOSE)) \ ^ src/hlua.c:6482:3: note: in expansion of macro 'SEND_ERR' SEND_ERR(stream->be, "Lua converter '%s' returns an unknown error.\n", fcn->name); ^~~~~~~~ src/hlua.c:6484:2: note: here default: ^~~~~~~ src/ssl_sock.c:7234: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:7234: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/hlua.c: In function 'hlua_sample_fetch_wrapper': src/ssl_sock.c: In function 'smp_fetch_ssl_c_verify': src/hlua.c:267:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(global.mode & MODE_QUIET) || (global.mode & MODE_VERBOSE)) \ ^ src/hlua.c:6634:3: note: in expansion of macro 'SEND_ERR' SEND_ERR(smp->px, "Lua sample-fetch '%s' returns an unknown error.\n", fcn->name); ^~~~~~~~ src/ssl_sock.c:7256: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/hlua.c:6636:2: note: here default: ^~~~~~~ src/ssl_sock.c:7256: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:7256: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:7280: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:7301: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:7318: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:7330: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:7348: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:7366: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:7410: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:7437: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:7459: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:7487: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:7558: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:7563:82: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_method_options(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~ src/ssl_sock.c: In function 'ssl_bind_parse_tls_method_minmax': src/ssl_sock.c:7598: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:7606: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:7611: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:7617: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:7617: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:7617: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:7617: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:7624: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:7624: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:7624: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:7624:117: warning: unused parameter 'err' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ^~~ src/ssl_sock.c: In function 'bind_parse_allow_0rtt': src/ssl_sock.c:7630:41: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~~ src/ssl_sock.c:7630: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:7630: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:7630:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~ src/ssl_sock.c: In function 'ssl_bind_parse_npn': src/ssl_sock.c:7637:71: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_npn(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ^~ src/ssl_sock.c: In function 'ssl_bind_parse_alpn': src/ssl_sock.c:7693: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:7749: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:7749: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:7749: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:7749: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:7771: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:7771: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:7771: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:7771: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:7778: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:7778: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:7778: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:7778: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:7790: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:7790: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:7790:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~ src/ssl_sock.c:7790:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ^~~ src/ssl_sock.c: In function 'bind_parse_tls_ticket_keys': src/ssl_sock.c:7797: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:7875: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:7904: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:7904: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:7904: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:7904: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:7917: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:7970: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:8031: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': 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) ^~ src/ssl_sock.c:8048: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:8066: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:8066: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) ^~~~~~~ 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:958:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/ssl_sock.c:8066: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:8066: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:8086: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:8100: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:8114: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:8137: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:8154: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:8154: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:8154: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:8154: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:8164: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) ^~~~ 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:161: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:8164: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:8164: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:8164: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:8172: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:8172:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~~~~~~ src/ssl_sock.c:8172: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:8172: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:8181: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:8181: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:8181: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:8181: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:8190: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:8190: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:8190: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:8190: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:8197: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:8197: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:8197: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:8197: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:8204: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:8204: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:8204: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:8204: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:8210: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:8210:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ^~~~~~~ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ src/ssl_sock.c:8210: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:8210: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:8218: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:8218: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:8218: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:8218: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:8227: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:8249: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:8249: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:8249: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:8249: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:8262: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:8262: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:8262: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:8262: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:8269: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:8269: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:8269: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:8269: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:8276: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:8299: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:8314: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:8314: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:8315:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8315:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8315: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:8346: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:8346: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:8347:59: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8347:78: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8347: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:8378: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:8378:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ca_crt_base(char **args, int section_type, struct proxy *curpx, ^~~~~ 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:203: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:8379:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8379:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ src/ssl_sock.c:8379: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': include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ src/ssl_sock.c:8405: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:8405:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ include/proto/stream.h:316: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:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ src/ssl_sock.c:8405: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:8406:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ include/proto/stream.h:329: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:8406:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ include/proto/stream.h:342: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:8406:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8407:47: warning: unused parameter 'err' [-Wunused-parameter] char **err) ^~~ 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) ^~~~~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_engine': include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ src/ssl_sock.c:8433:57: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ssl_engine(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ 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:8433: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:8434:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8434:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8434: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:8476:54: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/ssl_sock.c:8476:82: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ^~~~~ src/ssl_sock.c:8477:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8477:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ 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) ^~~~~~ src/ssl_sock.c:8477:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ciphersuites': In file included from include/proto/channel.h:32:0, from src/proto_http.c:53: include/common/htx.h:229: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:234: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:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ src/ssl_sock.c:8501:59: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ include/common/htx.h:244: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:249: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:254: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:260: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:265: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:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ src/ssl_sock.c:8501: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:8502:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389: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:424:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ src/ssl_sock.c:8502:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8502: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:8526:50: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_int(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ In file included from src/proto_http.c:53:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/ssl_sock.c:8526: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:8527:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8527:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8527: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:8589: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:8589: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:8590:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8590:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8590: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:8603: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:8603: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:8604:52: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8604:71: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8604: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:8629:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_dh_param_file(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ 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:221:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ src/ssl_sock.c:8629:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_dh_param_file(char **args, int section_type, struct proxy *curpx, ^~~~~ 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))); ^ src/ssl_sock.c:8630:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ In file included from src/proto_http.c:70:0: include/proto/server.h: At top level: include/proto/server.h:63: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:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ src/ssl_sock.c:8630:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ src/ssl_sock.c:8630: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:8651: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:8651: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:8652:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/ssl_sock.c:8652:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/ssl_sock.c:8652: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:8831:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ In file included from include/proto/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:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ src/ssl_sock.c:8831: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:8856: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:8856: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:8894: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:8957: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:8958: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:8960: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:8961: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:8970: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:8971: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:8973: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:8975: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:8977: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:8979: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:8980: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:8981: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:8982: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 }, ^ src/proto_http.c: In function 'http_change_connection_header': In file included from include/types/vars.h:7:0, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_http.c:477:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (wanted == (txn->flags & (TX_CON_CLO_SET|TX_CON_KAL_SET))) ^~ src/ssl_sock.c:8984: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/proto_http.c: In function 'http_adjust_conn_mode': src/proto_http.c:524:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((txn->flags & TX_CON_WANT_MSK) < tmp) ^ src/ssl_sock.c:8987: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:8989: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:8990: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/proto_http.c: In function 'http_wait_for_request': src/proto_http.c:641:44: warning: signed and unsigned type in conditional expression [-Wsign-compare] eol = sol + (msg->sl.rq.l ? msg->sl.rq.l : ci_data(req)); ^ src/ssl_sock.c:8991: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:8992: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:8993: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:8994: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:8995: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:8996: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:8997: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:8998: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:8999: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:9000: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:9001: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/proto_http.c:1111: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:9002: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:9003: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:9004: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:9005: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:9006: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:9007: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:9008: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:9009: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:9010: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:9011: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:9012: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:9013: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:9014: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:9015: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:9016: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:9017: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:9018: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:9019: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:9020: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:9022: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:9025: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:9027: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:9029: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:9031: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:9033: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:9036: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:9039: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:9041: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:9042: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:9043: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:9044: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:9045: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:9054: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:9055: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:9237: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:9237: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:9238: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:9256: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:9256: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:9256: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:9256: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:9264: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:9272: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:9272: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:9272: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:9272: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:9272: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:9281: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:9281: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:9281: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:9281: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:9281:111: warning: unused parameter 'argp' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ^~~~ src/proto_http.c: In function 'http_wait_for_request_body': src/proto_http.c:3211:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (http_body_bytes(msg) < msg->body_len) ^ CC src/cfgparse-listen.o src/proto_http.c:3254: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/proto_http.c: In function 'http_wait_for_response': src/proto_http.c:4277: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:4742: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/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/cfgparse-listen.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused 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); ^~~~~ src/proto_http.c: In function 'stats_check_uri': src/proto_http.c:7062: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:7133:57: warning: signed and unsigned type in conditional expression [-Wsign-compare] (msg->err_pos >= 0) ? msg->err_pos : msg->next, ^ src/proto_http.c: In function 'http_msg_forward_chunked_body': src/proto_http.c:5495:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_CRLF; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/proto_http.c:5498:3: note: here case HTTP_MSG_CHUNK_CRLF: ^~~~ src/proto_http.c:5510:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_SIZE; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/proto_http.c:5513:3: note: here case HTTP_MSG_CHUNK_SIZE: ^~~~ src/proto_http.c:5537:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_TRAILERS; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/proto_http.c:5540:3: note: here case HTTP_MSG_TRAILERS: ^~~~ 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:958: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-listen.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from 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:203: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:241: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:281: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:316: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:322: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:329: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:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/cfgparse-listen.c:14: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/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/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:63: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:71: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:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ 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:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ CC src/proto_htx.o 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:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused 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 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 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:958: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:229: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:234: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:239: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:244: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:249: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:254: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:260: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:265: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:270: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:389: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:424:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/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:161: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: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) ^~~~~~~~~~~ In file included from src/proto_htx.c:24:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/hlua.c: In function 'hlua_applet_http_init': src/hlua.c:7143:18: warning: variable 'req' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] struct channel *req = si_oc(si); ^~~ In file included from include/proto/log.h:30:0, from include/common/cfgparse.h:30, from src/hlua.c:27: include/common/memory.h:375:8: warning: variable 'p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] void *p; ^ include/common/memory.h:345:8: warning: variable 'p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] void *p; ^ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ 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_htx.c:26: include/proto/stream.h: At top level: include/proto/stream.h:203: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:241: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:281: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:316: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:322: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:329: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:342: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_htx.c:26: include/proto/server.h:63: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:71: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:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ 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:1023: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:1023: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:1037: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_htx.c:32:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ In file included from src/proto_htx.c:33:0: include/proto/proxy.h: At top level: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ src/hlua.c: In function 'hlua_applet_tcp_init': 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/common/memory.h:375:8: warning: variable 'p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] void *p; ^ include/common/memory.h:345:8: warning: variable 'p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] void *p; ^ 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_htx.c: In function 'htx_wait_for_request': src/proto_htx.c:109:7: warning: signed and unsigned type in conditional expression [-Wsign-compare] : tv_ms_elapsed(&s->logs.tv_accept, &now) - s->logs.t_handshake); ^ src/proto_htx.c: In function 'htx_process_tarpit': src/proto_htx.c:991:67: warning: unused parameter 'an_bit' [-Wunused-parameter] int htx_process_tarpit(struct stream *s, struct channel *req, int an_bit) ^~~~~~ src/proto_htx.c: In function 'htx_adjust_conn_mode': src/proto_htx.c:2324:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((txn->flags & TX_CON_WANT_MSK) < tmp) ^ src/proto_htx.c: In function 'htx_apply_redirect_rule': src/proto_htx.c:2367:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (qs < path.len) { ^ src/proto_htx.c:2415:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (qs < path.len) { ^ src/proto_htx.c:2332:92: warning: unused parameter 'txn' [-Wunused-parameter] int htx_apply_redirect_rule(struct redirect_rule *rule, struct stream *s, struct http_txn *txn) ^~~ src/proto_htx.c: In function 'htx_transform_header_str': src/proto_htx.c:2575:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (output->data == -1) ^~ src/proto_htx.c:2562: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:2562:64: warning: unused parameter 'chn' [-Wunused-parameter] int htx_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ^~~ src/proto_htx.c: In function 'htx_req_replace_stline': src/proto_htx.c:2683:21: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct stream *s) ^~ src/proto_htx.c: In function 'htx_manage_client_side_cookies': src/proto_htx.c:4272:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((hdr_end - hdr_beg) != ctx.value.len) { ^~ src/proto_htx.c: In function 'htx_check_request_for_cacheability': src/proto_htx.c:4618:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/proto_htx.c: In function 'htx_check_response_for_cacheability': src/proto_htx.c:4697: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:4702:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i < v.len && *(v.ptr + i) == '=') { ^ src/proto_htx.c: In function 'htx_stats_check_uri': src/proto_htx.c:4789:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (uri_auth->uri_len > uri.len) ^ src/hlua.c: In function 'hlua_sample_conv_wrapper': src/hlua.c:6364:55: warning: argument 'arg_p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] static int hlua_sample_conv_wrapper(const struct arg *arg_p, struct sample *smp, void *private) ^~~~~ src/proto_htx.c: In function 'htx_reply_and_close': src/proto_htx.c:5319:50: warning: unused parameter 'status' [-Wunused-parameter] void htx_reply_and_close(struct stream *s, short status, struct buffer *msg) ^~~~~~ src/proto_htx.c: In function 'htx_capture_headers': src/proto_htx.c:5491:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h->namelen && (h->namelen == n.len) && ^~ src/proto_htx.c:5503:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (v.len > h->len) ^ src/hlua.c: In function 'hlua_sample_fetch_wrapper': src/hlua.c:6494:56: warning: argument 'arg_p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] static int hlua_sample_fetch_wrapper(const struct arg *arg_p, struct sample *smp, ^~~~~ In file included from include/proto/log.h:30:0, from include/common/cfgparse.h:30, from src/hlua.c:27: src/hlua.c: In function 'hlua_cli_parse_fct': include/common/memory.h:375:8: warning: variable 'p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] void *p; ^ include/common/memory.h:345:8: warning: variable 'p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] void *p; ^ CC src/stream.o CC src/mux_h2.o In file included from include/types/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/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:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/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:958: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:161: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/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:958:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161: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/stream.c:17: include/proto/stream.h: At top level: include/proto/stream.h:203: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:241: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:281: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:316: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:322: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:329: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:342: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:229: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:234: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:239: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:244: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:249: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:254: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:260: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:265: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:270: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/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) ^~~~~~~~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389: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:424: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:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503: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:63: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:71: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:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from src/stream.c:41:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037: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/mux_h2.c:13: include/proto/stream.h: At top level: include/proto/stream.h:203: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:241: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:281: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:316: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:322: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:329: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:342: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/stream.c:56:0: include/proto/proto_http.h: In function 'http_body_bytes': 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/proto_http.h:221:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ 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:229: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:234: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:239: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:244: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:249: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:254: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:260: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:265: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:270: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:389: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:424: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:160: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:63: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:71: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:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ src/stream.c: In function 'process_sticking_rules': src/stream.c:1509: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:1586:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ 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:1023: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:1023: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:1037: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:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/mux_h2.c: In function 'h2_has_too_many_cs': src/mux_h2.c:302:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return h2c->nb_cs > h2_settings_max_concurrent_streams; ^ src/mux_h2.c: In function 'h2_max_streams': src/mux_h2.c:374:46: warning: unused parameter 'conn' [-Wunused-parameter] static int h2_max_streams(struct connection *conn) ^~~~ src/mux_h2.c: In function 'h2s_new': src/mux_h2.c:829:2: warning: label 'out_free_h2s' defined but not used [-Wunused-label] out_free_h2s: ^~~~~~~~~~~~ src/mux_h2.c: In function 'h2c_frt_stream_new': src/mux_h2.c:844:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h2c->nb_streams >= h2_settings_max_concurrent_streams) ^~ src/mux_h2.c: In function 'h2c_bck_stream_new': src/mux_h2.c:895:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h2c->nb_streams >= h2_settings_max_concurrent_streams) ^~ src/mux_h2.c: In function 'h2c_handle_settings': src/mux_h2.c:1388:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c:1392: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:1643: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:1724: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:1758:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c:1761: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:1792: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:1836:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/stream.c: In function 'cli_parse_show_sess': src/stream.c:3155: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:3155:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/mux_h2.c:1898:2: warning: label 'strm_err' defined but not used [-Wunused-label] strm_err: ^~~~~~~~ src/mux_h2.c: In function 'h2c_bck_handle_headers': src/mux_h2.c:1927: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:1959:2: warning: label 'strm_err' defined but not used [-Wunused-label] strm_err: ^~~~~~~~ src/mux_h2.c: In function 'h2c_frt_handle_data': src/mux_h2.c:1983:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/stream.c: In function 'cli_parse_shutdown_session': src/stream.c:3407: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:3407: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:3442: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:3442: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:3465: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:3466: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:3467: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:3468: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:3475: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:3482: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/mux_h2.c: In function 'h2_io_cb': src/mux_h2.c:2626: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:2626: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:2741:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_timeout_task(struct task *t, void *context, unsigned short state) ^~~~~ src/mux_h2.c: In function 'h2_detach': src/mux_h2.c:2913:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (LIST_ISEMPTY(&h2c->conn->list) && h2c->nb_streams < h2_settings_max_concurrent_streams) { ^ src/mux_h2.c: In function 'h2_deferred_shut': src/mux_h2.c:3053: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:3053: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:3085: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 'h2s_decode_headers': src/mux_h2.c:3118: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:3150:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (read_n32(hdrs) == h2s->id) { ^~ src/mux_h2.c: In function 'h2_frt_transfer_data': src/mux_h2.c:3325:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (flen > block1) ^ src/mux_h2.c:3330:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (flen > block1) ^ src/mux_h2.c:3388: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:3558: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:3705:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((long long)size > h1m->curr_len) ^ src/mux_h2.c:3764:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (size > max) ^ src/mux_h2.c:3782:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (size + 9 > outbuf.size) { ^ src/mux_h2.c:3811:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!ret || len1 + len2 < size) { ^ src/mux_h2.c:3818:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len1 + len2 > size) { ^ src/mux_h2.c:3821: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:3969: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:4014:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ In file included from include/common/config.h:25:0, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_bck_make_req_headers': src/mux_h2.c:4168: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:4224:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ In file included from include/common/config.h:25:0, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_frt_make_resp_data': src/mux_h2.c:4389: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:4400:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize <= b_size(&h2c->mbuf) / 4 && fsize + 9 <= b_room(&h2c->mbuf)) ^~ src/mux_h2.c:4400:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize <= b_size(&h2c->mbuf) / 4 && fsize + 9 <= b_room(&h2c->mbuf)) ^~ src/mux_h2.c:4483:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize > count) ^ src/mux_h2.c:4492:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize + 9 > outbuf.size) { ^ src/mux_h2.c: In function 'h2_rcv_buf': src/mux_h2.c:4641:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_rcv_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ^~~~~ src/mux_h2.c: In function 'h2_snd_buf': src/mux_h2.c:4717:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ^~~~~ src/mux_h2.c: In function 'h2_parse_header_table_size': src/mux_h2.c:4970: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:4970: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:4971:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/mux_h2.c:4971:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c:4971: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:4986: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:4986: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:4987:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/mux_h2.c:4987:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c:4987:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c: In function 'h2_parse_max_concurrent_streams': src/mux_h2.c:5002:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/mux_h2.c:5002: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:5003:58: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/mux_h2.c:5003:77: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c:5003:87: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ CC src/stats.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/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:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused 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/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:958:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/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:203: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:241: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:281: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:316: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:322: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:329: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:342: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:229: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:234: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:239: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:244: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:249: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:254: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:260: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:265: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:270: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:389: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:424:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ 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:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/stats.c:63:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221: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: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/stats.c:66: include/proto/server.h: At top level: include/proto/server.h:63: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:71: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:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from include/proto/applet.h:30:0, from include/proto/stream_interface.h:31, from src/stats.c:70: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ src/stats.c: In function 'stats_putchk': src/stats.c:246:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (chk->data >= channel_htx_recv_max(chn, htx)) ^~ src/stats.c: In function 'stats_emit_json_data_field': src/stats.c:355: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:355:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (f->u.s64 < JSON_INT_MIN || f->u.s64 > JSON_INT_MAX) ^ src/stats.c:380:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !(old_len == out->data); ^~ src/stats.c: In function 'stats_emit_json_field_tags': src/stats.c:474: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:548: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:614:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (old_len == out->data) ^~ src/stats.c: In function 'stats_process_http_post': src/stats.c:2814: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:3869: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:3894: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:3894: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:3956: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:3956: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:3970: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:3970: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:4028: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:4029:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "info", NULL }, "show info : report information about the running process", cli_parse_show_info, cli_io_handler_dump_info, NULL }, ^ In file included from src/stats.c:44:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4030:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "stat", NULL }, "show stat : report counters for each proxy and server", cli_parse_show_stat, cli_io_handler_dump_stat, NULL }, ^ In file included from src/stats.c:44:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4031: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:4032:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stats.c:44:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/proto_htx.c: In function 'htx_wait_for_request': src/proto_htx.c:463:1: error: VOIDmode on an output } ^ (insn 1768 4216 1773 339 (parallel [ (reg:SI 5 r5 [1471]) (const_int 0 [0]) (mem/v:SI (reg/f:SI 8 r8 [orig:696 _1126 ] [696]) [-1 S4 A32]) (reg:SI 3 r3 [orig:701 _1133 ] [701]) (reg:SI 1469) (const_int 0 [0]) (const_int 0 [0]) (const_int 0 [0]) (clobber (scratch:SI)) ]) "include/proto/freq_ctr.h":82 85 {atomic_compare_and_swapsi} (expr_list:REG_DEAD (reg:SI 1470) (nil))) src/proto_htx.c:463:1: internal compiler error: in do_output_reload, at reload1.c:7978 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Makefile:985: recipe for target 'src/proto_htx.o' failed make[1]: *** [src/proto_htx.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'