>>> haproxy 1.9.1 Extracting gzip -d -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/dl/haproxy/haproxy-1.9.1.tar.gz | /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/tar --strip-components=1 -C /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/haproxy-1.9.1 -xf - >>> haproxy 1.9.1 Patching >>> haproxy 1.9.1 Configuring >>> haproxy 1.9.1 Building PATH="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin:/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/bin:/bin" /usr/bin/make -j8 PATH="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin:/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/bin:/bin" AR="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-ar" AS="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-as" LD="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-ld" NM="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-nm" CC="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-gcc" GCC="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-gcc" CPP="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-cpp" CXX="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-g++" FC="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-gfortran" F77="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-gfortran" RANLIB="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-ranlib" READELF="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-readelf" STRIP="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-strip" OBJCOPY="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-objcopy" OBJDUMP="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/include" LDFLAGS_FOR_BUILD="-L/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-as" DEFAULT_LINKER="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os " LDFLAGS="" FCFLAGS="-matomic -Os " FFLAGS="-matomic -Os " PKG_CONFIG="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/pkg-config" STAGING_DIR="/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/arc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl LD=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arc-buildroot-linux-uclibc-gcc PREFIX=/usr TARGET=custom USE_THREAD=1 USE_OPENSSL=1 PCRE_CONFIG=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/arc-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 -matomic -Os " -C /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/haproxy-1.9.1 make[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/haproxy-1.9.1' CC src/ev_poll.o CC src/ssl_sock.o CC src/proto_http.o CC src/cfgparse-listen.o CC src/proto_htx.o CC src/stream.o CC src/mux_h2.o CC src/stats.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:36, from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/htx.h:28, from src/proto_htx.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/htx.h:29, from src/proto_htx.c:16: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:36, from include/common/htx.h:31, from src/proto_htx.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/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/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ 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:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from src/ev_poll.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/common/htx.h:31, from src/proto_htx.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/htx.h:31, from src/proto_htx.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from src/proto_htx.c:16: include/common/htx.h: At top level: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/buffer.h:30, from src/ssl_sock.c:78: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/buffer.h:32, from src/ssl_sock.c:78: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/ssl_sock.c:78: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from src/ssl_sock.c:85: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/ssl_sock.c:85: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/ssl_sock.c:87: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/ev_poll.c:26: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/types/global.h:33, from src/ev_poll.c:26: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/proto/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison 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:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/ev_poll.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison 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:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison 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:47, from include/types/lb_map.h:26, from include/types/backend.h:32, from include/types/proxy.h:42, from include/types/acl.h:32, from include/proto/acl.h:26, from src/proto_htx.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison 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/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ In file included from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/proto/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31, from src/ssl_sock.c:88: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/common/cfgparse.h:31, from src/mux_h2.c:13: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/channel.h:34, from src/proto_htx.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ In file included from include/common/h2.h:34, from src/mux_h2.c:16: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/channel.h:32, from src/ssl_sock.c:101: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ In file included from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ In file included from include/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:160: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; ^ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ In file included from src/ssl_sock.c:101: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503: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/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ src/ev_poll.c: In function '_do_poll': src/ev_poll.c:166:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (fds = 0; (fds * 8*sizeof(**fd_evts)) < maxfd; fds++) { ^ src/ev_poll.c:173:57: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (count = 0, fd = fds * 8*sizeof(**fd_evts); count < 8*sizeof(**fd_evts) && fd < maxfd; count++, fd++) { ^ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/ev_poll.c:91:45: warning: unused parameter 'p' [-Wunused-parameter] REGPRM2 static void _do_poll(struct poller *p, int exp) ~~~~~~~~~~~~~~~^ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ src/ev_poll.c: In function '_do_test': src/ev_poll.c:308:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ~~~~~~~~~~~~~~~^ In file included from include/common/cfgparse.h:31, from src/proto_http.c:27: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/queue.h:35, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/queue.h:35, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/ssl_sock.c:102: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/ssl_sock.c:102: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/ssl_sock.c:102: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ 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: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/proto_http.c:52: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/channel.h:32, from src/proto_http.c:53: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ In file included from src/proto_htx.c:24: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/ssl_sock.c:102: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/proto_http.c:53: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/ssl_sock.c:112: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from src/mux_h2.c:23: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/ssl_sock.c:117: 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/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ In file included from src/proto_http.c:63: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:40:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ~~~~~~~~~~~~~^~~ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from include/common/buffer.h:30, from src/ssl_sock.c:78: src/ssl_sock.c: At top level: include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:189:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_rwlock_init, &(lock)) ^~~~~~~~~ src/ssl_sock.c:337: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:506: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: At top level: src/ssl_sock.c:518:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline ssl_async_process_fds(struct connection *conn, SSL *ssl) ^~~~~~ In file included from src/proto_http.c:66: include/proto/proto_http.h: In function 'http_body_bytes': src/ssl_sock.c: In function 'ssl_async_process_fds': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/ssl_sock.c:536: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:540: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:553: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++) { ^ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ In file included from src/proto_http.c:68: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/proto_http.c:70: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/proto/stream_interface.h:32, from src/mux_h2.c:27: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503: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/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ In file included from include/common/cfgparse.h:31, from src/stream.c:17: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ src/ssl_sock.c: In function 'ssl_sock_parse_sctl': src/ssl_sock.c:1311:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len + 2 != sctl->data) ^~ src/ssl_sock.c: In function 'ssl_sock_sctl_add_cbk': src/ssl_sock.c:1379:32: warning: unused parameter 'ssl' [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ~~~~~^~~ src/ssl_sock.c:1379:46: warning: unused parameter 'ext_type' [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ~~~~~~~~~^~~~~~~~ src/ssl_sock.c:1379:104: warning: unused parameter 'al' [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ~~~~~^~ src/ssl_sock.c: In function 'ssl_sock_sctl_parse_cbk': In file included from src/stream.c:22: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ src/ssl_sock.c:1389:34: warning: unused parameter 's' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~^ src/ssl_sock.c:1389:50: warning: unused parameter 'ext_type' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~~~~~~~^~~~~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ src/ssl_sock.c:1389:81: warning: unused parameter 'in' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~~~~~~~~~~~~~~~^~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ src/ssl_sock.c:1389:92: warning: unused parameter 'inlen' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~^~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ src/ssl_sock.c:1389:104: warning: unused parameter 'al' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~^~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ src/ssl_sock.c:1389:114: warning: unused parameter 'parse_arg' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~^~~~~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ src/ssl_sock.c: In function 'ssl_sock_parse_clienthello': include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ src/ssl_sock.c:1607: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:1608: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:1506:50: warning: unused parameter 'version' [-Wunused-parameter] void ssl_sock_parse_clienthello(int write_p, int version, int content_type, ~~~~^~~~~~~ src/ssl_sock.c: In function 'ssl_sock_msgcbk': src/ssl_sock.c:1615:111: warning: unused parameter 'arg' [-Wunused-parameter] void ssl_sock_msgcbk(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg) ~~~~~~^~~ src/ssl_sock.c: In function 'ssl_sock_srv_select_protos': src/ssl_sock.c:1660:44: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_srv_select_protos(SSL *s, unsigned char **out, unsigned char *outlen, ~~~~~^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/proto_http.c:73: include/proto/connection.h: In function 'conn_get_best_mux_entry': src/ssl_sock.c: In function 'ssl_sock_advertise_npn_protos': include/proto/connection.h:1023:33: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ src/ssl_sock.c:1677:47: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_npn_protos(SSL *s, const unsigned char **data, ~~~~~^ include/proto/connection.h:1023:65: warning: comparison of integer expressions of different signedness: 'enum proto_proxy_mode' and 'int' [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ src/ssl_sock.c: In function 'ssl_sock_advertise_alpn_protos': include/proto/connection.h: In function 'conn_get_best_mux': src/ssl_sock.c:1692:48: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_alpn_protos(SSL *s, const unsigned char **out, ~~~~~^ include/proto/connection.h:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/cfgparse.h:31, from src/cfgparse-listen.c:14: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/common/cfgparse.h:27, from src/mux_h2.c:13: src/mux_h2.c: At top level: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102: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:205:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h2c, "h2c", sizeof(struct h2c)); ^~~~~~~~~~~~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_do_create_cert': src/ssl_sock.c:1713:83: warning: unused parameter 'ssl' [-Wunused-parameter] ssl_sock_do_create_cert(const char *servername, struct bind_conf *bind_conf, SSL *ssl) ~~~~~^~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102: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:208:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h2s, "h2s", sizeof(struct h2s)); ^~~~~~~~~~~~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_create_cert': src/ssl_sock.c:1860:84: warning: unused parameter 'key' [-Wunused-parameter] ssl_sock_create_cert(struct connection *conn, const char *servername, unsigned int key) ~~~~~~~~~~~~~^~~ src/mux_h2.c: In function 'h2_has_too_many_cs': src/mux_h2.c:302:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] return h2c->nb_cs > h2_settings_max_concurrent_streams; ^ In file included from include/proto/queue.h:35, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ src/mux_h2.c: In function 'h2_max_streams': src/mux_h2.c:374:46: warning: unused parameter 'conn' [-Wunused-parameter] static int h2_max_streams(struct connection *conn) ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/cfgparse.h:27, from src/proto_http.c:27: src/proto_http.c: At top level: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/proto_http.c:293:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_http_txn, "http_txn", sizeof(struct http_txn)); ^~~~~~~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:128:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/proto_http.c:294:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_uniqueid, "uniqueid", UNIQUEID_LEN); ^~~~~~~~~~~~ src/ssl_sock.c: In function 'ctx_set_None_func': In file included from src/stream.c:37: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ src/ssl_sock.c:2107:40: warning: unused parameter 'ctx' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ~~~~~~~~~^~~ src/ssl_sock.c:2107:62: warning: unused parameter 'c' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ~~~~~~~~~~~~~~~~~^ src/ssl_sock.c: In function 'ssl_set_None_func': src/ssl_sock.c:2108:36: warning: unused parameter 'ssl' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~^~~ src/ssl_sock.c:2108:58: warning: unused parameter 'c' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~~~~~~~~~~~~~^ src/proto_http.c: In function 'http_change_connection_header': src/proto_http.c:477:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (wanted == (txn->flags & (TX_CON_CLO_SET|TX_CON_KAL_SET))) ^~ src/proto_http.c: In function 'http_adjust_conn_mode': src/proto_http.c:524:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((txn->flags & TX_CON_WANT_MSK) < tmp) ^ src/mux_h2.c: In function 'h2s_new': src/mux_h2.c:829:2: warning: label 'out_free_h2s' defined but not used [-Wunused-label] out_free_h2s: ^~~~~~~~~~~~ src/proto_http.c: In function 'http_wait_for_request': src/proto_http.c:641:31: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] eol = sol + (msg->sl.rq.l ? msg->sl.rq.l : ci_data(req)); ^~~~~~~~~~~~ src/mux_h2.c: In function 'h2c_frt_stream_new': src/mux_h2.c:844:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (h2c->nb_streams >= h2_settings_max_concurrent_streams) ^~ src/ssl_sock.c: In function 'ssl_sock_switchctx_cbk': src/ssl_sock.c:2282: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:2282:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < trash.size && i < servername_len; i++) { ^ src/mux_h2.c: In function 'h2c_bck_stream_new': src/mux_h2.c:895:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (h2c->nb_streams >= h2_settings_max_concurrent_streams) ^~ In file included from src/stream.c:38: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/ssl_sock.c:2149:60: warning: unused parameter 'arg' [-Wunused-parameter] static int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *arg) ~~~~~~^~~ In file included from include/proto/log.h:37, from include/proto/server.h:36, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ In file included from include/proto/queue.h:35, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/cfgparse-listen.c:22: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/cfgparse-listen.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison 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/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ src/ssl_sock.c: In function 'ssl_get_tmp_dh': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/ssl_sock.c:2622:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (keylen > global_ssl.default_dh_param) { ^ src/mux_h2.c: In function 'h2c_handle_settings': In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/cfgparse-listen.c:22: include/proto/server.h: At top level: src/mux_h2.c:1388: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/ssl_sock.c:2607:41: warning: unused parameter 'export' [-Wunused-parameter] static DH *ssl_get_tmp_dh(SSL *ssl, int export, int keylen) ~~~~^~~~~~ include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ src/mux_h2.c:1392: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/proto_http.c:1111:59: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare] if ((msg->flags & HTTP_MSGF_CNT_LEN) && (msg->chunk_len != cl)) { ^~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ src/ssl_sock.c: In function 'ssl_sock_add_cert_sni': src/ssl_sock.c:2743: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:2745:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (j >= trash.size) ^~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ src/mux_h2.c: In function 'h2c_handle_window_update': src/mux_h2.c:1643:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ src/mux_h2.c: In function 'h2c_handle_goaway': src/mux_h2.c:1724:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ src/mux_h2.c: In function 'h2c_handle_priority': src/mux_h2.c:1758: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:1761: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:1792: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/ssl_sock.c: In function 'ssl_sock_free_cert_key_and_chain_contents': src/ssl_sock.c:2835:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < ckch->num_chain_certs; i++) { ^ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ src/mux_h2.c: In function 'h2c_frt_handle_headers': src/mux_h2.c:1836: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)) ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/stream.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ src/mux_h2.c:1898:2: warning: label 'strm_err' defined but not used [-Wunused-label] strm_err: ^~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_put_ckch_into_ctx': src/mux_h2.c: In function 'h2c_bck_handle_headers': src/ssl_sock.c:2961:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < ckch->num_chain_certs; i++) { ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/stream.c:41: include/proto/server.h: At top level: src/mux_h2.c:1927: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)) ^ include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ src/ssl_sock.c: In function 'ssl_sock_populate_sni_keytypes_hplr': include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ src/ssl_sock.c:2985: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++) { ^ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ src/mux_h2.c:1959:2: warning: label 'strm_err' defined but not used [-Wunused-label] strm_err: ^~~~~~~~ src/mux_h2.c: In function 'h2c_frt_handle_data': src/mux_h2.c:1983:25: warning: comparison 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)) ^ In file included from src/cfgparse-listen.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/proto_htx.c:26: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/stream.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c: In function 'sh_ssl_sess_new_cb': src/ssl_sock.c:3980:29: warning: unused parameter 'ssl' [-Wunused-parameter] int sh_ssl_sess_new_cb(SSL *ssl, SSL_SESSION *sess) ~~~~~^~~ In file included from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stats.c:27: include/proto/stream.h: At top level: src/ssl_sock.c: In function 'sh_ssl_sess_get_cb': include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ src/ssl_sock.c:4026:38: warning: unused parameter 'ssl' [-Wunused-parameter] SSL_SESSION *sh_ssl_sess_get_cb(SSL *ssl, __OPENSSL_110_CONST__ unsigned char *key, int key_len, int *do_copy) ~~~~~^~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ src/mux_h2.c: In function 'h2_io_cb': src/mux_h2.c:2626:43: warning: unused parameter 't' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~^ src/mux_h2.c:2626:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from src/stream.c:48: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:40:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ~~~~~~~~~~~~~^~~ In file included from include/common/cfgparse.h:31, from src/stats.c:27: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/proto_htx.c:32: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/mux_h2.c: In function 'h2_timeout_task': In file included from src/stats.c:32: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ src/mux_h2.c:2741:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ In file included from src/proto_htx.c:33: include/proto/proxy.h: At top level: include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/stream.c:56: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ src/mux_h2.c: In function 'h2_detach': src/mux_h2.c:2913:58: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (LIST_ISEMPTY(&h2c->conn->list) && h2c->nb_streams < h2_settings_max_concurrent_streams) { ^ src/proto_http.c: In function 'http_wait_for_request_body': src/proto_http.c:3211:28: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (http_body_bytes(msg) < msg->body_len) ^ In file included from src/stats.c:49: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ src/proto_http.c:3254:27: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (http_body_bytes(msg) >= msg->body_len) /* we have enough bytes now */ ^~ In file included from src/stats.c:50: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503: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/cfgparse.h:27, from src/stream.c:17: src/stream.c: At top level: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102: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:67:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_stream, "stream", sizeof(struct stream)); ^~~~~~~~~~~~ src/mux_h2.c: In function 'h2_deferred_shut': include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:179:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/stream.c:70:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(streams_lock); ^~~~~~~~~~~~~~~ src/mux_h2.c:3053:51: warning: unused parameter 't' [-Wunused-parameter] static struct task *h2_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~^ src/mux_h2.c:3053:80: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_deferred_shut(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h2.c: In function 'h2_shutw': src/mux_h2.c:3085:63: warning: unused parameter 'mode' [-Wunused-parameter] static void h2_shutw(struct conn_stream *cs, enum cs_shw_mode mode) ~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c: In function 'h2s_decode_headers': src/mux_h2.c:3118:25: warning: comparison 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/proto_htx.c: In function 'htx_wait_for_request': src/proto_htx.c:108:9: warning: operand of ?: changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] ? csinfo->t_idle ^~~~~~~~~~~~~~ src/mux_h2.c:3150: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) == h2s->id) { ^~ src/mux_h2.c: In function 'h2_frt_transfer_data': src/mux_h2.c:3325:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block1) ^ In file included from src/stats.c:63: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/mux_h2.c:3330:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block1) ^ src/mux_h2.c:3388:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (block1 > flen) ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from src/stats.c:66: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from src/stats.c:66: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ src/ssl_sock.c: In function 'ssl_sock_handshake': include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ src/ssl_sock.c:5395: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:5400: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/mux_h2.c: In function 'h2s_frt_make_resp_headers': src/proto_http.c: In function 'http_wait_for_response': src/mux_h2.c:3558:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (hdr = 1; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ src/proto_http.c:4277:31: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] eol = sol + (msg->sl.st.l ? msg->sl.st.l : ci_data(rep)); ^~~~~~~~~~~~ src/proto_htx.c: In function 'htx_process_tarpit': src/mux_h2.c: In function 'h2s_frt_make_resp_data': src/proto_htx.c:991:67: warning: unused parameter 'an_bit' [-Wunused-parameter] int htx_process_tarpit(struct stream *s, struct channel *req, int an_bit) ~~~~^~~~~~ src/mux_h2.c:3705:23: warning: comparison of integer expressions of different signedness: 'long long int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] if ((long long)size > h1m->curr_len) ^ src/ssl_sock.c: In function 'ssl_sock_to_buf': src/mux_h2.c:3764:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (size > max) ^ src/ssl_sock.c:5439:94: warning: unused parameter 'flags' [-Wunused-parameter] static size_t ssl_sock_to_buf(struct connection *conn, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/mux_h2.c:3782:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (size + 9 > outbuf.size) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/stats.c:70: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023:33: warning: comparison 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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:3811:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (!ret || len1 + len2 < size) { ^ src/mux_h2.c:3818:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (len1 + len2 > size) { ^ src/mux_h2.c:3821:12: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (len2 > sub) ^ src/ssl_sock.c: In function 'ssl_sock_close': src/ssl_sock.c:5752: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++) { ^ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_frt_make_resp_headers': src/mux_h2.c:3969: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:5775: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/proto_http.c:4742:59: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare] if ((msg->flags & HTTP_MSGF_CNT_LEN) && (msg->chunk_len != cl)) { ^~ src/stats.c: In function 'stats_putchk': src/stats.c:246:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (chk->data >= channel_htx_recv_max(chn, htx)) ^~ src/mux_h2.c:4014: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/stats.c: In function 'stats_emit_json_data_field': src/stats.c:355:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'const long long int'} and 'long long unsigned int' [-Wsign-compare] if (f->u.s64 < JSON_INT_MIN || f->u.s64 > JSON_INT_MAX) ^ src/stats.c:355:50: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'const long long int'} and 'long long unsigned int' [-Wsign-compare] if (f->u.s64 < JSON_INT_MIN || f->u.s64 > JSON_INT_MAX) ^ src/stats.c:380:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] return !(old_len == out->data); ^~ src/stream.c: In function 'process_sticking_rules': src/stream.c:1509:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/stats.c: In function 'stats_emit_json_field_tags': src/stats.c:474:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] return !(old_len == out->data); ^~ src/stats.c: In function 'stats_dump_json_info_fields': src/stats.c:548:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (old_len == out->data) ^~ src/stream.c: In function 'process_store_rules': src/stream.c:1586:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/stats.c: In function 'stats_dump_fields_json': src/stats.c:614:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (old_len == out->data) ^~ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_bck_make_req_headers': src/mux_h2.c:4168:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/ssl_sock.c: In function 'ssl_sock_get_serial': src/ssl_sock.c:5919:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < serial->length) ^ src/ssl_sock.c: In function 'ssl_sock_crt2der': src/ssl_sock.c:5941:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < len) ^ src/mux_h2.c:4224: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 'ssl_sock_get_time': src/ssl_sock.c:5964: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/ssl_sock.c:5978:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (out->size < utctm->length) ^ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_frt_make_resp_data': src/mux_h2.c:4389: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:4400:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize <= b_size(&h2c->mbuf) / 4 && fsize + 9 <= b_room(&h2c->mbuf)) ^~ src/ssl_sock.c: In function 'ssl_sock_get_dn_entry': src/mux_h2.c:4400:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize <= b_size(&h2c->mbuf) / 4 && fsize + 9 <= b_room(&h2c->mbuf)) ^~ src/ssl_sock.c:6038:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (data_len > out->size) ^ src/ssl_sock.c: In function 'ssl_sock_get_dn_oneline': src/ssl_sock.c:6087: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:4483:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize > count) ^ src/mux_h2.c:4492:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (fsize + 9 > outbuf.size) { ^ src/proto_htx.c: In function 'htx_adjust_conn_mode': src/proto_htx.c:2324:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((txn->flags & TX_CON_WANT_MSK) < tmp) ^ src/mux_h2.c: In function 'h2_rcv_buf': src/mux_h2.c:4641:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_rcv_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/proto_htx.c: In function 'htx_apply_redirect_rule': src/proto_htx.c:2367:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (qs < path.len) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_early': src/ssl_sock.c:6239:46: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6239:84: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_htx.c:2415:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (qs < path.len) { ^ src/ssl_sock.c:6239:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_crt': src/ssl_sock.c:6257:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6257:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/mux_h2.c: In function 'h2_snd_buf': src/ssl_sock.c:6257:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:4717:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/mux_h2.c: In function 'h2_parse_header_table_size': src/mux_h2.c:4970:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_der': src/mux_h2.c:4970:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:4971:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:6282:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:4971:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:6282:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:4971:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/stats.c: In function 'stats_process_http_post': src/stats.c:2814:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((plen > 0) && (plen <= sizeof(key))) { ^~ src/mux_h2.c: In function 'h2_parse_initial_window_size': src/mux_h2.c:4986:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h2.c:4986:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:4987:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/proto_htx.c:2332:92: warning: unused parameter 'txn' [-Wunused-parameter] int htx_apply_redirect_rule(struct redirect_rule *rule, struct stream *s, struct http_txn *txn) ~~~~~~~~~~~~~~~~~^~~ src/mux_h2.c:4987:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proto_htx.c: In function 'htx_transform_header_str': src/mux_h2.c:4987:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/proto_htx.c:2575:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (output->data == -1) ^~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_serial': src/mux_h2.c: In function 'h2_parse_max_concurrent_streams': src/proto_htx.c:2562:45: warning: unused parameter 's' [-Wunused-parameter] int htx_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ~~~~~~~~~~~~~~~^ src/ssl_sock.c:6326:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c:5002:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/proto_htx.c:2562:64: warning: unused parameter 'chn' [-Wunused-parameter] int htx_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ~~~~~~~~~~~~~~~~^~~ src/mux_h2.c:5002:89: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:6326:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/mux_h2.c:5003:58: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5003:77: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:5003:87: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ 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:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:5047:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_h2); ^~~~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:5052:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_h2_htx); ^~~~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:5062:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sha1': src/ssl_sock.c:6370:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_sha1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6370:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_sha1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_htx.c: In function 'htx_req_replace_stline': src/proto_htx.c:2683:21: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct stream *s) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notafter': src/ssl_sock.c:6415:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_notafter(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6415:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notafter(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_i_dn': src/stream.c: In function 'cli_parse_show_sess': src/ssl_sock.c:6458:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_i_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stream.c:3155:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c:3155:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notbefore': src/ssl_sock.c:6515:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_notbefore(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6515:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notbefore(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stream.c: In function 'cli_parse_shutdown_session': src/stream.c:3407:58: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c:3407:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_s_dn': src/ssl_sock.c:6558:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_s_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stream.c: In function 'cli_parse_shutdown_sessions_server': src/stream.c:3442:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_used': src/stream.c:3442:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c: At top level: src/ssl_sock.c:6612:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/stream.c:3465:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "sess", NULL }, "show sess [id] : report the list of current sessions or dump this session", cli_parse_show_sess, cli_io_handler_dump_sess, cli_release_show_sess }, ^ In file included from src/stream.c:28: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:6612:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/stream.c:3466:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "shutdown", "session", NULL }, "shutdown session : kill a specific session", cli_parse_shutdown_session, NULL, NULL }, ^ In file included from src/stream.c:28: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3467:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "shutdown", "sessions", "server" }, "shutdown sessions server : kill sessions on a server", cli_parse_shutdown_sessions_server, NULL, NULL }, ^ In file included from src/stream.c:28: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:6612:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stream.c:3468:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stream.c:28: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3471:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/stream.c:3475:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "use-service", stream_parse_use_service }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3479:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &stream_tcp_keywords); ^~~~~~~~~ src/stream.c:3482:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "use-service", stream_parse_use_service }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3486:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &stream_http_keywords); ^~~~~~~~~ src/stats.c: In function 'stats_dump_json_schema': src/ssl_sock.c: In function 'smp_fetch_ssl_x_version': src/stats.c:3869:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (old_len == out->data) { ^~ src/ssl_sock.c:6642:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_version(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6642:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_version(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stats.c: In function 'cli_parse_clear_counters': src/stats.c:3894:56: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_clear_counters(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c:3894:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_clear_counters(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sig_alg': src/stats.c: In function 'cli_parse_show_info': src/stats.c:3956:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_info(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:6678:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_sig_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/stats.c:3956:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_info(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:6678:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_sig_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stats.c: In function 'cli_parse_show_stat': src/stats.c:3970:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_stat(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_key_alg': src/stats.c:3970:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_stat(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:6728:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_key_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/stats.c: At top level: src/stats.c:4028:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "clear", "counters", NULL }, "clear counters : clear max statistics counters (add 'all' for all counters)", cli_parse_clear_counters, NULL, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:6728:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_key_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc': src/stats.c:4029:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "info", NULL }, "show info : report information about the running process", cli_parse_show_info, cli_io_handler_dump_info, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:6777:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/stats.c:4030:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "stat", NULL }, "show stat : report counters for each proxy and server", cli_parse_show_stat, cli_io_handler_dump_stat, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c:6777:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stats.c:4031:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "schema", "json", NULL }, "show schema json : report schema used for stats", NULL, cli_io_handler_dump_json_schema, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_sni': src/stats.c:4032:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stats.c:44: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/ssl_sock.c:6789:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/stats.c:27: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stats.c:4035:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/ssl_sock.c:6789:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:6789:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_is_resumed': src/ssl_sock.c:6809:47: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_is_resumed(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6809:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_is_resumed(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_htx.c: In function 'htx_manage_client_side_cookies': src/proto_htx.c:4272:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if ((hdr_end - hdr_beg) != ctx.value.len) { ^~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cipher': src/ssl_sock.c:6827:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cipher(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6827:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cipher(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alg_keysize': src/ssl_sock.c:6853:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_alg_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6853:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alg_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_use_keysize': src/ssl_sock.c:6877:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6877:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_htx.c: In function 'htx_check_request_for_cacheability': src/proto_htx.c:4618:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_npn': src/ssl_sock.c:6897:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_npn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6897:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_npn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alpn': src/proto_htx.c: In function 'htx_check_response_for_cacheability': src/proto_htx.c:4697:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/ssl_sock.c:6923:41: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6923:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_htx.c:4702:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (i < v.len && *(v.ptr + i) == '=') { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_protocol': src/ssl_sock.c:6953:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_protocol(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_htx.c: In function 'htx_stats_check_uri': src/ssl_sock.c:6953:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_protocol(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_htx.c:4789:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (uri_auth->uri_len > uri.len) ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_session_id': src/ssl_sock.c:6979:47: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_session_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6979:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_session_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_http.c: In function 'stats_check_uri': src/proto_http.c:7062:46: warning: unused parameter 'si' [-Wunused-parameter] int stats_check_uri(struct stream_interface *si, struct http_txn *txn, struct proxy *backend) ~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_session_key': src/ssl_sock.c:7007:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_session_key(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_http.c: In function 'http_capture_bad_message': src/ssl_sock.c:7007:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_session_key(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_http.c:7133:44: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] (msg->err_pos >= 0) ? msg->err_pos : msg->next, ^~~~~~~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_sni': src/ssl_sock.c:7038:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7038:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7038:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_bin': src/ssl_sock.c:7059:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7059:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7059:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cl_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_xxh64': src/ssl_sock.c:7095:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7095:83: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_htx.c: In function 'htx_reply_and_close': src/proto_htx.c:5319:50: warning: unused parameter 'status' [-Wunused-parameter] void htx_reply_and_close(struct stream *s, short status, struct buffer *msg) ~~~~~~^~~~~~ src/ssl_sock.c:7095:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cl_str': src/ssl_sock.c:7124:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i + 1 < smp->data.u.str.data; i += 2) { ^ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_unique_id': src/ssl_sock.c:7151:46: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_unique_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7151:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_unique_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err': src/ssl_sock.c:7190:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7190:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7190:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_htx.c: In function 'htx_capture_headers': src/proto_htx.c:5491:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (h->namelen && (h->namelen == n.len) && ^~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err_depth': src/proto_htx.c:5503:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (v.len > h->len) ^ src/ssl_sock.c:7212:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_ca_err_depth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7212:86: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_ca_err_depth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7212:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_ca_err_depth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_err': src/ssl_sock.c:7234:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7234:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7234:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_verify': src/ssl_sock.c:7256:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_verify(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7256:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_verify(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7256:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_verify(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'ssl_bind_parse_ca_file': src/ssl_sock.c:7280:75: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ca_file(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ca_sign_file': src/ssl_sock.c:7301:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ca_sign_file(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ca_sign_pass': src/ssl_sock.c:7318:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ca_sign_pass(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_ciphers': src/ssl_sock.c:7330:75: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ciphers(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_ciphersuites': src/ssl_sock.c:7348:80: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ciphersuites(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_crt': src/ssl_sock.c:7366:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_crt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_crl_file': src/ssl_sock.c:7410:76: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_crl_file(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_curves': src/ssl_sock.c:7437:74: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_curves(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_ecdhe': src/ssl_sock.c:7459:73: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_ecdhe(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ignore_err': src/ssl_sock.c:7487:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ignore_err(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_tls_method_options': src/ssl_sock.c:7558:82: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tls_method_options(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_tls_method_options': src/ssl_sock.c:7563:82: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_method_options(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_tls_method_minmax': src/ssl_sock.c:7598:85: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_tls_method_minmax(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_tls_method_minmax': src/ssl_sock.c:7606:81: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tls_method_minmax(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_tls_method_minmax': src/ssl_sock.c:7611:81: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_method_minmax(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_no_tls_tickets': src/ssl_sock.c:7617:45: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:7617:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:7617:78: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:7617:113: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_no_tls_tickets(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_bind_parse_allow_0rtt': src/ssl_sock.c:7624:45: warning: unused parameter 'args' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:7624:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:7624:78: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:7624:117: warning: unused parameter 'err' [-Wunused-parameter] static int ssl_bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_allow_0rtt': src/ssl_sock.c:7630:41: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:7630:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:7630:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:7630:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_allow_0rtt(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_bind_parse_npn': src/ssl_sock.c:7637:71: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_npn(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_alpn': src/ssl_sock.c:7693:72: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_alpn(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_http.c: In function 'http_msg_forward_chunked_body': src/proto_http.c:5495:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_CRLF; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/proto_http.c:5498:3: note: here case HTTP_MSG_CHUNK_CRLF: ^~~~ src/proto_http.c:5510:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_SIZE; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/proto_http.c:5513:3: note: here case HTTP_MSG_CHUNK_SIZE: ^~~~ src/proto_http.c:5537:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_TRAILERS; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/proto_http.c:5540:3: note: here case HTTP_MSG_TRAILERS: ^~~~ src/ssl_sock.c: In function 'bind_parse_ssl': src/ssl_sock.c:7749:34: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:7749:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:7749:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:7749:102: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_pcc': src/ssl_sock.c:7771:34: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:7771:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:7771:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:7771:102: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_pcc(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_generate_certs': src/ssl_sock.c:7778:45: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:7778:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:7778:78: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:7778:113: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_generate_certs(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_strict_sni': src/ssl_sock.c:7790:41: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:7790:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:7790:74: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:7790:109: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_strict_sni(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'bind_parse_tls_ticket_keys': src/ssl_sock.c:7797:79: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tls_ticket_keys(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_verify': src/ssl_sock.c:7875:74: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_verify(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_bind_parse_no_ca_names': src/ssl_sock.c:7904:46: warning: unused parameter 'args' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~~ src/ssl_sock.c:7904:56: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~^~~~~~~ src/ssl_sock.c:7904:79: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:7904:118: warning: unused parameter 'err' [-Wunused-parameter] static int ssl_bind_parse_no_ca_names(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_npn': src/ssl_sock.c:7917:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_npn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_alpn': src/ssl_sock.c:7970:68: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_alpn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_ca_file': src/ssl_sock.c:8031:71: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ca_file(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_check_sni': src/ssl_sock.c:8048:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_check_sni(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_check_ssl': src/ssl_sock.c:8066:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8066:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8066:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ CC src/flt_spoe.o src/ssl_sock.c:8066:107: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_ciphers': src/ssl_sock.c:8086:71: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ciphers(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_ciphersuites': src/ssl_sock.c:8100:76: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ciphersuites(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_crl_file': src/ssl_sock.c:8114:72: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_crl_file(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_crt': src/ssl_sock.c:8137:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_crt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_no_check_ssl': src/ssl_sock.c:8154:42: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8154:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8154:76: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8154:110: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_send_proxy_ssl': src/ssl_sock.c:8164:47: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8164:58: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8164:81: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8164:115: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_send_proxy_cn': src/ssl_sock.c:8172:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8172:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8172:80: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8172:114: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_ssl': src/ssl_sock.c:8181:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8181:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8181:70: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8181:104: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_allow_0rtt': src/ssl_sock.c:8190:40: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8190:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8190:74: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8190:108: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_allow_0rtt(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_ssl_reuse': src/ssl_sock.c:8197:42: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8197:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8197:76: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8197:110: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_no_tls_tickets': src/ssl_sock.c:8204:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8204:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8204:78: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8204:112: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_no_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_send_proxy_ssl': src/ssl_sock.c:8210:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8210:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8210:78: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8210:112: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_send_proxy_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_send_proxy_cn': src/ssl_sock.c:8218:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8218:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8218:77: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8218:111: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_send_proxy_cn(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_sni': src/ssl_sock.c:8227:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_sni(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_ssl': src/ssl_sock.c:8249:33: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8249:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8249:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8249:101: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_ssl_reuse': src/ssl_sock.c:8262:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8262:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8262:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8262:107: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_ssl_reuse(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_tls_tickets': src/ssl_sock.c:8269:41: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/ssl_sock.c:8269:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/ssl_sock.c:8269:75: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8269:109: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_tls_tickets(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'srv_parse_verify': src/ssl_sock.c:8276:70: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_verify(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'srv_parse_verifyhost': src/ssl_sock.c:8299:74: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_verifyhost(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'ssl_parse_default_bind_options': src/ssl_sock.c:8314:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8314:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8315:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8315:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8315:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_default_server_options': src/ssl_sock.c:8346:62: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_default_server_options(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8346:90: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_default_server_options(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8347:59: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8347:78: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8347:88: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ca_crt_base': src/ssl_sock.c:8378:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ca_crt_base(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8378:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ca_crt_base(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8379:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8379:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8379:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_async': src/ssl_sock.c:8405:46: warning: unused parameter 'args' [-Wunused-parameter] static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx, ~~~~~~~^~~~ src/ssl_sock.c:8405:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8405:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8406:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8406:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8406:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c:8407:47: warning: unused parameter 'err' [-Wunused-parameter] char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_engine': src/ssl_sock.c:8433:57: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ssl_engine(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8433:85: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ssl_engine(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8434:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8434:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8434:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ciphers': src/ssl_sock.c:8476:54: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8476:82: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8477:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8477:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8477:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_ciphersuites': src/ssl_sock.c:8501:59: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/ssl_sock.c:8501:87: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8502:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8502:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8502:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ src/ssl_sock.c: In function 'ssl_parse_global_int': src/ssl_sock.c:8526:50: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_int(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8526:78: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_int(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8527:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8527:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8527:76: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_private_cache': src/ssl_sock.c:8589:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8589:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8590:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8590:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8590:86: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_lifetime': src/ssl_sock.c:8603:55: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_lifetime(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8603:83: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_lifetime(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8604:52: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8604:71: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8604:81: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_dh_param_file': src/ssl_sock.c:8629:60: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_dh_param_file(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8629:88: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_dh_param_file(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8630:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8630:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8630:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_default_dh': src/ssl_sock.c:8651:57: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_default_dh(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:8651:85: warning: unused parameter 'curpx' [-Wunused-parameter] static int ssl_parse_global_default_dh(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8652:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8652:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8652:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'cli_parse_show_tlskeys': src/ssl_sock.c:8831:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:8831:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_set_tlskeys': src/ssl_sock.c:8856:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c:8856:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_tlskeys(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'cli_parse_set_ocspresponse': src/ssl_sock.c:8894:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_ocspresponse(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: At top level: src/ssl_sock.c:8957:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "tls-keys", NULL }, "show tls-keys [id|*]: show tls keys references or dump tls ticket keys when id specified", cli_parse_show_tlskeys, NULL }, ^ In file included from src/ssl_sock.c:94: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:8958:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "ssl", "tls-key", NULL }, "set ssl tls-key [id|keyfile] : set the next TLS key for the or listener to ", cli_parse_set_tlskeys, NULL }, ^ In file included from src/ssl_sock.c:94: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:8960:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "ssl", "ocsp-response", NULL }, NULL, cli_parse_set_ocspresponse, NULL }, ^ In file included from src/ssl_sock.c:94: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:8961:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { NULL }, NULL, NULL, NULL } ^ In file included from src/ssl_sock.c:94: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from include/common/buffer.h:30, from src/ssl_sock.c:78: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:8964:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/ssl_sock.c:8970:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc", smp_fetch_ssl_fc, 0, NULL, SMP_T_BOOL, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8971:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_alg_keysize", smp_fetch_ssl_fc_alg_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8973:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_alpn", smp_fetch_ssl_fc_alpn, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8975:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_cipher", smp_fetch_ssl_fc_cipher, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8977:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_npn", smp_fetch_ssl_fc_npn, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8979:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_is_resumed", smp_fetch_ssl_fc_is_resumed, 0, NULL, SMP_T_BOOL, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8980:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_protocol", smp_fetch_ssl_fc_protocol, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8981:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_unique_id", smp_fetch_ssl_fc_unique_id, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8982:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_use_keysize", smp_fetch_ssl_fc_use_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8984:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_session_id", smp_fetch_ssl_fc_session_id, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8987:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_session_key", smp_fetch_ssl_fc_session_key, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8989:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_ca_err", smp_fetch_ssl_c_ca_err, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8990:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_ca_err_depth", smp_fetch_ssl_c_ca_err_depth, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8991:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_der", smp_fetch_ssl_x_der, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8992:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_err", smp_fetch_ssl_c_err, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8993:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_i_dn", smp_fetch_ssl_x_i_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8994:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_key_alg", smp_fetch_ssl_x_key_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8995:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_notafter", smp_fetch_ssl_x_notafter, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8996:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_notbefore", smp_fetch_ssl_x_notbefore, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8997:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_sig_alg", smp_fetch_ssl_x_sig_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8998:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_s_dn", smp_fetch_ssl_x_s_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:8999:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_serial", smp_fetch_ssl_x_serial, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9000:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_sha1", smp_fetch_ssl_x_sha1, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9001:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_used", smp_fetch_ssl_c_used, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9002:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_verify", smp_fetch_ssl_c_verify, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9003:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_version", smp_fetch_ssl_x_version, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9004:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_der", smp_fetch_ssl_x_der, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9005:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_i_dn", smp_fetch_ssl_x_i_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9006:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_key_alg", smp_fetch_ssl_x_key_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9007:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_notafter", smp_fetch_ssl_x_notafter, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9008:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_notbefore", smp_fetch_ssl_x_notbefore, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9009:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_sig_alg", smp_fetch_ssl_x_sig_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9010:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_s_dn", smp_fetch_ssl_x_s_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9011:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_serial", smp_fetch_ssl_x_serial, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9012:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_sha1", smp_fetch_ssl_x_sha1, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9013:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_version", smp_fetch_ssl_x_version, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9014:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc", smp_fetch_ssl_fc, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9015:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_alg_keysize", smp_fetch_ssl_fc_alg_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9016:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipher", smp_fetch_ssl_fc_cipher, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9017:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_crt", smp_fetch_ssl_fc_has_crt, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9018:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_early", smp_fetch_ssl_fc_has_early, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9019:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_sni", smp_fetch_ssl_fc_has_sni, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9020:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_is_resumed", smp_fetch_ssl_fc_is_resumed, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9022:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_npn", smp_fetch_ssl_fc_npn, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9025:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_alpn", smp_fetch_ssl_fc_alpn, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9027:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_protocol", smp_fetch_ssl_fc_protocol, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9029:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_unique_id", smp_fetch_ssl_fc_unique_id, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9031:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_use_keysize", smp_fetch_ssl_fc_use_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9033:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_session_id", smp_fetch_ssl_fc_session_id, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9036:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_session_key", smp_fetch_ssl_fc_session_key, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9039:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_sni", smp_fetch_ssl_fc_sni, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9041:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_bin", smp_fetch_ssl_fc_cl_bin, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9042:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_hex", smp_fetch_ssl_fc_cl_hex, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9043:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_str", smp_fetch_ssl_fc_cl_str, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9044:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_xxh", smp_fetch_ssl_fc_cl_xxh64, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9045:2: warning: missing initializer for field 'use' of 'struct sample_fetch' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/sample.h:300:15: note: 'use' declared here unsigned int use; /* fetch source (SMP_USE_*) */ ^~~ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from include/common/buffer.h:30, from src/ssl_sock.c:78: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9048:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ src/ssl_sock.c:9054:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "ssl_fc_sni_end", "ssl_fc_sni", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/ssl_sock.c:9055:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "ssl_fc_sni_reg", "ssl_fc_sni", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from include/common/buffer.h:30, from src/ssl_sock.c:78: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9059:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9130:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9182:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9215:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_action_wait_for_hs': src/ssl_sock.c:9237:57: warning: unused parameter 'rule' [-Wunused-parameter] enum act_return ssl_action_wait_for_hs(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:9237:77: warning: unused parameter 'px' [-Wunused-parameter] enum act_return ssl_action_wait_for_hs(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9238:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/ssl_sock.c: In function 'ssl_parse_wait_for_hs': src/ssl_sock.c:9256:62: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~~~~~~~~~^~~~ src/ssl_sock.c:9256:73: warning: unused parameter 'orig_arg' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~^~~~~~~~ src/ssl_sock.c:9256:97: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:9256:131: warning: unused parameter 'err' [-Wunused-parameter] static enum act_parse_ret ssl_parse_wait_for_hs(const char **args, int *orig_arg, struct proxy *px, struct act_rule *rule, char **err) ~~~~~~~^~~ src/ssl_sock.c: At top level: src/ssl_sock.c:9264:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "wait-for-handshake", ssl_parse_wait_for_hs }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/ssl_sock.c:88: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from include/common/buffer.h:30, from src/ssl_sock.c:78: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9268: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:9272:43: warning: unused parameter 'parent' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~~~ src/ssl_sock.c:9272:78: warning: unused parameter 'ad' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:9272:86: warning: unused parameter 'idx' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~^~~ src/ssl_sock.c:9272:96: warning: unused parameter 'argl' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~^~~~ src/ssl_sock.c:9272:108: warning: unused parameter 'argp' [-Wunused-parameter] static void ssl_sock_sctl_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~ src/ssl_sock.c: In function 'ssl_sock_capture_free_func': src/ssl_sock.c:9281:46: warning: unused parameter 'parent' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~~~ src/ssl_sock.c:9281:81: warning: unused parameter 'ad' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:9281:89: warning: unused parameter 'idx' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~^~~ src/ssl_sock.c:9281:99: warning: unused parameter 'argl' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~^~~~ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:9281:111: warning: unused parameter 'argp' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161: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/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31, from src/flt_spoe.c:15: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/flt_spoe.c:31: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/channel.h:32, from include/proto/filters.h:30, from src/flt_spoe.c:32: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/filters.h:30, from src/flt_spoe.c:32: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/flt_spoe.c:37: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from src/flt_spoe.c:40: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from src/flt_spoe.c:40: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from src/flt_spoe.c:42: include/proto/spoe.h: In function 'spoe_encode_frag_buffer': include/proto/spoe.h:84:30: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] ret = (p+len < end) ? len : (end - p); ^~~~~~~~~ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/flt_spoe.c:44: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: src/flt_spoe.c: At top level: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/flt_spoe.c:104:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_spoe_ctx, "spoe_ctx", sizeof(struct spoe_context)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/flt_spoe.c:105:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_spoe_appctx, "spoe_appctx", sizeof(struct spoe_appctx)); ^~~~~~~~~~~~~~~~~~~ src/flt_spoe.c: In function 'generate_pseudo_uuid': src/flt_spoe.c:272:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(uuid_fmt)-1; i++) { ^ src/flt_spoe.c: In function 'spoe_process_appctx': src/flt_spoe.c:1213:71: warning: unused parameter 'state' [-Wunused-parameter] spoe_process_appctx(struct task * task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/flt_spoe.c: In function 'spoe_sig_stop': src/flt_spoe.c:2944:35: warning: unused parameter 'sh' [-Wunused-parameter] spoe_sig_stop(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/flt_spoe.c: In function 'spoe_init': src/flt_spoe.c:2978:25: warning: unused parameter 'px' [-Wunused-parameter] spoe_init(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_spoe.c: In function 'spoe_deinit': src/flt_spoe.c:3006:27: warning: unused parameter 'px' [-Wunused-parameter] spoe_deinit(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_spoe.c: In function 'spoe_stop': src/flt_spoe.c:3122:26: warning: unused parameter 's' [-Wunused-parameter] spoe_stop(struct stream *s, struct filter *filter) ~~~~~~~~~~~~~~~^ src/flt_spoe.c: In function 'spoe_end_analyze': src/flt_spoe.c:3244:33: warning: unused parameter 's' [-Wunused-parameter] spoe_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_spoe.c:3244:75: warning: unused parameter 'chn' [-Wunused-parameter] spoe_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~~^~~ src/flt_spoe.c: In function 'cfg_parse_spoe_agent': src/flt_spoe.c:3672:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] curagent->max_frame_size > MAX_FRAME_SIZE) { ^ src/flt_spoe.c: In function 'cfg_parse_spoe_group': src/flt_spoe.c:3742:70: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_spoe_group(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/flt_spoe.c: In function 'cfg_parse_spoe_message': src/flt_spoe.c:3831:72: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_spoe_message(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/flt_spoe.c: In function 'parse_spoe_flt': src/flt_spoe.c:4021:59: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ~~~~~~^~~~~~~ src/flt_spoe.c: In function 'spoe_send_group': src/flt_spoe.c:4448:19: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/flt_spoe.c: In function 'parse_send_spoe_group': src/flt_spoe.c:4618:71: warning: unused parameter 'px' [-Wunused-parameter] parse_send_spoe_group(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~~^~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: src/flt_spoe.c: At top level: include/common/initcall.h:67:10: warning: cast between incompatible function types from 'void (*)(struct flt_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4645:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &flt_kws); ^~~~~~~~~ src/flt_spoe.c:4649:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "send-spoe-group", parse_send_spoe_group }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4654:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_action_kws); ^~~~~~~~~ src/flt_spoe.c:4657:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "send-spoe-group", parse_send_spoe_group }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4662:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_action_kws); ^~~~~~~~~ src/flt_spoe.c:4665:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "send-spoe-group", parse_send_spoe_group }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4670:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_action_kws); ^~~~~~~~~ src/flt_spoe.c:4673:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "send-spoe-group", parse_send_spoe_group }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/flt_spoe.c:15: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4678:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_action_kws); ^~~~~~~~~ CC src/server.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161: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/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/server.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/server.c:19: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31, from src/server.c:19: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/queue.h:35, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/server.c:33: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/server.c:33: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/server.c:33: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from include/proto/applet.h:30, from src/server.c:33: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/server.c:43: include/common/htx.h: At top level: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/stream_interface.h:32, from src/server.c:43: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/server.c: In function 'srv_parse_addr': src/server.c:243:41: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_agent_check': src/server.c:289:41: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_agent_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:289:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_agent_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:290:48: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:290:88: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_backup': src/server.c:297:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_backup(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:297:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_backup(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:298:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:298:83: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_check': src/server.c:305:35: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:305:46: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:306:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:306:82: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_check_send_proxy': src/server.c:313:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:313:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:314:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:314:93: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_cookie': src/server.c:322:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_disabled': src/server.c:340:38: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_disabled(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:340:49: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_disabled(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:341:45: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:341:85: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_enabled': src/server.c:351:37: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_enabled(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:351:48: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_enabled(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:352:44: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:352:84: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_pool_purge_delay': src/server.c:361:80: warning: unused parameter 'curproxy' [-Wunused-parameter] static int srv_parse_pool_purge_delay(char **args, int *cur_arg, struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_pool_max_conn': src/server.c:383:77: warning: unused parameter 'curproxy' [-Wunused-parameter] static int srv_parse_pool_max_conn(char **args, int *cur_arg, struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_namespace': src/server.c:431:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:431:71: warning: unused parameter 'newsrv' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~~^~~~~~ src/server.c: In function 'srv_parse_no_agent_check': src/server.c:472:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_agent_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:472:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_agent_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:473:52: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:473:92: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_backup': src/server.c:484:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_backup(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:484:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_backup(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:485:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:485:86: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_check': src/server.c:492:38: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:492:49: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:493:45: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:493:85: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_check_send_proxy': src/server.c:502:49: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:502:60: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:503:56: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:503:96: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: At top level: src/server.c:510:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static int inline srv_disable_pp_flags(struct server *srv, unsigned int flags) ^~~~~~ src/server.c: In function 'srv_parse_no_send_proxy': src/server.c:517:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:517:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:518:50: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:518:90: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_send_proxy_v2': src/server.c:524:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_v2(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:524:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_v2(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:525:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:525:93: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_non_stick': src/server.c:531:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_non_stick(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:531:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_non_stick(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:532:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:532:86: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: At top level: src/server.c:539:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static int inline srv_enable_pp_flags(struct server *srv, unsigned int flags) ^~~~~~ src/server.c: In function 'srv_parse_proto': src/server.c:546:21: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/server.c: In function 'srv_parse_proxy_v2_options': src/server.c:565:25: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/server.c: In function 'srv_parse_redir': src/server.c:636:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_send_proxy': src/server.c:654:40: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:654:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:655:47: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:655:87: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_send_proxy_v2': src/server.c:661:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_v2(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:661:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_v2(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:662:50: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:662:90: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_source': src/server.c:670:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_stick': src/server.c:842:35: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_stick(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:842:46: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_stick(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:843:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:843:82: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_track': src/server.c:851:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: At top level: src/server.c:1256:2: warning: missing initializer for field 'default_ok' of 'struct srv_kw' [-Wmissing-field-initializers] { NULL, NULL, 0 }, ^ In file included from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/types/server.h:352:6: note: 'default_ok' declared here int default_ok; /* non-zero if kw is supported in default-server section */ ^~~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/server.c:19: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/server.c:1259:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ src/server.c: In function 'server_parse_weight_change_request': src/server.c:1333:13: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] if (w && w != sv->iweight && !(px->lbprm.algo & BE_LB_PROP_DYN)) ^~ src/server.c: In function 'server_health_check_init': src/server.c:1819:71: warning: unused parameter 'curproxy' [-Wunused-parameter] struct server *srv, struct proxy *curproxy) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'server_agent_check_init': src/server.c:1870:70: warning: unused parameter 'curproxy' [-Wunused-parameter] struct server *srv, struct proxy *curproxy) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_tmpl_parse_range': src/server.c:1970:48: warning: unused parameter 'srv' [-Wunused-parameter] static int srv_tmpl_parse_range(struct server *srv, const char *arg, int *nb_low, int *nb_high) ~~~~~~~~~~~~~~~^~~ src/server.c: In function 'snr_resolution_error_cb': src/server.c:3984:66: warning: unused parameter 'error_code' [-Wunused-parameter] int snr_resolution_error_cb(struct dns_requester *requester, int error_code) ~~~~^~~~~~~~~~ src/server.c: In function 'cli_parse_set_server': src/server.c:4346:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4346:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_get_weight': src/server.c:4529:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_get_weight(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4529:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_get_weight(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_set_weight': src/server.c:4572:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_weight(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4572:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_weight(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_set_maxconn_server': src/server.c:4602:60: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_maxconn_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4602:98: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_maxconn_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_disable_agent': src/server.c:4632:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_agent(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4632:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_agent(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_disable_health': src/server.c:4653:56: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_health(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4653:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_health(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_disable_server': src/server.c:4674:56: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4674:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_enable_agent': src/server.c:4695:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_agent(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4695:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_agent(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_enable_health': src/server.c:4723:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_health(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4723:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_health(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: In function 'cli_parse_enable_server': src/server.c:4744:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c:4744:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/server.c: At top level: src/server.c:4767:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "disable", "agent", NULL }, "disable agent : disable agent checks (use 'set server' instead)", cli_parse_disable_agent, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4768:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "disable", "health", NULL }, "disable health : disable health checks (use 'set server' instead)", cli_parse_disable_health, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4769:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "disable", "server", NULL }, "disable server : disable a server for maintenance (use 'set server' instead)", cli_parse_disable_server, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4770:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "enable", "agent", NULL }, "enable agent : enable agent checks (use 'set server' instead)", cli_parse_enable_agent, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4771:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "enable", "health", NULL }, "enable health : enable health checks (use 'set server' instead)", cli_parse_enable_health, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4772:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "enable", "server", NULL }, "enable server : enable a disabled server (use 'set server' instead)", cli_parse_enable_server, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4773:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "maxconn", "server", NULL }, "set maxconn server : change a server's maxconn setting", cli_parse_set_maxconn_server, NULL }, ^ In file included from src/server.c:27: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4774:2: warning: missing initializer for field 'io_handler' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "server", NULL }, "set server : change a server's state, weight or address", cli_parse_set_server }, ^ In file included from src/server.c:27: include/types/cli.h:31:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4775:2: warning: missing initializer for field 'io_handler' of 'struct cli_kw' [-Wmissing-field-initializers] { { "get", "weight", NULL }, "get weight : report a server's current weight", cli_parse_get_weight }, ^ In file included from src/server.c:27: include/types/cli.h:31:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4776:2: warning: missing initializer for field 'io_handler' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "weight", NULL }, "set weight : change a server's weight (deprecated)", cli_parse_set_weight }, ^ In file included from src/server.c:27: include/types/cli.h:31:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4778:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/server.c:27: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/server.c:19: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/server.c:4781:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ CC src/checks.o src/server.c: In function 'cleanup_idle_connections': src/server.c:5319:95: warning: unused parameter 'state' [-Wunused-parameter] static struct task *cleanup_idle_connections(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from src/checks.c:32: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/checks.c:36: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from src/checks.c:36: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/checks.c:37: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ CC src/haproxy.o In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/checks.c:40: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/types/global.h:33, from src/checks.c:40: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:72: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/checks.c:40: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:72: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:72: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from src/checks.c:44: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/log.h:37, from src/checks.c:48: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from src/checks.c:50: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/checks.c:54: include/proto/proxy.h: At top level: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/checks.c:55: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/checks.c:57: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/channel.h:32, from include/proto/stream_interface.h:32, from src/checks.c:57: include/common/htx.h: At top level: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/stream_interface.h:32, from src/checks.c:57: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503: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:26, from include/common/memory.h:34, from include/common/chunk.h:30, from src/checks.c:32: src/checks.c: At top level: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/checks.c:75:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_email_alert, "email_alert", sizeof(struct email_alert)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/checks.c:76:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_tcpcheck_rule, "tcpcheck_rule", sizeof(struct tcpcheck_rule)); ^~~~~~~~~~~~~~~~~~~ src/checks.c: In function 'chk_report_conn_err': src/checks.c:614:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ src/checks.c: In function 'event_srv_chk_io': src/checks.c:710:51: warning: unused parameter 't' [-Wunused-parameter] static struct task *event_srv_chk_io(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~^ src/checks.c:710:80: warning: unused parameter 'state' [-Wunused-parameter] static struct task *event_srv_chk_io(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/checks.c: In function '__event_srv_chk_w': src/checks.c:765:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) ^~ src/checks.c: In function '__event_srv_chk_r': src/checks.c:832:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) ^~ src/checks.c: In function 'wake_srv_chk': src/checks.c:1402:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ src/checks.c: In function 'server_warmup': src/checks.c:1457:81: warning: unused parameter 'state' [-Wunused-parameter] static struct task *server_warmup(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/checks.c: In function 'connect_conn_chk': src/checks.c:1527:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_TCPCHK_CHK) { ^~ src/checks.c:1538:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type && check->type != PR_O2_TCPCHK_CHK && !(check->state & CHK_ST_AGENT)) { ^~ src/checks.c:1611:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] quickack = check->type == 0 || check->type == PR_O2_TCPCHK_CHK; ^~ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from src/checks.c:32: src/checks.c: At top level: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:179:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/checks.c:1638:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(pid_list_lock); ^~~~~~~~~~~~~~~ src/checks.c: In function 'sigchld_handler': src/checks.c:1714:49: warning: unused parameter 'sh' [-Wunused-parameter] static void sigchld_handler(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/checks.c: In function 'process_chk_proc': src/checks.c:1992:84: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_chk_proc(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/checks.c: In function 'process_chk_conn': src/checks.c:2124:84: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_chk_conn(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/checks.c: In function 'process_chk': src/checks.c:2299:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (check->type == PR_O2_EXT_CHK) ^~ src/checks.c: In function 'start_checks': src/checks.c:2408:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (s->check.type == PR_O2_EXT_CHK) { ^~ src/checks.c: In function 'tcpcheck_main': src/checks.c:2685:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] check->current_step->string_len >= b_room(&check->bo))) { ^~ src/checks.c:2882:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (check->current_step->string_len >= b_size(&check->bo)) { ^~ src/checks.c:2892:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (check->current_step->string_len >= b_room(&check->bo)) ^~ src/checks.c:2964:78: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (!done && (check->current_step->string != NULL) && (b_data(&check->bi) < check->current_step->string_len) ) ^ src/checks.c: In function 'send_email_alert': src/checks.c:3466:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len < 0 || len >= sizeof(buf)) { ^~ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from src/checks.c:32: src/checks.c: At top level: include/common/initcall.h:67:10: warning: cast between incompatible function types from 'void (*)(int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:258:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/checks.c:3520:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(start_checks); ^~~~~~~~~~~~~~~~~~~ src/checks.c: In function '__health_adjust': src/checks.c:432:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (s->check.health > s->check.rise) ^ src/checks.c:437:3: note: here case HANA_ONERR_FAILCHK: ^~~~ src/checks.c: In function 'process_chk_conn': src/checks.c:2189:17: warning: this statement may fall through [-Wimplicit-fallthrough=] check->state |= CHK_ST_PORT_MISS; src/checks.c:2190:3: note: here case SF_ERR_PRXCOND: ^~~~ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:72: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:72: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ CC src/cfgparse.o In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:72: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161: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/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/haproxy.c:72: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/haproxy.c:72: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31, from src/haproxy.c:72: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ CC src/flt_http_comp.o In file included from src/haproxy.c:100: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/channel.h:32, from src/haproxy.c:101: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/haproxy.c:101: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/haproxy.c:103: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/haproxy.c:103: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from src/haproxy.c:103: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/haproxy.c:107: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:40:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ~~~~~~~~~~~~~^~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/haproxy.c:113: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ src/haproxy.c: In function 'mworker_catch_sighup': src/haproxy.c:791:54: warning: unused parameter 'sh' [-Wunused-parameter] static void mworker_catch_sighup(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'mworker_catch_sigchld': src/haproxy.c:813:55: warning: unused parameter 'sh' [-Wunused-parameter] static void mworker_catch_sigchld(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'sig_pause': src/haproxy.c:950:43: warning: unused parameter 'sh' [-Wunused-parameter] static void sig_pause(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'sig_listen': src/haproxy.c:959:44: warning: unused parameter 'sh' [-Wunused-parameter] static void sig_listen(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'sig_dump_state': src/haproxy.c:967:48: warning: unused parameter 'sh' [-Wunused-parameter] static void sig_dump_state(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'dump': src/haproxy.c:1013:38: warning: unused parameter 'sh' [-Wunused-parameter] static void dump(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/haproxy.c: In function 'get_old_sockets': src/haproxy.c:1231:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (totlen / sizeof(int) + got_fd > fd_nb) { ^ CC src/http_fetch.o src/haproxy.c: In function 'init': src/haproxy.c:2038:46: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] nbbe += cur->fullconn ? cur->fullconn : global.maxconn; ^~~~~~~~~~~~~~ src/haproxy.c: In function 'manage_global_listener_queue': src/haproxy.c:2701:72: warning: unused parameter 'context' [-Wunused-parameter] static struct task *manage_global_listener_queue(struct task *t, void *context, unsigned short state) ~~~~~~^~~~~~~ src/haproxy.c:2701:96: warning: unused parameter 'state' [-Wunused-parameter] static struct task *manage_global_listener_queue(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/haproxy.c: In function 'main': src/haproxy.c:2974:21: warning: comparison of integer expressions of different signedness: 'rlim_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] if (limit.rlim_cur < global.maxsock) { ^ In file included from include/common/buffer.h:30, from src/flt_http_comp.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32, from src/flt_http_comp.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/flt_http_comp.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from src/http_fetch.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32, from include/common/h1.h:25, from src/http_fetch.c:24: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/h1.h:25, from src/http_fetch.c:24: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/h1.h:28, from src/http_fetch.c:24: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/standard.h:38, from include/common/h1.h:31, from src/http_fetch.c:24: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/proto/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/h1.h:31, from src/http_fetch.c:24: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/http_fetch.c:26: include/common/htx.h: At top level: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31, from src/cfgparse.c:36: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/cfgparse.c:59: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/channel.h:32, from src/cfgparse.c:60: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/cfgparse.c:60: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/cfgparse.c:76: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/proto/server.h:35, from include/proto/session.h:35, from src/cfgparse.c:80: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from src/cfgparse.c:80: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from src/cfgparse.c:86: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/cfgparse.c: In function 'str2listener': src/cfgparse.c:148:94: warning: unused parameter 'file' [-Wunused-parameter] int str2listener(char *str, struct proxy *curproxy, struct bind_conf *bind_conf, const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/cfgparse.c:148:104: warning: unused parameter 'line' [-Wunused-parameter] int str2listener(char *str, struct proxy *curproxy, struct bind_conf *bind_conf, const char *file, int line, char **err) ~~~~^~~~ src/cfgparse.c: In function 'cfg_parse_peers': src/cfgparse.c:497:69: warning: unused parameter 'kwm' [-Wunused-parameter] int cfg_parse_peers(const char *file, int linenum, char **args, int kwm) ~~~~^~~ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/cfgparse.c: In function 'cfg_parse_resolvers': src/cfgparse.c:702:73: warning: unused parameter 'kwm' [-Wunused-parameter] int cfg_parse_resolvers(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cfgparse.c: In function 'cfg_parse_mailers': src/cfgparse.c:1082:71: warning: unused parameter 'kwm' [-Wunused-parameter] int cfg_parse_mailers(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cfgparse.c: In function 'cfg_parse_netns': src/cfgparse.c:1263:55: warning: unused parameter 'args' [-Wunused-parameter] cfg_parse_netns(const char *file, int linenum, char **args, int kwm) ~~~~~~~^~~~ src/cfgparse.c:1263:65: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_netns(const char *file, int linenum, char **args, int kwm) ~~~~^~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/cfgparse.c: In function 'cfg_parse_users': src/cfgparse.c:1305:65: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_users(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cfgparse.c: In function 'check_config_validity': src/cfgparse.c:2125:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (nbproc = 0; nbproc < LONGBITS; nbproc++) { ^ In file included from include/proto/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31, from src/flt_http_comp.c:14: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/flt_http_comp.c:15: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/common/cfgparse.h:27, from src/cfgparse.c:36: src/cfgparse.c: At top level: include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:3862:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("listen", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:3863:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("frontend", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:3864:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("backend", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:3865:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("defaults", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:3866:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("global", cfg_parse_global, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:3867:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("userlist", cfg_parse_users, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:3868:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("peers", cfg_parse_peers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:3869:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("mailers", cfg_parse_mailers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:3870:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("namespace_list", cfg_parse_netns, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)(const char *, int, char **, int), int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:3871:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("resolvers", cfg_parse_resolvers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/proto/filters.h:30, from src/flt_http_comp.c:26: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/flt_http_comp.c:29: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from include/common/buffer.h:30, from src/flt_http_comp.c:13: src/flt_http_comp.c: At top level: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/flt_http_comp.c:50:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_comp_state, "comp_state", sizeof(struct comp_state)); ^~~~~~~~~~~~~~~~~~~ src/flt_http_comp.c: In function 'comp_flt_init': src/flt_http_comp.c:81:29: warning: unused parameter 'px' [-Wunused-parameter] comp_flt_init(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_http_comp.c: In function 'comp_flt_init_per_thread': src/flt_http_comp.c:88:40: warning: unused parameter 'px' [-Wunused-parameter] comp_flt_init_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_http_comp.c:88:61: warning: unused parameter 'fconf' [-Wunused-parameter] comp_flt_init_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~~~~^~~~~ src/flt_http_comp.c: In function 'comp_flt_deinit_per_thread': src/flt_http_comp.c:98:42: warning: unused parameter 'px' [-Wunused-parameter] comp_flt_deinit_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_http_comp.c:98:63: warning: unused parameter 'fconf' [-Wunused-parameter] comp_flt_deinit_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~~~~^~~~~ src/flt_http_comp.c: In function 'comp_start_analyze': src/flt_http_comp.c:107:35: warning: unused parameter 's' [-Wunused-parameter] comp_start_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c:107:77: warning: unused parameter 'chn' [-Wunused-parameter] comp_start_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~~^~~ src/flt_http_comp.c: In function 'comp_end_analyze': src/flt_http_comp.c:136:33: warning: unused parameter 's' [-Wunused-parameter] comp_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c:136:75: warning: unused parameter 'chn' [-Wunused-parameter] comp_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~~^~~ src/flt_http_comp.c: In function 'comp_http_post_analyze': src/flt_http_comp.c:180:26: warning: unused parameter 'chn' [-Wunused-parameter] struct channel *chn, unsigned an_bit) ~~~~~~~~~~~~~~~~^~~ src/flt_http_comp.c: In function 'comp_http_payload': src/flt_http_comp.c:239:13: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (ret == sz && !b_data(&trash)) { ^~ src/flt_http_comp.c: In function 'comp_http_data': src/flt_http_comp.c:332:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (len > block) ^ src/flt_http_comp.c:299:31: warning: unused parameter 's' [-Wunused-parameter] comp_http_data(struct stream *s, struct filter *filter, struct http_msg *msg) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c: In function 'comp_http_chunk_trailers': src/flt_http_comp.c:355:41: warning: unused parameter 's' [-Wunused-parameter] comp_http_chunk_trailers(struct stream *s, struct filter *filter, ~~~~~~~~~~~~~~~^ src/flt_http_comp.c: In function 'comp_http_forward_data': src/flt_http_comp.c:395:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] else if (st->hdrs_len > len) { ^ src/flt_http_comp.c:423:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret != b_data(&tmpbuf)) { ^~ src/flt_http_comp.c: In function 'htx_set_comp_reshdr': src/flt_http_comp.c:512:59: warning: unused parameter 's' [-Wunused-parameter] htx_set_comp_reshdr(struct comp_state *st, struct stream *s, struct http_msg *msg) ~~~~~~~~~~~~~~~^ src/flt_http_comp.c: In function 'htx_select_comp_reqhdr': src/flt_http_comp.c:714:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] while (toklen < ctx.value.len && HTTP_IS_TOKEN(*(ctx.value.ptr + toklen))) ^ src/flt_http_comp.c: In function 'http_select_comp_reshdr': src/flt_http_comp.c:879:42: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (read_freq_ctr(&global.comp_bps_in) > global.comp_rate_lim) ^ src/flt_http_comp.c: In function 'htx_select_comp_reshdr': src/flt_http_comp.c:957:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (ctx.value.len >= comp_type->name_len && ^~ src/flt_http_comp.c:975:42: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (read_freq_ctr(&global.comp_bps_in) > global.comp_rate_lim) ^ src/flt_http_comp.c:988:3: warning: label 'deinit_comp_ctx' defined but not used [-Wunused-label] deinit_comp_ctx: ^~~~~~~~~~~~~~~ src/flt_http_comp.c: In function 'http_compression_buffer_add_data': src/flt_http_comp.c:1080:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (block1 > b_contig_data(in, in_out)) ^ src/flt_http_comp.c: In function 'http_compression_buffer_end': src/flt_http_comp.c:1164:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (left > co_data(chn)) ^ src/flt_http_comp.c: In function 'parse_compression_options': src/flt_http_comp.c:1268:44: warning: unused parameter 'section' [-Wunused-parameter] parse_compression_options(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/flt_http_comp.c:1269:20: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/flt_http_comp.c: In function 'parse_http_comp_flt': src/flt_http_comp.c:1332:28: warning: unused parameter 'args' [-Wunused-parameter] parse_http_comp_flt(char **args, int *cur_arg, struct proxy *px, ~~~~~~~^~~~ src/flt_http_comp.c:1333:63: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ~~~~~~^~~~~~~ src/flt_http_comp.c: In function 'smp_fetch_res_comp': src/flt_http_comp.c:1411:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_res_comp(const struct arg *args, struct sample *smp, const char *kw, ~~~~~~~~~~~~~~~~~~^~~~ src/flt_http_comp.c:1411:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_res_comp(const struct arg *args, struct sample *smp, const char *kw, ~~~~~~~~~~~~^~ src/flt_http_comp.c:1412:12: warning: unused parameter 'private' [-Wunused-parameter] void *private) ~~~~~~^~~~~~~ src/flt_http_comp.c: In function 'smp_fetch_res_comp_algo': src/flt_http_comp.c:1425:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_res_comp_algo(const struct arg *args, struct sample *smp, ~~~~~~~~~~~~~~~~~~^~~~ src/flt_http_comp.c:1426:16: warning: unused parameter 'kw' [-Wunused-parameter] const char *kw, void *private) ~~~~~~~~~~~~^~ src/flt_http_comp.c:1426:26: warning: unused parameter 'private' [-Wunused-parameter] const char *kw, void *private) ~~~~~~^~~~~~~ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from include/common/buffer.h:30, from src/flt_http_comp.c:13: src/flt_http_comp.c: At top level: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_http_comp.c:1458:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'void (*)(struct flt_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_http_comp.c:1467:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &filter_kws); ^~~~~~~~~ src/flt_http_comp.c:1471:3: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.comp", smp_fetch_res_comp, 0, NULL, SMP_T_BOOL, SMP_USE_HRSHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/flt_http_comp.c:1472:3: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.comp_algo", smp_fetch_res_comp_algo, 0, NULL, SMP_T_STR, SMP_USE_HRSHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from include/common/buffer.h:30, from src/flt_http_comp.c:13: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_http_comp.c:1477:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ In file included from include/proto/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from src/http_fetch.c:39: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/log.h:37, from src/http_fetch.c:39: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/proto/proto_http.h:29, from src/http_fetch.c:41: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/http_fetch.c:41: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/http_fetch.c: In function 'smp_prefetch_htx': src/http_fetch.c:170:68: warning: unused parameter 'args' [-Wunused-parameter] struct htx *smp_prefetch_htx(struct sample *smp, const struct arg *args) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c: In function 'smp_prefetch_http': src/http_fetch.c:315:37: warning: unused parameter 'px' [-Wunused-parameter] int smp_prefetch_http(struct proxy *px, struct stream *s, unsigned int opt, ~~~~~~~~~~~~~~^~ src/http_fetch.c:316:41: warning: unused parameter 'args' [-Wunused-parameter] const struct arg *args, struct sample *smp, int req_vol) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c: In function 'smp_fetch_meth': src/http_fetch.c:419:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:419:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_rqver': src/http_fetch.c:470:84: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_rqver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:470:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_rqver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_stver': src/http_fetch.c:509:84: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_stver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:509:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_stver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_stcode': src/http_fetch.c:552:85: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_stcode(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:552:95: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_stcode(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_uniqueid': src/http_fetch.c:588:49: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_uniqueid(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:588:87: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_uniqueid(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:588:97: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_uniqueid(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_hdrs': src/http_fetch.c:611:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_hdrs(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:611:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_hdrs(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_hdrs_bin': src/http_fetch.c:677:87: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_hdrs_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:677:97: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_hdrs_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_body': src/http_fetch.c:887:14: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if (block1 > b_wrap(&msg->chn->buf) - body) ^ src/http_fetch.c:840:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_body(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:840:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_body(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_body_len': src/http_fetch.c:916:87: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_body_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:916:97: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_body_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_body_size': src/http_fetch.c:967:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_body_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:967:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_body_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_url': src/http_fetch.c:1017:82: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_url(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1017:92: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_url_ip': src/http_fetch.c:1047:85: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_url_ip(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1047:95: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url_ip(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_url_port': src/http_fetch.c:1079:87: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_url_port(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1079:97: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url_port(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_fhdr': src/http_fetch.c:1117:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_fhdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1117:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_fhdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_fhdr_cnt': src/http_fetch.c:1219:87: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_fhdr_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1219:97: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_fhdr_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_hdr_names': src/http_fetch.c:1275:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_hdr_names(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1275:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_hdr_names(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_hdr': src/http_fetch.c:1345:82: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1345:92: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_hdr_cnt': src/http_fetch.c:1447:86: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_hdr_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1447:96: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_hdr_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_path': src/http_fetch.c:1556:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_path(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1556:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_path(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_base32': src/http_fetch.c:1696:85: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_base32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1696:95: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_base32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_query': src/http_fetch.c:1819:84: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_query(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1819:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_query(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_proto_http': src/http_fetch.c:1859:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_proto_http(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1859:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_proto_http(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_http_first_req': src/http_fetch.c:1882:55: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_http_first_req(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1882:93: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_http_first_req(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1882:103: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_http_first_req(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_http_auth': src/http_fetch.c:1890:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_http_auth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1890:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_http_auth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_http_auth_grp': src/http_fetch.c:1917:92: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_http_auth_grp(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1917:102: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_http_auth_grp(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_req_hdr': src/http_fetch.c:1959:94: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_req_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1959:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_req_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_res_hdr': src/http_fetch.c:1983:94: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_res_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:1983:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_res_hdr(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_req_method': src/http_fetch.c:2005:59: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_capture_req_method(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:2005:97: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_req_method(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:2005:107: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_req_method(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_req_uri': src/http_fetch.c:2031:56: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_capture_req_uri(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:2031:94: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_req_uri(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:2031:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_req_uri(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_req_ver': src/http_fetch.c:2069:56: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_capture_req_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:2069:94: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_req_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:2069:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_req_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_capture_res_ver': src/http_fetch.c:2091:56: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_capture_res_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:2091:94: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_capture_res_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:2091:104: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_capture_res_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_cookie': src/http_fetch.c:2255:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (ctx->vlen < args->data.str.data + 1) ^ src/http_fetch.c:2120:85: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_cookie(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:2120:95: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_cookie(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_cookie_cnt': src/http_fetch.c:2376:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (ctx.vlen < args->data.str.data + 1) ^ src/http_fetch.c:2292:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_cookie_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:2292:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_cookie_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_param': src/http_fetch.c:2425:90: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_param(char delim, const char *name, int name_len, const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:2425:128: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_param(char delim, const char *name, int name_len, const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:2425:138: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_param(char delim, const char *name, int name_len, const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: In function 'smp_fetch_body_param': src/http_fetch.c:2611:15: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if (block1 > b_wrap(&msg->chn->buf) - body) ^ src/http_fetch.c: In function 'smp_fetch_url32': src/http_fetch.c:2664:84: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_url32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/http_fetch.c:2664:94: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_url32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/http_fetch.c: At top level: src/http_fetch.c:2810:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "base", smp_fetch_base, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2811:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "base32", smp_fetch_base32, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2812:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "base32+src", smp_fetch_base32_src, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2815:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.req.hdr", smp_fetch_capture_req_hdr, ARG1(1,SINT), NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2818:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.req.method", smp_fetch_capture_req_method, 0, NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2819:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.req.uri", smp_fetch_capture_req_uri, 0, NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2820:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.req.ver", smp_fetch_capture_req_ver, 0, NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2822:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.res.hdr", smp_fetch_capture_res_hdr, ARG1(1,SINT), NULL, SMP_T_STR, SMP_USE_HRSHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2823:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "capture.res.ver", smp_fetch_capture_res_ver, 0, NULL, SMP_T_STR, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2829:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2830:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cookie", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV|SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2831:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cook_cnt", smp_fetch_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2832:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cook_val", smp_fetch_cookie_val, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2838:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hdr", smp_fetch_hdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRQHV|SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2839:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hdr_cnt", smp_fetch_hdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2840:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hdr_ip", smp_fetch_hdr_ip, ARG2(0,STR,SINT), val_hdr, SMP_T_IPV4, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2841:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hdr_val", smp_fetch_hdr_val, ARG2(0,STR,SINT), val_hdr, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2843:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "http_auth", smp_fetch_http_auth, ARG1(1,USR), NULL, SMP_T_BOOL, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2844:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "http_auth_group", smp_fetch_http_auth_grp, ARG1(1,USR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2845:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "http_first_req", smp_fetch_http_first_req, 0, NULL, SMP_T_BOOL, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2846:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "method", smp_fetch_meth, 0, NULL, SMP_T_METH, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2847:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "path", smp_fetch_path, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2848:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "query", smp_fetch_query, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2851:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.proto_http", smp_fetch_proto_http, 0, NULL, SMP_T_BOOL, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2852:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_proto_http", smp_fetch_proto_http, 0, NULL, SMP_T_BOOL, SMP_USE_HRQHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2855:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ver", smp_fetch_rqver, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2856:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ver", smp_fetch_rqver, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2858:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.body", smp_fetch_body, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2859:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.body_len", smp_fetch_body_len, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2860:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.body_size", smp_fetch_body_size, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2861:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.body_param", smp_fetch_body_param, ARG1(0,STR), NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2863:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdrs", smp_fetch_hdrs, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2864:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdrs_bin", smp_fetch_hdrs_bin, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2867:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.ver", smp_fetch_stver, 0, NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2868:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "resp_ver", smp_fetch_stver, 0, NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2871:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.cook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2872:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.cook_cnt", smp_fetch_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2873:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.cook_val", smp_fetch_cookie_val, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2875:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.fhdr", smp_fetch_fhdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2876:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.fhdr_cnt", smp_fetch_fhdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2877:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr", smp_fetch_hdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2878:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr_cnt", smp_fetch_hdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2879:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr_ip", smp_fetch_hdr_ip, ARG2(0,STR,SINT), val_hdr, SMP_T_IPV4, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2880:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr_names", smp_fetch_hdr_names, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2881:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.hdr_val", smp_fetch_hdr_val, ARG2(0,STR,SINT), val_hdr, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2884:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.cook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2885:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.cook_cnt", smp_fetch_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2886:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.cook_val", smp_fetch_cookie_val, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2888:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.fhdr", smp_fetch_fhdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2889:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.fhdr_cnt", smp_fetch_fhdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2890:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.hdr", smp_fetch_hdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2891:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.hdr_cnt", smp_fetch_hdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2892:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.hdr_ip", smp_fetch_hdr_ip, ARG2(0,STR,SINT), val_hdr, SMP_T_IPV4, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2893:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.hdr_names", smp_fetch_hdr_names, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2894:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.hdr_val", smp_fetch_hdr_val, ARG2(0,STR,SINT), val_hdr, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2897:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "scook", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2898:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "scook_cnt", smp_fetch_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2899:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "scook_val", smp_fetch_cookie_val, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2900:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "set-cookie", smp_fetch_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRSHV }, /* deprecated */ ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2903:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "shdr", smp_fetch_hdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2904:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "shdr_cnt", smp_fetch_hdr_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2905:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "shdr_ip", smp_fetch_hdr_ip, ARG2(0,STR,SINT), val_hdr, SMP_T_IPV4, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2906:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "shdr_val", smp_fetch_hdr_val, ARG2(0,STR,SINT), val_hdr, SMP_T_SINT, SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2908:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "status", smp_fetch_stcode, 0, NULL, SMP_T_SINT, SMP_USE_HRSHP }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2909:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "unique-id", smp_fetch_uniqueid, 0, NULL, SMP_T_STR, SMP_SRC_L4SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2910:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url", smp_fetch_url, 0, NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2911:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url32", smp_fetch_url32, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2912:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url32+src", smp_fetch_url32_src, 0, NULL, SMP_T_BIN, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2913:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url_ip", smp_fetch_url_ip, 0, NULL, SMP_T_IPV4, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2914:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url_port", smp_fetch_url_port, 0, NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2915:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "url_param", smp_fetch_url_param, ARG2(0,STR,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2916:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "urlp" , smp_fetch_url_param, ARG2(0,STR,STR), NULL, SMP_T_STR, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2917:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "urlp_val", smp_fetch_url_param_val, ARG2(0,STR,STR), NULL, SMP_T_SINT, SMP_USE_HRQHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:26, from include/common/memory.h:34, from include/common/chunk.h:30, from src/http_fetch.c:20: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_fetch.c:2921:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_load_cert': src/ssl_sock.c:3541:38: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(fp, sizeof(fp), "%s/%s", path, dp); ^ src/ssl_sock.c:3541:7: note: 'snprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097 snprintf(fp, sizeof(fp), "%s/%s", path, dp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/dns.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ CC src/stick_table.o CC src/mux_h1.o In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/common/standard.h:36, from src/stick_table.c:21: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/proto/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/standard.h:38, from src/stick_table.c:21: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from src/stick_table.c:21: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/stick_table.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/common/ist.h: In function 'ist2str': include/common/ist.h:477: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/proto/log.h:37, from include/common/cfgparse.h:30, from src/dns.c:22: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ In file included from include/types/proxy.h:32, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31, from src/dns.c:22: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/channel.h:32, from src/dns.c:35: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/dns.c:35: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503: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/queue.h:35, from include/proto/server.h:35, from src/dns.c:41: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35, from src/dns.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/dns.c:41: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ src/http_fetch.c: In function 'smp_fetch_fhdr': src/http_fetch.c:1213:1: error: unrecognizable insn: } ^ (insn 52 51 7 7 (set (mem/f/j:SI (plus:SI (reg/v/f:SI 206 [ smp ]) (const_int 28 [0x1c])) [25 smp_65(D)->ctx.a+0 S4 A32]) (plus:SI (reg:SI 25 r25) (const:SI (unspec:SI [ (symbol_ref:SI ("static_http_hdr_ctx") [flags 0xaa] ) ] UNSPEC_TLS_OFF)))) "src/http_fetch.c":1131 -1 (nil)) during RTL pass: vregs src/http_fetch.c:1213:1: internal compiler error: in extract_insn, at recog.c:2304 In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/dns.c:45: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/dns.c:22: src/dns.c: At top level: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/dns.c:52:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(dns_answer_item_pool, "dns_answer_item", sizeof(struct dns_answer_item)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/dns.c:53:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(dns_resolution_pool, "dns_resolution", sizeof(struct dns_resolution)); ^~~~~~~~~~~~~~~~~~~ src/dns.c: In function 'dns_build_query': src/dns.c:224:72: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (sizeof(dns_hdr) + sizeof(qinfo) + sizeof(edns) + hostname_dn_len >= bufsize) ^~ src/dns.c: In function 'dns_check_dns_response': src/dns.c:500:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int16_t' {aka 'short int'} [-Wsign-compare] if (srv->srvrq == srvrq && srv->svc_port == item->port && ^~ src/dns.c:532:46: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int16_t' {aka 'short int'} [-Wsign-compare] if (srv->srvrq == srvrq && srv->svc_port == item->port && ^~ src/dns.c:541:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv->uweight != ha_weight) { ^~ src/dns.c: In function 'dns_resolve_recv': src/dns.c:1513:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (buflen > resolvers->accepted_payload_size) { ^ src/dns.c: In function 'dns_process_resolvers': src/dns.c:1726:89: warning: unused parameter 'state' [-Wunused-parameter] static struct task *dns_process_resolvers(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/dns.c: In function 'cli_parse_stat_resolvers': src/dns.c:1971:56: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_stat_resolvers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/dns.c:1971:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_stat_resolvers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/dns.c: At top level: src/dns.c:2062:5: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] cli_parse_stat_resolvers, cli_io_handler_dump_resolvers_to_buffer }, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/dns.c:30: include/types/cli.h:32:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/dns.c:2063:3: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/dns.c:30: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/dns.c:22: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/dns.c:2067:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'void (*)(void (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:262:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_deinit, (fct)) ^~~~~~~~~ src/dns.c:2069:1: note: in expansion of macro 'REGISTER_POST_DEINIT' REGISTER_POST_DEINIT(dns_deinit); ^~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67:10: warning: cast between incompatible function types from 'int (*)(char *, int (*)())' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:96:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:152:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, cfg_register_postparser, (name), (parser)) ^~~~~~~~~ src/dns.c:2070:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("dns runtime resolver", dns_finalize_config); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/common/standard.h:38, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161: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) { ^ make[1]: *** [src/http_fetch.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from include/types/checks.h:21, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161: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/fd.h:32, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/proto/log.h:37, from src/stick_table.c:34: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_h1.c:12: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ In file included from include/proto/channel.h:32, from include/proto/proto_http.h:29, from src/stick_table.c:35: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31, from src/mux_h1.c:12: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/mux_h1.c:15: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:34: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'const unsigned int'} due to unsignedness of other operand [-Wsign-compare] return (htx->used ? htx->tail : -1); ^~ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/proto_http.h:29, from src/stick_table.c:35: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503: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/queue.h:35, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h1.c:22: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h1.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h1.c:22: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from src/stick_table.c:35: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ In file included from src/stick_table.c:37: include/proto/proxy.h: At top level: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/queue.h:35, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/stick_table.c:40: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/stick_table.c:40: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/stick_table.c:40: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ In file included from src/mux_h1.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/connection.h:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from include/proto/stream_interface.h:32, from src/mux_h1.c:27: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492: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:503: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/applet.h:30, from include/proto/stream_interface.h:31, from src/stick_table.c:40: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023: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:1023: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:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/common/cfgparse.h:27, from src/mux_h1.c:12: src/mux_h1.c: At top level: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h1.c:109:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h1c, "h1c", sizeof(struct h1c)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:102:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:123:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:133:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h1.c:110:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h1s, "h1s", sizeof(struct h1s)); ^~~~~~~~~~~~~~~~~~~ src/mux_h1.c: In function 'h1_max_streams': src/mux_h1.c:218:46: warning: unused parameter 'conn' [-Wunused-parameter] static int h1_max_streams(struct connection *conn) ~~~~~~~~~~~~~~~~~~~^~~~ src/mux_h1.c: In function 'h1_add_conn_hdr': src/mux_h1.c:598:41: warning: unused parameter 'h1m' [-Wunused-parameter] static void h1_add_conn_hdr(struct h1m *h1m, struct htx *htx, struct ist value) ~~~~~~~~~~~~^~~ src/mux_h1.c: In function 'h1_set_cli_conn_mode': src/mux_h1.c:622:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if ((h1s->flags & H1S_F_WANT_MSK) < flag) ^ src/mux_h1.c: In function 'h1_set_srv_conn_mode': src/mux_h1.c:679:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if ((h1s->flags & H1S_F_WANT_MSK) < flag) ^ src/mux_h1.c: In function 'h1_capture_bad_message': src/mux_h1.c:882:30: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] (h1m->err_pos >= 0) ? h1m->err_pos : h1m->next, ^~~~~~~~~~~~ src/mux_h1.c: In function 'h1_process_headers': src/mux_h1.c:951:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > (b_size(buf) - global.tune.maxrewrite)) ^ src/mux_h1.c: In function 'h1_process_data': src/mux_h1.c:1077:12: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > data_space) ^ src/mux_h1.c:1081:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/mux_h1.c:12: src/mux_h1.c:1092:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (unlikely(htx_is_empty(htx) && ret == b_data(buf) && ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h1.c:1162:13: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > data_space) ^ src/mux_h1.c:1166:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ src/mux_h1.c:1190:13: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > data_space) ^ src/stick_table.c: In function 'process_table_expire': src/stick_table.c:586:91: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_table_expire(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:1230:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > data_space) ^ src/mux_h1.c:1232:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ src/stick_table.c: In function 'smp_to_stkey': src/stick_table.c:697:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned int *)&smp->data.u.sint = (unsigned int)smp->data.u.sint; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mux_h1.c: In function 'h1_process_input': src/mux_h1.c:1313:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (max < global.tune.maxrewrite) ^ src/stick_table.c: In function 'sample_conv_in_table': src/stick_table.c:868:84: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_in_table(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_bytes_in_rate': src/stick_table.c:895:95: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_bytes_in_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_conn_cnt': src/stick_table.c:932:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_conn_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_conn_cur': src/stick_table.c:968:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_conn_cur(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_conn_rate': src/stick_table.c:1004:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_conn_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_bytes_out_rate': src/stick_table.c:1041:96: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_bytes_out_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpt0': src/stick_table.c:1078:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpt0(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc0': src/stick_table.c:1114:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc0(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc0_rate': src/stick_table.c:1150:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc0_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc1': src/stick_table.c:1187:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc1(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_gpc1_rate': src/stick_table.c:1223:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_gpc1_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_err_cnt': src/stick_table.c:1260:94: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_err_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_err_rate': src/stick_table.c:1296:95: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_err_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_req_cnt': src/stick_table.c:1333:94: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_req_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_http_req_rate': src/stick_table.c:1369:95: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_http_req_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_kbytes_in': src/stick_table.c:1406:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_kbytes_in(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_kbytes_out': src/stick_table.c:1442:92: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_kbytes_out(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_server_id': src/stick_table.c:1478:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_server_id(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/mux_h1.c: In function 'h1_io_cb': src/stick_table.c: In function 'sample_conv_table_sess_cnt': src/mux_h1.c:1891:43: warning: unused parameter 't' [-Wunused-parameter] static struct task *h1_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~^ src/stick_table.c:1514:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_sess_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/mux_h1.c:1891:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h1_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ src/stick_table.c: In function 'sample_conv_table_sess_rate': src/stick_table.c:1550:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_sess_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/mux_h1.c: In function 'h1_timeout_task': src/mux_h1.c:1932:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h1_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/stick_table.c: In function 'sample_conv_table_trackers': src/stick_table.c:1587:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_trackers(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'action_inc_gpc0': src/stick_table.c:1615:77: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_inc_gpc0(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c:1616:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/stick_table.c: In function 'parse_inc_gpc0': src/stick_table.c:1662:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_inc_gpc0(const char **args, int *arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c: In function 'action_inc_gpc1': src/stick_table.c:1697:77: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_inc_gpc1(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c:1698:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/stick_table.c: In function 'parse_inc_gpc1': src/stick_table.c:1744:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_inc_gpc1(const char **args, int *arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/mux_h1.c: In function 'h1_rcv_buf': src/mux_h1.c:2212:77: warning: unused parameter 'count' [-Wunused-parameter] static size_t h1_rcv_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~~~~^~~~~ src/stick_table.c: In function 'action_set_gpt0': src/stick_table.c:1779:77: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_set_gpt0(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c:1780:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/mux_h1.c: In function 'h1_snd_buf': src/mux_h1.c:2233:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h1_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/stick_table.c: In function 'parse_set_gpt0': src/stick_table.c:1820:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_set_gpt0(const char **args, int *arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c: In function 'smp_fetch_table_cnt': src/stick_table.c:1869:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_table_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/stick_table.c:1869:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_table_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_table_avl': src/stick_table.c:1881:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_table_avl(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ In file included from include/common/cfgparse.h:27, from src/mux_h1.c:12: src/mux_h1.c: At top level: src/stick_table.c:1881:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_table_avl(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h1.c:2371:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_htx); ^~~~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_tracked': src/stick_table.c:2012:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_tracked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_get_gpt0': src/stick_table.c:2035:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_get_gpt0(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_get_gpc0': src/stick_table.c:2076:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_get_gpc0(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_get_gpc1': src/stick_table.c:2117:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_get_gpc1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_gpc0_rate': src/stick_table.c:2158:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_gpc0_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_gpc1_rate': src/stick_table.c:2199:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_gpc1_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_inc_gpc0': src/stick_table.c:2239:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_inc_gpc0(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_inc_gpc1': src/stick_table.c:2292:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_inc_gpc1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_clr_gpc0': src/stick_table.c:2345:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_clr_gpc0(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_clr_gpc1': src/stick_table.c:2389:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_clr_gpc1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_conn_cnt': src/stick_table.c:2433:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_conn_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_conn_rate': src/stick_table.c:2474:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_conn_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_src_updt_conn_cnt': src/stick_table.c:2514:85: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_src_updt_conn_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/stick_table.c:2514:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_src_updt_conn_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_conn_cur': src/stick_table.c:2566:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_conn_cur(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_sess_cnt': src/stick_table.c:2605:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_sess_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_sess_rate': src/stick_table.c:2643:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_http_req_cnt': src/stick_table.c:2683:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_http_req_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_http_req_rate': src/stick_table.c:2722:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_http_req_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_http_err_cnt': src/stick_table.c:2762:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_http_err_cnt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_http_err_rate': src/stick_table.c:2801:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_http_err_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_kbytes_in': src/stick_table.c:2841:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_kbytes_in(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_bytes_in_rate': src/stick_table.c:2880:94: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_bytes_in_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_kbytes_out': src/stick_table.c:2920:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_kbytes_out(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_bytes_out_rate': src/stick_table.c:2959:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_bytes_out_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_trackers': src/stick_table.c:2998:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sc_trackers(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'cli_parse_table_req': src/stick_table.c:3391:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_table_req(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stick_table.c: At top level: src/stick_table.c:3624:2: warning: missing initializer for field 'level' of 'struct cli_kw' [-Wmissing-field-initializers] { { "clear", "table", NULL }, "clear table : remove an entry from a table", cli_parse_table_req, cli_io_handler_table, cli_release_show_table, (void *)STK_CLI_ACT_CLR }, ^ In file included from src/stick_table.c:27: include/types/cli.h:34:6: note: 'level' declared here int level; /* this is the level needed to show the keyword usage and to use it */ ^~~~~ src/stick_table.c:3625:2: warning: missing initializer for field 'level' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "table", NULL }, "set table [id] : update or create a table entry's data", cli_parse_table_req, cli_io_handler_table, NULL, (void *)STK_CLI_ACT_SET }, ^ In file included from src/stick_table.c:27: include/types/cli.h:34:6: note: 'level' declared here int level; /* this is the level needed to show the keyword usage and to use it */ ^~~~~ src/stick_table.c:3626:2: warning: missing initializer for field 'level' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "table", NULL }, "show table [id]: report table usage stats or dump this table's contents", cli_parse_table_req, cli_io_handler_table, cli_release_show_table, (void *)STK_CLI_ACT_SHOW }, ^ In file included from src/stick_table.c:27: include/types/cli.h:34:6: note: 'level' declared here int level; /* this is the level needed to show the keyword usage and to use it */ ^~~~~ src/stick_table.c:3627:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stick_table.c:27: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from src/stick_table.c:18: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3630:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/stick_table.c:3633:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3634:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3635:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ In file included from src/stick_table.c:18: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3639:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_conn_keywords_register, &tcp_conn_kws); ^~~~~~~~~ src/stick_table.c:3642:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3643:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3644:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ In file included from src/stick_table.c:18: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3648:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_sess_keywords_register, &tcp_sess_kws); ^~~~~~~~~ src/stick_table.c:3651:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3652:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3653:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ In file included from src/stick_table.c:18: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3657:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_kws); ^~~~~~~~~ src/stick_table.c:3660:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3661:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3662:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ In file included from src/stick_table.c:18: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3666:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_kws); ^~~~~~~~~ src/stick_table.c:3669:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3670:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3671:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ In file included from src/stick_table.c:18: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3675:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/stick_table.c:3678:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc0", parse_inc_gpc0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3679:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-inc-gpc1", parse_inc_gpc1, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3680:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "sc-set-gpt0", parse_set_gpt0, 1 }, ^ In file included from include/proto/http_rules.h:27, from src/stick_table.c:33: include/types/action.h:176:8: note: 'private' declared here void *private; ^~~~~~~ In file included from src/stick_table.c:18: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3684:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_kws); ^~~~~~~~~ src/stick_table.c:3698:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3699:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3700:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3701:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3702:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_conn_cnt", smp_fetch_sc_conn_cnt, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3703:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_conn_cur", smp_fetch_sc_conn_cur, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3704:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_conn_rate", smp_fetch_sc_conn_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3705:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_get_gpt0", smp_fetch_sc_get_gpt0, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3706:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_get_gpc0", smp_fetch_sc_get_gpc0, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3707:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_get_gpc1", smp_fetch_sc_get_gpc1, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3708:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3709:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3710:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3711:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_http_err_rate", smp_fetch_sc_http_err_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3712:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3713:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_http_req_rate", smp_fetch_sc_http_req_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3714:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3715:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3716:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_kbytes_in", smp_fetch_sc_kbytes_in, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3717:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_kbytes_out", smp_fetch_sc_kbytes_out, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3718:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_sess_cnt", smp_fetch_sc_sess_cnt, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3719:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_sess_rate", smp_fetch_sc_sess_rate, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3720:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_tracked", smp_fetch_sc_tracked, ARG2(1,SINT,TAB), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3721:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc_trackers", smp_fetch_sc_trackers, ARG2(1,SINT,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3722:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3723:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3724:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3725:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3726:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_conn_cnt", smp_fetch_sc_conn_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3727:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_conn_cur", smp_fetch_sc_conn_cur, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3728:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_conn_rate", smp_fetch_sc_conn_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3729:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_get_gpt0", smp_fetch_sc_get_gpt0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3730:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_get_gpc0", smp_fetch_sc_get_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3731:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3732:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3733:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3734:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3735:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3736:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3737:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_http_req_rate", smp_fetch_sc_http_req_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3738:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3739:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3740:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_kbytes_in", smp_fetch_sc_kbytes_in, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3741:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_kbytes_out", smp_fetch_sc_kbytes_out, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3742:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_sess_cnt", smp_fetch_sc_sess_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3743:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_sess_rate", smp_fetch_sc_sess_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3744:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_tracked", smp_fetch_sc_tracked, ARG1(0,TAB), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3745:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc0_trackers", smp_fetch_sc_trackers, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3746:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3747:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3748:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3749:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3750:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_conn_cnt", smp_fetch_sc_conn_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3751:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_conn_cur", smp_fetch_sc_conn_cur, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3752:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_conn_rate", smp_fetch_sc_conn_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3753:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_get_gpt0", smp_fetch_sc_get_gpt0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3754:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_get_gpc0", smp_fetch_sc_get_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3755:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3756:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3757:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3758:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3759:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3760:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3761:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_http_req_rate", smp_fetch_sc_http_req_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3762:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3763:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3764:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_kbytes_in", smp_fetch_sc_kbytes_in, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3765:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_kbytes_out", smp_fetch_sc_kbytes_out, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3766:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_sess_cnt", smp_fetch_sc_sess_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3767:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_sess_rate", smp_fetch_sc_sess_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3768:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_tracked", smp_fetch_sc_tracked, ARG1(0,TAB), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3769:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc1_trackers", smp_fetch_sc_trackers, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3770:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3771:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3772:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3773:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3774:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_conn_cnt", smp_fetch_sc_conn_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3775:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_conn_cur", smp_fetch_sc_conn_cur, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3776:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_conn_rate", smp_fetch_sc_conn_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3777:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_get_gpt0", smp_fetch_sc_get_gpt0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3778:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_get_gpc0", smp_fetch_sc_get_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3779:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3780:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3781:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3782:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3783:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3784:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3785:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_http_req_rate", smp_fetch_sc_http_req_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3786:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3787:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3788:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_kbytes_in", smp_fetch_sc_kbytes_in, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3789:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_kbytes_out", smp_fetch_sc_kbytes_out, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3790:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_sess_cnt", smp_fetch_sc_sess_cnt, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3791:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_sess_rate", smp_fetch_sc_sess_rate, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3792:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_tracked", smp_fetch_sc_tracked, ARG1(0,TAB), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3793:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "sc2_trackers", smp_fetch_sc_trackers, ARG1(0,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3794:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_bytes_in_rate", smp_fetch_sc_bytes_in_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3795:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_bytes_out_rate", smp_fetch_sc_bytes_out_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3796:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_clr_gpc0", smp_fetch_sc_clr_gpc0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3797:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_clr_gpc1", smp_fetch_sc_clr_gpc1, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3798:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_conn_cnt", smp_fetch_sc_conn_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3799:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_conn_cur", smp_fetch_sc_conn_cur, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3800:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_conn_rate", smp_fetch_sc_conn_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3801:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_get_gpt0", smp_fetch_sc_get_gpt0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3802:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_get_gpc0", smp_fetch_sc_get_gpc0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3803:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_get_gpc1", smp_fetch_sc_get_gpc1, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3804:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_gpc0_rate", smp_fetch_sc_gpc0_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3805:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_gpc1_rate", smp_fetch_sc_gpc1_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3806:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_err_cnt", smp_fetch_sc_http_err_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3807:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_err_rate", smp_fetch_sc_http_err_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3808:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_req_cnt", smp_fetch_sc_http_req_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3809:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_http_req_rate", smp_fetch_sc_http_req_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3810:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_inc_gpc0", smp_fetch_sc_inc_gpc0, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3811:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_inc_gpc1", smp_fetch_sc_inc_gpc1, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3812:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_kbytes_in", smp_fetch_sc_kbytes_in, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3813:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_kbytes_out", smp_fetch_sc_kbytes_out, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3814:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_sess_cnt", smp_fetch_sc_sess_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3815:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_sess_rate", smp_fetch_sc_sess_rate, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3816:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_updt_conn_cnt", smp_fetch_src_updt_conn_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_L4CLI, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3817:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "table_avl", smp_fetch_table_avl, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3818:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "table_cnt", smp_fetch_table_cnt, ARG1(1,TAB), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from src/stick_table.c:18: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3822:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_fetch_keywords); ^~~~~~~~~ src/stick_table.c:3826:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "in_table", sample_conv_in_table, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3827:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_bytes_in_rate", sample_conv_table_bytes_in_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3828:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_bytes_out_rate", sample_conv_table_bytes_out_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3829:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_conn_cnt", sample_conv_table_conn_cnt, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3830:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_conn_cur", sample_conv_table_conn_cur, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3831:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_conn_rate", sample_conv_table_conn_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3832:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_gpt0", sample_conv_table_gpt0, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3833:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_gpc0", sample_conv_table_gpc0, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3834:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_gpc1", sample_conv_table_gpc1, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3835:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_gpc0_rate", sample_conv_table_gpc0_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3836:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_gpc1_rate", sample_conv_table_gpc1_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3837:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_http_err_cnt", sample_conv_table_http_err_cnt, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3838:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_http_err_rate", sample_conv_table_http_err_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3839:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_http_req_cnt", sample_conv_table_http_req_cnt, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3840:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_http_req_rate", sample_conv_table_http_req_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3841:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_kbytes_in", sample_conv_table_kbytes_in, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3842:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_kbytes_out", sample_conv_table_kbytes_out, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3843:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_server_id", sample_conv_table_server_id, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3844:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_sess_cnt", sample_conv_table_sess_cnt, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3845:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_sess_rate", sample_conv_table_sess_rate, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:3846:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "table_trackers", sample_conv_table_trackers, ARG1(1,TAB), NULL, SMP_T_ANY, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/applet.h:27, from include/types/cli.h:24, from src/stick_table.c:27: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ In file included from src/stick_table.c:18: include/common/initcall.h:67: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:78:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:90:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3850:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ make[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/haproxy-1.9.1' make: *** [/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/haproxy-1.9.1/.stamp_built] Error 2 make: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/buildroot'