>>> haproxy 2.1.2 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/haproxy/haproxy-2.1.2.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/haproxy-2.1.2 -xf - >>> haproxy 2.1.2 Patching >>> haproxy 2.1.2 Configuring >>> haproxy 2.1.2 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" /usr/bin/make -j4 PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" AR="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-ar" AS="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-as" LD="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-ld" NM="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-nm" CC="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-gcc" GCC="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-gcc" CPP="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-cpp" CXX="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-g++" FC="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-gfortran" F77="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-gfortran" RANLIB="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-ranlib" READELF="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-readelf" STRIP="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-strip" OBJCOPY="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl LD=/home/buildroot/autobuild/instance-0/output-1/host/bin/sh4-linux-gcc PREFIX=/usr TARGET=custom USE_THREAD=1 USE_OPENSSL=1 PCRE_CONFIG=/home/buildroot/autobuild/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/bin/pcre-config USE_PCRE=1 USE_ZLIB=1 ADDLIB="-latomic" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " -C /home/buildroot/autobuild/instance-0/output-1/build/haproxy-2.1.2 make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/haproxy-2.1.2' CC src/ev_poll.o CC src/ssl_sock.o CC src/mux_h2.o CC src/stream.o In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/chunk.h:30, from include/common/standard.h:36, from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:36, from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/chunk.h:30, from include/common/buffer.h:30, from src/ssl_sock.c:46: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from src/ssl_sock.c:46: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:79:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:38, from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1064:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/ssl_sock.c:46: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/ev_poll.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/ssl_sock.c:46: include/common/standard.h: In function 'is_inet_addr': In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/standard.h:1064:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/ring.h:25, from include/types/log.h:31, from include/proto/log.h:33, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/ssl_sock.c:46: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:599:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:599:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/ssl_sock.c:46: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/ev_poll.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:166:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/ev_poll.c: In function '_do_poll': src/ev_poll.c:178:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (fds = 0; (fds * 8*sizeof(**fd_evts)) < maxfd; fds++) { ^ src/ev_poll.c:185:57: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (count = 0, fd = fds * 8*sizeof(**fd_evts); count < 8*sizeof(**fd_evts) && fd < maxfd; count++, fd++) { ^ src/ev_poll.c:101:45: warning: unused parameter 'p' [-Wunused-parameter] REGPRM3 static void _do_poll(struct poller *p, int exp, int wake) ~~~~~~~~~~~~~~~^ src/ev_poll.c: In function '_do_test': src/ev_poll.c:310:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ~~~~~~~~~~~~~~~^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/stream.c:22: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:485:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/stream.c:38: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/channel.h:32, from src/ssl_sock.c:70: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:485:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/common/h2.h:34, from src/mux_h2.c:16: include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:463:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->head == -1 || pos == htx->head) ^~ include/common/htx.h: In function 'htx_get_next': include/common/htx.h:485:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'const int'} [-Wsign-compare] if (htx->tail == -1 || pos == htx->tail) ^~ include/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:672:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/stream.c:41: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/ssl_sock.c:70: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/hpack-dec.h:34, from src/mux_h2.c:17: include/common/hpack-tbl.h: In function 'hpack_valid_idx': include/common/hpack-tbl.h:161:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/ssl_sock.c:71: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/stream.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/stream.c:49: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:43:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ~~~~~~~~~~~~~^~~ In file included from src/ssl_sock.c:71: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/mux_h2.c:23: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1009:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1009:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1023:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: src/stream.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/stream.c:68:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_stream, "stream", sizeof(struct stream)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:260:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/stream.c:71:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(streams_lock); ^~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct trace_source *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:141:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, trace_register_source, TRACE_SOURCE); ^~~~~~~~~ src/stream.c: In function 'strm_trace': src/stream.c:147:41: warning: unused parameter 'level' [-Wunused-parameter] static void strm_trace(enum trace_level level, uint64_t mask, const struct trace_source *src, ~~~~~~~~~~~~~~~~~^~~~~ src/stream.c:147:57: warning: unused parameter 'mask' [-Wunused-parameter] static void strm_trace(enum trace_level level, uint64_t mask, const struct trace_source *src, ~~~~~~~~~^~~~ src/stream.c:148:27: warning: unused parameter 'where' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~~ src/stream.c:148:51: warning: unused parameter 'func' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~ src/stream.c:149:70: warning: unused parameter 'a4' [-Wunused-parameter] const void *a1, const void *a2, const void *a3, const void *a4) ~~~~~~~~~~~~^~ In file included from src/ssl_sock.c:85: include/proto/shctx.h: In function '_shctx_wait4lock': include/proto/shctx.h:93:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < *count; i++) { ^ include/proto/shctx.h:89:72: warning: unused parameter 'uaddr' [-Wunused-parameter] static inline void _shctx_wait4lock(unsigned int *count, unsigned int *uaddr, int value) ~~~~~~~~~~~~~~^~~~~ include/proto/shctx.h:89:83: warning: unused parameter 'value' [-Wunused-parameter] static inline void _shctx_wait4lock(unsigned int *count, unsigned int *uaddr, int value) ~~~~^~~~~ In file included from include/proto/stream_interface.h:32, from src/mux_h2.c:28: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: src/ssl_sock.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/ssl_sock.c:225:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(ssl_sock_ctx_pool, "ssl_sock_ctx_pool", sizeof(struct ssl_sock_ctx)); ^~~~~~~~~~~~~~~~~~~ src/ssl_sock.c: In function 'ha_ssl_gets': src/ssl_sock.c:251:29: warning: unused parameter 'h' [-Wunused-parameter] static int ha_ssl_gets(BIO *h, char *buf, int size) ~~~~~^ src/ssl_sock.c:251:38: warning: unused parameter 'buf' [-Wunused-parameter] static int ha_ssl_gets(BIO *h, char *buf, int size) ~~~~~~^~~ src/ssl_sock.c:251:47: warning: unused parameter 'size' [-Wunused-parameter] static int ha_ssl_gets(BIO *h, char *buf, int size) ~~~~^~~~ src/ssl_sock.c: In function 'ha_ssl_ctrl': src/ssl_sock.c:284:30: warning: unused parameter 'h' [-Wunused-parameter] static long ha_ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2) ~~~~~^ src/ssl_sock.c:284:47: warning: unused parameter 'arg1' [-Wunused-parameter] static long ha_ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2) ~~~~~^~~~ src/ssl_sock.c:284:59: warning: unused parameter 'arg2' [-Wunused-parameter] static long ha_ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2) ~~~~~~^~~~ src/ssl_sock.c: In function 'ha_ssl_free': src/ssl_sock.c:304:29: warning: unused parameter 'data' [-Wunused-parameter] static int ha_ssl_free(BIO *data) ~~~~~^~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: src/ssl_sock.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:270:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_rwlock_init, &(lock)) ^~~~~~~~~ src/ssl_sock.c:419:1: note: in expansion of macro '__decl_rwlock' __decl_rwlock(ssl_ctx_lru_rwlock); ^~~~~~~~~~~~~ src/ssl_sock.c: In function 'ssl_async_fd_free': src/ssl_sock.c:560:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) ^ src/ssl_sock.c: In function 'ssl_async_process_fds': src/ssl_sock.c:591:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_del_fds ; i++) ^ src/ssl_sock.c:595:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ src/ssl_sock.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ In file included from include/common/cfgparse.h:27, from src/mux_h2.c:13: src/mux_h2.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct trace_source *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:379:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, trace_register_source, TRACE_SOURCE); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h2.c:382:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h2c, "h2c", sizeof(struct h2c)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h2.c:385:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h2s, "h2s", sizeof(struct h2s)); ^~~~~~~~~~~~~~~~~~~ src/mux_h2.c: In function 'h2_trace': src/mux_h2.c:492:39: warning: unused parameter 'where' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:492:63: warning: unused parameter 'func' [-Wunused-parameter] const struct ist where, const struct ist func, ~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:493:82: warning: unused parameter 'a4' [-Wunused-parameter] const void *a1, const void *a2, const void *a3, const void *a4) ~~~~~~~~~~~~^~ src/mux_h2.c: In function 'h2_release_buf': src/mux_h2.c:697:47: warning: unused parameter 'h2c' [-Wunused-parameter] static inline void h2_release_buf(struct h2c *h2c, struct buffer *bptr) ~~~~~~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_sock_parse_sctl': src/ssl_sock.c:1373:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len + 2 != sctl->data) ^~ src/mux_h2.c: In function 'h2_avail_streams': src/mux_h2.c:770:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] ret2 = h2c->stream_cnt <= srv->max_reuse ? srv->max_reuse - h2c->stream_cnt + 1: 0; ^~ src/ssl_sock.c: In function 'ssl_sock_load_sctl_from_file': src/ssl_sock.c:1398:115: warning: unused parameter 'err' [-Wunused-parameter] static int ssl_sock_load_sctl_from_file(const char *sctl_path, char *buf, struct cert_key_and_chain *ckch, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_sock_sctl_add_cbk': src/ssl_sock.c:1454:32: warning: unused parameter 'ssl' [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ~~~~~^~~ src/ssl_sock.c:1454:46: warning: unused parameter 'ext_type' [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ~~~~~~~~~^~~~~~~~ src/ssl_sock.c:1454:104: warning: unused parameter 'al' [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ~~~~~^~ src/ssl_sock.c: In function 'ssl_sock_sctl_parse_cbk': src/ssl_sock.c:1464:34: warning: unused parameter 's' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~^ src/ssl_sock.c:1464:50: warning: unused parameter 'ext_type' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~~~~~~~^~~~~~~~ src/ssl_sock.c:1464:81: warning: unused parameter 'in' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:1464:92: warning: unused parameter 'inlen' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~^~~~~ src/ssl_sock.c:1464:104: warning: unused parameter 'al' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~^~ src/ssl_sock.c:1464:114: warning: unused parameter 'parse_arg' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~^~~~~~~~~ src/stream.c: In function 'process_sticking_rules': src/stream.c:1821:24: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/ssl_sock.c: In function 'ssl_sock_parse_clienthello': src/ssl_sock.c:1678:60: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] capture->ciphersuite_len = (global_ssl.capture_cipherlist < rec_len) ? ^ src/ssl_sock.c:1679:3: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] global_ssl.capture_cipherlist : rec_len; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ssl_sock.c:1577:50: warning: unused parameter 'version' [-Wunused-parameter] void ssl_sock_parse_clienthello(int write_p, int version, int content_type, ~~~~^~~~~~~ src/stream.c: In function 'process_store_rules': src/ssl_sock.c: In function 'ssl_sock_msgcbk': src/ssl_sock.c:1686:111: warning: unused parameter 'arg' [-Wunused-parameter] void ssl_sock_msgcbk(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg) ~~~~~~^~~ src/stream.c:1892:23: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/ssl_sock.c: In function 'ssl_sock_srv_select_protos': src/ssl_sock.c:1732:44: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_srv_select_protos(SSL *s, unsigned char **out, unsigned char *outlen, ~~~~~^ src/ssl_sock.c: In function 'ssl_sock_advertise_npn_protos': src/ssl_sock.c:1749:47: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_npn_protos(SSL *s, const unsigned char **data, ~~~~~^ src/ssl_sock.c: In function 'ssl_sock_advertise_alpn_protos': src/ssl_sock.c:1764:48: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_alpn_protos(SSL *s, const unsigned char **out, ~~~~~^ src/mux_h2.c: In function 'h2_peek_frame_hdr': src/mux_h2.c:1150:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (b_data(b) < o + 9) ^ src/ssl_sock.c: In function 'ssl_sock_do_create_cert': src/ssl_sock.c:1785:83: warning: unused parameter 'ssl' [-Wunused-parameter] ssl_sock_do_create_cert(const char *servername, struct bind_conf *bind_conf, SSL *ssl) ~~~~~^~~ src/ssl_sock.c: In function 'ssl_sock_create_cert': src/ssl_sock.c:1932:84: warning: unused parameter 'key' [-Wunused-parameter] ssl_sock_create_cert(struct connection *conn, const char *servername, unsigned int key) ~~~~~~~~~~~~~^~~ src/mux_h2.c: In function 'h2s_new': src/mux_h2.c:1351:2: warning: label 'out_free_h2s' defined but not used [-Wunused-label] out_free_h2s: ^~~~~~~~~~~~ src/ssl_sock.c: In function 'ctx_set_None_func': src/ssl_sock.c:2132:40: warning: unused parameter 'ctx' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ~~~~~~~~~^~~ src/ssl_sock.c:2132:62: warning: unused parameter 'c' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ~~~~~~~~~~~~~~~~~^ src/ssl_sock.c: In function 'ssl_set_None_func': src/ssl_sock.c:2133:36: warning: unused parameter 'ssl' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~^~~ src/ssl_sock.c:2133:58: warning: unused parameter 'c' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~~~~~~~~~~~~~^ src/ssl_sock.c: In function 'ssl_sock_switchctx_cbk': src/ssl_sock.c:2309:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < trash.size && i < servername_len; i++) { ^ src/ssl_sock.c:2309:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < trash.size && i < servername_len; i++) { ^ src/ssl_sock.c:2174:60: warning: unused parameter 'arg' [-Wunused-parameter] static int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *arg) ~~~~~~^~~ src/ssl_sock.c: In function 'ssl_get_tmp_dh': src/ssl_sock.c:2652:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (keylen > global_ssl.default_dh_param) { ^ src/ssl_sock.c:2637:41: warning: unused parameter 'export' [-Wunused-parameter] static DH *ssl_get_tmp_dh(SSL *ssl, int export, int keylen) ~~~~^~~~~~ src/ssl_sock.c: In function 'ckch_inst_add_cert_sni': src/ssl_sock.c:2738:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (j = 0; j < len && j < trash.size; j++) ^ src/ssl_sock.c:2740:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (j >= trash.size) ^~ src/ssl_sock.c:2718:52: warning: unused parameter 's' [-Wunused-parameter] struct bind_conf *s, struct ssl_bind_conf *conf, ~~~~~~~~~~~~~~~~~~^ src/mux_h2.c: In function 'h2c_handle_settings': src/mux_h2.c:2024:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c:2028:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int32_t' {aka 'int'} [-Wsign-compare] for (offset = 0; offset < h2c->dfl; offset += 6) { ^ src/ssl_sock.c: In function 'ssl_sock_populate_sni_keytypes_hplr': src/ssl_sock.c:3442:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < trash.size; i++) { ^ src/mux_h2.c: In function 'h2c_handle_window_update': src/mux_h2.c:2308:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_handle_goaway': src/mux_h2.c:2381:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) { ^ src/stream.c: In function 'cli_parse_show_sess': src/stream.c:3576:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mux_h2.c: In function 'h2c_handle_priority': src/mux_h2.c:2405:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) { ^ src/stream.c:3576:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:2410:32: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (h2_get_n32(&h2c->dbuf, 0) == h2c->dsi) { ^~ src/mux_h2.c: In function 'h2c_handle_rst_stream': src/mux_h2.c:2429:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) { ^ src/mux_h2.c: In function 'h2c_frt_handle_headers': src/mux_h2.c:2472:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/stream.c: In function 'cli_parse_shutdown_session': src/stream.c:3828:58: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c:3828:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c: In function 'cli_parse_shutdown_sessions_server': src/stream.c:3855:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c:3855:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c: At top level: src/stream.c:3875:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "sess", NULL }, "show sess [id] : report the list of current sessions or dump this session", cli_parse_show_sess, cli_io_handler_dump_sess, cli_release_show_sess }, ^ src/mux_h2.c: In function 'h2c_bck_handle_headers': In file included from src/stream.c:28: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/mux_h2.c:2602:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/stream.c:3876:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "shutdown", "session", NULL }, "shutdown session : kill a specific session", cli_parse_shutdown_session, NULL, NULL }, ^ In file included from src/stream.c:28: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3877:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "shutdown", "sessions", "server" }, "shutdown sessions server : kill sessions on a server", cli_parse_shutdown_sessions_server, NULL, NULL }, ^ In file included from src/stream.c:28: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3878:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stream.c:28: include/types/cli.h:42:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3881:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/stream.c:3885:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "use-service", stream_parse_use_service }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3889:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &stream_tcp_keywords); ^~~~~~~~~ src/stream.c:3892:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "use-service", stream_parse_use_service }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3896:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &stream_http_keywords); ^~~~~~~~~ src/mux_h2.c: In function 'h2c_frt_handle_data': src/mux_h2.c:2687:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c:2698:62: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if ((h2s->flags & H2_SF_DATA_CLEN) && (h2c->dfl - h2c->dpl) > h2s->body_len) { ^ src/ssl_sock.c: In function 'sh_ssl_sess_new_cb': src/ssl_sock.c:4639: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:4695:38: warning: unused parameter 'ssl' [-Wunused-parameter] SSL_SESSION *sh_ssl_sess_get_cb(SSL *ssl, __OPENSSL_110_CONST__ unsigned char *key, int key_len, int *do_copy) ~~~~~^~~ src/mux_h2.c: In function 'h2_io_cb': src/mux_h2.c:3557:43: warning: unused parameter 't' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~^ src/mux_h2.c:3557:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ src/ssl_sock.c: In function 'ssl_sock_handshake': src/ssl_sock.c:6156:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (global.ssl_be_keys_per_sec.curr_ctr > global.ssl_be_keys_max) ^ src/ssl_sock.c:6161:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (global.ssl_fe_keys_per_sec.curr_ctr > global.ssl_fe_keys_max) ^ src/ev_poll.c: In function '_do_poll': src/ev_poll.c:246:1: error: unable to find a register to spill in class 'R0_REGS' } ^ src/ev_poll.c:246:1: error: this is the insn: (insn 1184 1183 1185 119 (parallel [ (set (subreg:SI (reg:QI 1114) 0) (unspec_volatile:SI [ (mem/v:QI (reg/f:SI 1116) [-1 S1 A8]) (subreg:QI (reg:SI 6 r6 [orig:441 _421 ] [441]) 0) (subreg:QI (reg/v:SI 5 r5 [orig:435 new ] [435]) 0) ] UNSPECV_CMPXCHG_1)) (set (mem/v:QI (reg/f:SI 1116) [-1 S1 A8]) (unspec_volatile:QI [ (const_int 0 [0]) ] UNSPECV_CMPXCHG_2)) (set (reg:SI 147 t) (unspec_volatile:SI [ (const_int 0 [0]) ] UNSPECV_CMPXCHG_3)) (clobber (scratch:SI)) (clobber (reg:SI 0 r0)) (clobber (reg:SI 1 r1)) ]) "include/proto/fd.h":348 401 {atomic_compare_and_swapqi_soft_gusa} (expr_list:REG_DEAD (reg:SI 6 r6 [orig:441 _421 ] [441]) (expr_list:REG_DEAD (reg/f:SI 1116) (expr_list:REG_DEAD (reg/v:SI 5 r5 [orig:435 new ] [435]) (expr_list:REG_UNUSED (reg:SI 1 r1) (expr_list:REG_UNUSED (reg:SI 0 r0) (nil))))))) src/ev_poll.c:246: confused by earlier errors, bailing out src/ssl_sock.c: In function 'ssl_add_xprt': src/ssl_sock.c:6260:44: warning: unused parameter 'conn' [-Wunused-parameter] static int ssl_add_xprt(struct connection *conn, void *xprt_ctx, void *toadd_ctx, const struct xprt_ops *toadd_ops, void **oldxprt_ctx, const struct xprt_ops **oldxprt_ops) ~~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c: In function 'h2_timeout_task': Makefile:846: recipe for target 'src/ev_poll.o' failed make[1]: *** [src/ev_poll.o] Error 1 src/mux_h2.c:3696:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ make[1]: *** Waiting for unfinished jobs.... src/ssl_sock.c: In function 'ssl_sock_io_cb': src/ssl_sock.c:6289:49: warning: unused parameter 't' [-Wunused-parameter] static struct task *ssl_sock_io_cb(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~^ src/ssl_sock.c:6289:82: warning: unused parameter 'state' [-Wunused-parameter] static struct task *ssl_sock_io_cb(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h2.c: In function 'h2_ctl': src/mux_h2.c:3826:77: warning: unused parameter 'output' [-Wunused-parameter] static int h2_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ~~~~~~^~~~~~ src/ssl_sock.c: In function 'ssl_sock_to_buf': src/ssl_sock.c:6353:110: warning: unused parameter 'flags' [-Wunused-parameter] static size_t ssl_sock_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/ssl_sock.c: In function 'ssl_sock_close': src/ssl_sock.c:6655:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) { ^ src/ssl_sock.c:6679:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) ^ src/ssl_sock.c: In function 'ssl_sock_get_serial': src/ssl_sock.c:6831:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < serial->length) ^ src/mux_h2.c: In function 'h2_deferred_shut': src/mux_h2.c:4141:51: warning: unused parameter 't' [-Wunused-parameter] static struct task *h2_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~^ src/ssl_sock.c: In function 'ssl_sock_crt2der': src/mux_h2.c:4141:80: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:6853:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < len) ^ src/ssl_sock.c: In function 'ssl_sock_get_time': src/ssl_sock.c:6876:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < gentm->length-2) ^ src/mux_h2.c: In function 'h2_shutw': src/mux_h2.c:4186:63: warning: unused parameter 'mode' [-Wunused-parameter] static void h2_shutw(struct conn_stream *cs, enum cs_shw_mode mode) ~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c: In function 'h2c_decode_headers': src/mux_h2.c:4268:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) - hole < h2c->dfl) ^ src/ssl_sock.c:6890:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < utctm->length) ^ src/mux_h2.c:4298:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (hdr.sid != h2c->dsi) { ^~ src/mux_h2.c:4317:12: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (clen > hdr.len) ^ src/ssl_sock.c: In function 'ssl_sock_get_dn_entry': src/ssl_sock.c:6950:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (data_len > out->size) ^ src/mux_h2.c:4350:22: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (read_n32(hdrs) == h2c->dsi) { ^~ src/ssl_sock.c: In function 'ssl_sock_get_dn_oneline': src/ssl_sock.c:6999:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (l > out->size) ^ src/mux_h2.c:4452:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (b_data(&h2c->dbuf) > h2c->dfl + hole) ^ src/mux_h2.c:4458:37: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (b_full(&h2c->dbuf) && h2c->dfl >= b_data(&h2c->dbuf)) { ^~ src/ssl_sock.c: In function 'ssl_sock_get_alpn': src/mux_h2.c: In function 'h2_frt_transfer_data': src/mux_h2.c:4538:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block) ^ src/ssl_sock.c:7144:55: warning: unused parameter 'conn' [-Wunused-parameter] static int ssl_sock_get_alpn(const struct connection *conn, void *xprt_ctx, const char **str, int *len) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:4543:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block) ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_early': src/ssl_sock.c:7171:46: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7171:84: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7171:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_crt': src/ssl_sock.c:7196:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7196:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7196:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_frt_make_resp_headers': src/mux_h2.c:4667:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/ssl_sock.c: In function 'smp_fetch_ssl_x_der': src/ssl_sock.c:7224:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7224:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:4720:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_x_serial': src/ssl_sock.c:7270:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7270:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:4747:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (outbuf.data > h2c->mfs + 9) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sha1': src/ssl_sock.c:7317:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_sha1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7317:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_sha1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notafter': src/ssl_sock.c:7364:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_notafter(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7364:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notafter(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_bck_make_req_headers': src/mux_h2.c:4903:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/ssl_sock.c: In function 'smp_fetch_ssl_x_i_dn': src/ssl_sock.c:7409:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_i_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:4994:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (len < uri.len && uri.ptr[len] != ':') ^ src/mux_h2.c:4997:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len + 2 < uri.len && uri.ptr[len + 1] == '/' && uri.ptr[len + 2] == '/') { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notbefore': src/ssl_sock.c:7468:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_notbefore(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7468:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notbefore(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:5064:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ src/mux_h2.c:5092:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (outbuf.data > h2c->mfs + 9) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_x_s_dn': src/ssl_sock.c:7513:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_s_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_used': src/ssl_sock.c:7569:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7569:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7569:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_version': src/ssl_sock.c:7601:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_version(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7601:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_version(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_frt_make_resp_data': src/mux_h2.c:5253:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (unlikely(fsize == count && ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h2.c:5265:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize + 9 <= b_room(mbuf) && ^~ src/mux_h2.c:5267:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (fsize <= b_size(mbuf) / 4 && fsize + 9 <= b_contig_space(mbuf)))) { ^~ src/mux_h2.c:5267:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (fsize <= b_size(mbuf) / 4 && fsize + 9 <= b_contig_space(mbuf)))) { ^~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sig_alg': src/ssl_sock.c:7639:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_sig_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7639:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_sig_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_key_alg': src/ssl_sock.c:7691:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_key_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:5357:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize > count) ^ src/ssl_sock.c:7691:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_key_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc': src/ssl_sock.c:7742:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7742:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_sni': src/mux_h2.c:5366:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize + 9 > outbuf.size) { ^ src/ssl_sock.c:7754:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:5372:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] (fsize + 9 <= b_room(mbuf)) && ^~ src/ssl_sock.c:7754:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7754:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_is_resumed': src/ssl_sock.c:7775:47: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_is_resumed(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7775:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_is_resumed(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cipher': src/ssl_sock.c:7794:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cipher(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7794:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cipher(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alg_keysize': src/ssl_sock.c:7822:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_alg_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7822:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alg_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_use_keysize': In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_make_trailers': src/mux_h2.c:5503:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/ssl_sock.c:7848:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7848:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_npn': src/ssl_sock.c:7870:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_npn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7870:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_npn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alpn': src/ssl_sock.c:7898:41: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7898:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:5584:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (outbuf.data > h2c->mfs + 9) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_protocol': src/ssl_sock.c:7930:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_protocol(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7930:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_protocol(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:5604:2: warning: label 'done' defined but not used [-Wunused-label] done: ^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_session_id': src/ssl_sock.c:7958:47: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_session_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7958:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_session_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_random': src/ssl_sock.c:7988:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_random(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7988:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_random(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_session_key': src/ssl_sock.c:8019:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_session_key(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c: In function 'h2_rcv_buf': src/ssl_sock.c:8019:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_session_key(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:5724:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_rcv_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_sni': src/ssl_sock.c:8052:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8052:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:8052:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_bin': src/ssl_sock.c:8075:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8075:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:8075:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c: In function 'h2_snd_buf': src/mux_h2.c:5819:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_xxh64': src/ssl_sock.c:8113:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:8113:83: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:8113:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_str': src/mux_h2.c: In function 'h2_parse_header_table_size': src/ssl_sock.c:8144:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i + 1 < smp->data.u.str.data; i += 2) { ^ src/mux_h2.c:6069:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h2.c:6069:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6070:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6070:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_unique_id': src/mux_h2.c:6070:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c:8172:46: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_unique_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c: In function 'h2_parse_initial_window_size': src/ssl_sock.c:8172:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_unique_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:6085:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err': src/mux_h2.c:6085:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6086:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8213:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:6086:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8213:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/mux_h2.c:6086:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c:8213:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c: In function 'h2_parse_max_concurrent_streams': src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err_depth': src/mux_h2.c:6101:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8237:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_ca_err_depth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:6101:89: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6102:58: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8237:86: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_ca_err_depth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/mux_h2.c:6102:77: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8237:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_ca_err_depth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:6102:87: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_err': src/mux_h2.c: In function 'h2_parse_max_frame_size': src/ssl_sock.c:8261:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:6117:53: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8261:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/mux_h2.c:6117:81: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8261:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:6118:50: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:6118:69: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:6118:79: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_verify': In file included from include/common/cfgparse.h:27, from src/mux_h2.c:13: src/mux_h2.c: At top level: src/ssl_sock.c:8286:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_verify(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct mux_proto_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:6162:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_h2); ^~~~~~~~~ src/ssl_sock.c:8286:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_verify(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:6173:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/ssl_sock.c:8286:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_verify(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'ssl_bind_parse_ca_file': src/ssl_sock.c:8312:75: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ca_file(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ca_sign_file': src/ssl_sock.c:8333:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ca_sign_file(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ca_sign_pass': src/ssl_sock.c:8350:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ca_sign_pass(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_ciphers': src/ssl_sock.c:8362:75: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ciphers(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_ciphersuites': src/ssl_sock.c:8380:80: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ciphersuites(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_crt': src/ssl_sock.c:8398:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_crt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_crl_file': src/ssl_sock.c:8437:76: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_crl_file(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_curves': src/ssl_sock.c:8464:74: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_curves(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_ecdhe': src/ssl_sock.c:8486:73: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ecdhe(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ignore_err': src/ssl_sock.c:8514:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ignore_err(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_tls_method_options': src/ssl_sock.c:8585:82: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tls_method_options(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_tls_method_options': src/ssl_sock.c:8590:82: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_method_options(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_tls_method_minmax': src/ssl_sock.c:8625:85: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_tls_method_minmax(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_tls_method_minmax': src/ssl_sock.c:8633:81: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tls_method_minmax(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_tls_method_minmax': src/ssl_sock.c:8638:81: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_method_minmax(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_no_tls_tickets': src/ssl_sock.c:8644:45: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8644:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8644:78: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8644:113: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_bind_parse_allow_0rtt': src/ssl_sock.c:8651:45: warning: unused parameter 'args' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8651:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8651:78: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8651:117: warning: unused parameter 'err' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_allow_0rtt': src/ssl_sock.c:8657:41: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8657:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8657:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8657:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_bind_parse_npn': src/ssl_sock.c:8664:71: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_npn(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_alpn': src/ssl_sock.c:8720:72: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_alpn(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ssl': src/ssl_sock.c:8776:34: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8776:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8776:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8776:102: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_pcc': src/ssl_sock.c:8798:34: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8798:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8798:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8798:102: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_generate_certs': src/ssl_sock.c:8805:45: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8805:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8805:78: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8805:113: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_strict_sni': src/ssl_sock.c:8817:41: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8817:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8817:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8817:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_tls_ticket_keys': src/ssl_sock.c:8824:79: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tls_ticket_keys(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_verify': src/ssl_sock.c:8944:74: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_verify(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_no_ca_names': src/ssl_sock.c:8973:46: warning: unused parameter 'args' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8973:56: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:8973:79: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8973:118: warning: unused parameter 'err' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_npn': src/ssl_sock.c:8986:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_npn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_alpn': src/ssl_sock.c:9039:68: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_alpn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_ca_file': src/ssl_sock.c:9100:71: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ca_file(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_check_sni': src/ssl_sock.c:9117:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_check_sni(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_check_ssl': src/ssl_sock.c:9135:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9135:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9135:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9135:107: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_ciphers': src/ssl_sock.c:9155:71: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ciphers(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_ciphersuites': src/ssl_sock.c:9169:76: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ciphersuites(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_crl_file': src/ssl_sock.c:9183:72: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_crl_file(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_crt': src/ssl_sock.c:9206:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_crt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_no_check_ssl': src/ssl_sock.c:9223:42: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9223:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9223:76: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9223:110: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_send_proxy_ssl': src/ssl_sock.c:9233:47: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9233:58: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9233:81: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9233:115: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_send_proxy_cn': src/ssl_sock.c:9241:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9241:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9241:80: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9241:114: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_ssl': src/ssl_sock.c:9250:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9250:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9250:70: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9250:104: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_allow_0rtt': src/ssl_sock.c:9259:40: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9259:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9259:74: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9259:108: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_ssl_reuse': src/ssl_sock.c:9266:42: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9266:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9266:76: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9266:110: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_tls_tickets': src/ssl_sock.c:9273:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9273:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9273:78: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9273:112: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_send_proxy_ssl': src/ssl_sock.c:9279:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9279:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9279:78: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9279:112: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_send_proxy_cn': src/ssl_sock.c:9287:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9287:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9287:77: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9287:111: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_sni': src/ssl_sock.c:9296:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_sni(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_ssl': src/ssl_sock.c:9318:33: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9318:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9318:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9318:101: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_ssl_reuse': src/ssl_sock.c:9331:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9331:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9331:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9331:107: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_tls_tickets': src/ssl_sock.c:9338:41: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:9338:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:9338:75: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9338:109: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_verify': src/ssl_sock.c:9345:70: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_verify(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_verifyhost': src/ssl_sock.c:9368:74: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_verifyhost(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_parse_default_bind_options': src/ssl_sock.c:9383:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9383:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9384:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9384:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9384:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_default_server_options': src/ssl_sock.c:9415:62: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_default_server_options(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9415:90: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_default_server_options(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9416:59: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9416:78: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9416:88: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ca_crt_base': src/ssl_sock.c:9447:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ca_crt_base(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9447:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ca_crt_base(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9448:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9448:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9448:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_async': src/ssl_sock.c:9474:46: warning: unused parameter 'args' [-Wunused-parameter] static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx, ~~~~~~~^~~~ src/ssl_sock.c:9474:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9474:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9475:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9475:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9475:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c:9476:47: warning: unused parameter 'err' [-Wunused-parameter] char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_engine': src/ssl_sock.c:9502:57: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ssl_engine(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9502:85: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ssl_engine(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9503:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9503:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9503:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ciphers': src/ssl_sock.c:9545:54: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9545:82: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9546:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9546:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9546:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ciphersuites': src/ssl_sock.c:9570:59: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9570:87: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9571:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9571:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9571:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_int': src/ssl_sock.c:9595:50: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_int(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9595:78: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_int(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9596:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9596:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9596:76: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_private_cache': src/ssl_sock.c:9658:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9658:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9659:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9659:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9659:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_lifetime': src/ssl_sock.c:9672:55: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_lifetime(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9672:83: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_lifetime(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9673:52: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9673:71: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9673:81: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_dh_param_file': src/ssl_sock.c:9708:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_dh_param_file(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9708:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_dh_param_file(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9709:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9709:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9709:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_default_dh': src/ssl_sock.c:9730:57: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_default_dh(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9730:85: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_default_dh(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9731:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9731:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9731:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'cli_parse_show_tlskeys': src/ssl_sock.c:9923:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:9923:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_set_tlskeys': src/ssl_sock.c:9944:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:9944:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_commit_cert': src/ssl_sock.c:10225:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_commit_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:10225:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_commit_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_set_cert': src/ssl_sock.c:10271:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_abort_cert': src/ssl_sock.c:10505:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_abort_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:10505:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_abort_cert(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_set_ocspresponse': src/ssl_sock.c:10549:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_ocspresponse(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'check_aes_gcm': src/ssl_sock.c:10610:64: warning: unused parameter 'conv' [-Wunused-parameter] static int check_aes_gcm(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:10611:21: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/ssl_sock.c:10611:31: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/ssl_sock.c: In function 'sample_conv_aes_gcm_dec': src/ssl_sock.c:10630:87: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_aes_gcm_dec(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: At top level: src/ssl_sock.c:10724:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "tls-keys", NULL }, "show tls-keys [id|*]: show tls keys references or dump tls ticket keys when id specified", cli_parse_show_tlskeys, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:10725:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "ssl", "tls-key", NULL }, "set ssl tls-key [id|keyfile] : set the next TLS key for the or listener to ", cli_parse_set_tlskeys, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:10727:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "ssl", "ocsp-response", NULL }, NULL, cli_parse_set_ocspresponse, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:10728:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "ssl", "cert", NULL }, "set ssl cert : replace a certificate file", cli_parse_set_cert, NULL, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:10729:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "commit", "ssl", "cert", NULL }, "commit ssl cert : commit a certificate file", cli_parse_commit_cert, cli_io_handler_commit_cert, cli_release_commit_cert }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:10730:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "abort", "ssl", "cert", NULL }, "abort ssl cert : abort a transaction for a certificate file", cli_parse_abort_cert, NULL, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:46:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:10731:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { NULL }, NULL, NULL, NULL } ^ In file included from src/ssl_sock.c:63: include/types/cli.h:45:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10734:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/ssl_sock.c:10740:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc", smp_fetch_ssl_fc, 0, NULL, SMP_T_BOOL, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10741:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_alg_keysize", smp_fetch_ssl_fc_alg_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10743:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_alpn", smp_fetch_ssl_fc_alpn, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10745:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_cipher", smp_fetch_ssl_fc_cipher, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10747:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_npn", smp_fetch_ssl_fc_npn, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10749:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_is_resumed", smp_fetch_ssl_fc_is_resumed, 0, NULL, SMP_T_BOOL, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10750:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_protocol", smp_fetch_ssl_fc_protocol, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10751:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_unique_id", smp_fetch_ssl_fc_unique_id, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10752:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_use_keysize", smp_fetch_ssl_fc_use_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10754:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_session_id", smp_fetch_ssl_fc_session_id, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10757:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_client_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10758:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_server_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10759:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_session_key", smp_fetch_ssl_fc_session_key, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10761:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_ca_err", smp_fetch_ssl_c_ca_err, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10762:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_ca_err_depth", smp_fetch_ssl_c_ca_err_depth, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10763:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_der", smp_fetch_ssl_x_der, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10764:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_err", smp_fetch_ssl_c_err, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10765:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_i_dn", smp_fetch_ssl_x_i_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10766:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_key_alg", smp_fetch_ssl_x_key_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10767:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_notafter", smp_fetch_ssl_x_notafter, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10768:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_notbefore", smp_fetch_ssl_x_notbefore, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10769:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_sig_alg", smp_fetch_ssl_x_sig_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10770:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_s_dn", smp_fetch_ssl_x_s_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10771:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_serial", smp_fetch_ssl_x_serial, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10772:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_sha1", smp_fetch_ssl_x_sha1, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10773:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_used", smp_fetch_ssl_c_used, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10774:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_verify", smp_fetch_ssl_c_verify, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10775:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_version", smp_fetch_ssl_x_version, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10776:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_der", smp_fetch_ssl_x_der, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10777:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_i_dn", smp_fetch_ssl_x_i_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10778:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_key_alg", smp_fetch_ssl_x_key_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10779:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_notafter", smp_fetch_ssl_x_notafter, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10780:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_notbefore", smp_fetch_ssl_x_notbefore, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10781:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_sig_alg", smp_fetch_ssl_x_sig_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10782:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_s_dn", smp_fetch_ssl_x_s_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10783:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_serial", smp_fetch_ssl_x_serial, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10784:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_sha1", smp_fetch_ssl_x_sha1, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10785:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_version", smp_fetch_ssl_x_version, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10786:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc", smp_fetch_ssl_fc, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10787:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_alg_keysize", smp_fetch_ssl_fc_alg_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10788:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipher", smp_fetch_ssl_fc_cipher, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10789:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_crt", smp_fetch_ssl_fc_has_crt, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10790:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_early", smp_fetch_ssl_fc_has_early, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10791:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_sni", smp_fetch_ssl_fc_has_sni, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10792:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_is_resumed", smp_fetch_ssl_fc_is_resumed, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10794:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_npn", smp_fetch_ssl_fc_npn, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10797:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_alpn", smp_fetch_ssl_fc_alpn, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10799:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_protocol", smp_fetch_ssl_fc_protocol, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10801:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_unique_id", smp_fetch_ssl_fc_unique_id, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10803:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_use_keysize", smp_fetch_ssl_fc_use_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10805:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_session_id", smp_fetch_ssl_fc_session_id, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10808:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_client_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10809:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_server_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10810:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_session_key", smp_fetch_ssl_fc_session_key, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10813:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_sni", smp_fetch_ssl_fc_sni, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10815:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_bin", smp_fetch_ssl_fc_cl_bin, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10816:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_hex", smp_fetch_ssl_fc_cl_hex, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10817:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_str", smp_fetch_ssl_fc_cl_str, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10818:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_xxh", smp_fetch_ssl_fc_cl_xxh64, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:10819:2: warning: missing initializer for field 'use' of 'struct sample_fetch' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:300:15: note: 'use' declared here unsigned int use; /* fetch source (SMP_USE_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10822:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ src/ssl_sock.c:10828:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "ssl_fc_sni_end", "ssl_fc_sni", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/ssl_sock.c:10829:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "ssl_fc_sni_reg", "ssl_fc_sni", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10833:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10904:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct srv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10956:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10989:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/ssl_sock.c:10994:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "aes_gcm_dec", sample_conv_aes_gcm_dec, ARG4(4,SINT,STR,STR,STR), check_aes_gcm, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/ssl_sock.c:10996:2: warning: missing initializer for field 'out_type' of 'struct sample_conv' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:278:15: note: 'out_type' declared here unsigned int out_type; /* output sample type */ ^~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10999:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &conv_kws); ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_action_wait_for_hs': src/ssl_sock.c:11023:57: warning: unused parameter 'rule' [-Wunused-parameter] enum act_return ssl_action_wait_for_hs(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:11023:77: warning: unused parameter 'px' [-Wunused-parameter] enum act_return ssl_action_wait_for_hs(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/ssl_sock.c:11024:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/ssl_sock.c: In function 'ssl_parse_wait_for_hs': src/ssl_sock.c:11042:62: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~~~~~~~~~^~~~ src/ssl_sock.c:11042:73: warning: unused parameter 'orig_arg' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~^~~~~~~~ src/ssl_sock.c:11042:97: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:11042:131: warning: unused parameter 'err' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~~~^~~ src/ssl_sock.c: At top level: src/ssl_sock.c:11050:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "wait-for-handshake", ssl_parse_wait_for_hs }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/action.h:184:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:214, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:11054:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_sctl_free_func': src/ssl_sock.c:11058:43: warning: unused parameter 'parent' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~~~ src/ssl_sock.c:11058:78: warning: unused parameter 'ad' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:11058:86: warning: unused parameter 'idx' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~^~~ src/ssl_sock.c:11058:96: warning: unused parameter 'argl' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~^~~~ src/ssl_sock.c:11058:108: warning: unused parameter 'argp' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~ src/ssl_sock.c: In function 'ssl_sock_capture_free_func': src/ssl_sock.c:11067:46: warning: unused parameter 'parent' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~~~ src/ssl_sock.c:11067:81: warning: unused parameter 'ad' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:11067:89: warning: unused parameter 'idx' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~^~~ src/ssl_sock.c:11067:99: warning: unused parameter 'argl' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~^~~~ src/ssl_sock.c:11067:111: warning: unused parameter 'argp' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~ make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/haproxy-2.1.2' package/pkg-generic.mk:257: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/haproxy-2.1.2/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/haproxy-2.1.2/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'