<86>Sep 17 09:22:06 userdel[3243268]: delete user 'rooter' <86>Sep 17 09:22:06 groupadd[3243288]: group added to /etc/group: name=rooter, GID=1838 <86>Sep 17 09:22:06 groupadd[3243288]: group added to /etc/gshadow: name=rooter <86>Sep 17 09:22:06 groupadd[3243288]: new group: name=rooter, GID=1838 <86>Sep 17 09:22:06 useradd[3243304]: new user: name=rooter, UID=1838, GID=1838, home=/root, shell=/bin/bash <86>Sep 17 09:22:06 userdel[3243323]: delete user 'builder' <86>Sep 17 09:22:06 userdel[3243323]: removed group 'builder' owned by 'builder' <86>Sep 17 09:22:06 userdel[3243323]: removed shadow group 'builder' owned by 'builder' <86>Sep 17 09:22:06 groupadd[3243335]: group added to /etc/group: name=builder, GID=1839 <86>Sep 17 09:22:06 groupadd[3243335]: group added to /etc/gshadow: name=builder <86>Sep 17 09:22:06 groupadd[3243335]: new group: name=builder, GID=1839 <86>Sep 17 09:22:06 useradd[3243344]: new user: name=builder, UID=1839, GID=1839, home=/usr/src, shell=/bin/bash <13>Sep 17 09:22:09 rpmi: libpcre2-10.33-alt1.1 sisyphus+227856.100.1.2 1555786372 installed <13>Sep 17 09:22:09 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Sep 17 09:22:09 rpmi: lua5.3-5.3.5-alt2 p9+237798.100.1.1 1568845217 installed <13>Sep 17 09:22:09 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Sep 17 09:22:09 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Sep 17 09:22:09 rpmi: libsystemd-1:247.13-alt1 p9+313189.100.1.1 1673457063 installed <13>Sep 17 09:22:09 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Sep 17 09:22:09 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Sep 17 09:22:09 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 17 09:22:09 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 17 09:22:10 rpmi: ca-certificates-2021.10.06-alt1 p9+289862.100.1.1 1637033643 installed <13>Sep 17 09:22:10 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Sep 17 09:22:10 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Sep 17 09:22:10 rpmi: libcrypto1.1-1.1.1u-alt1 p9+322202.100.1.1 1685863283 installed <13>Sep 17 09:22:10 rpmi: libssl1.1-1.1.1u-alt1 p9+322202.100.1.1 1685863283 installed <13>Sep 17 09:22:10 rpmi: libssl-devel-1.1.1u-alt1 p9+322202.100.1.1 1685863283 installed <13>Sep 17 09:22:10 rpmi: libsystemd-devel-1:247.13-alt1 p9+313189.100.1.1 1673457063 installed <13>Sep 17 09:22:10 rpmi: liblua5.3-devel-5.3.5-alt2 p9+237798.100.1.1 1568845217 installed <13>Sep 17 09:22:10 rpmi: libpcre2-devel-10.33-alt1.1 sisyphus+227856.100.1.2 1555786372 installed <13>Sep 17 09:22:10 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/haproxy-2.0.20-alt1.nosrc.rpm (w1.gzdio) Installing haproxy-2.0.20-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.18873 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf haproxy-2.0.20 + echo 'Source #0 (haproxy-2.0.20.tar):' Source #0 (haproxy-2.0.20.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/haproxy-2.0.20.tar + cd haproxy-2.0.20 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.18873 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd haproxy-2.0.20 + regparm_opts=USE_REGPARM=1 ++ pcre2-config --cflags + make -j16 CPU=generic TARGET=linux-glibc USE_OPENSSL=1 USE_PCRE2=1 USE_ZLIB=1 USE_SYSTEMD=1 USE_LUA=1 USE_REGPARM=1 PREFIX=/usr ADDINC= 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' EXTRA_OBJS=contrib/prometheus-exporter/service-prometheus.o make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/namespace.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from src/namespace.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 'long 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 src/namespace.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from src/namespace.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from src/namespace.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from src/namespace.c:17: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/namespace.c:17: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ src/namespace.c: In function 'netns_sig_stop': src/namespace.c:43:48: warning: unused parameter 'sh' [-Wunused-parameter] static void netns_sig_stop(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/proto/log.h:30, from src/namespace.c:17: src/namespace.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(const char *, int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:314:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, hap_register_build_opts, (str), 0) ^~~~~~~~~ src/namespace.c:131:1: note: in expansion of macro 'REGISTER_BUILD_OPTS' REGISTER_BUILD_OPTS("Built with network namespace support."); ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/ev_poll.o 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/ev_poll.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/global.h:33, from src/ev_poll.c:26: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/ev_poll.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/ev_poll.c: In function '_do_poll': src/ev_poll.c:166:44: warning: comparison of integer expressions of different signedness: 'long 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 'long unsigned int' [-Wsign-compare] for (count = 0, fd = fds * 8*sizeof(**fd_evts); count < 8*sizeof(**fd_evts) && fd < maxfd; count++, fd++) { ^ src/ev_poll.c:91:45: warning: unused parameter 'p' [-Wunused-parameter] REGPRM3 static void _do_poll(struct poller *p, int exp, int wake) ~~~~~~~~~~~~~~~^ src/ev_poll.c: In function '_do_test': src/ev_poll.c:307:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ~~~~~~~~~~~~~~~^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/ev_epoll.o In file included from include/common/standard.h:36, from src/ev_epoll.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/ev_epoll.c:21: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/ev_epoll.c:23: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/global.h:33, from src/ev_epoll.c:26: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/ev_epoll.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/ev_epoll.c: In function '_do_poll': src/ev_epoll.c:106:45: warning: unused parameter 'p' [-Wunused-parameter] REGPRM3 static void _do_poll(struct poller *p, int exp, int wake) ~~~~~~~~~~~~~~~^ src/ev_epoll.c: In function '_do_test': src/ev_epoll.c:299:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ~~~~~~~~~~~~~~~^ src/ev_epoll.c: In function '_do_fork': src/ev_epoll.c:316:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_fork(struct poller *p) ~~~~~~~~~~~~~~~^ src/ev_epoll.c: In function '_do_register': src/ev_epoll.c:340:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < MAX_THREADS; i++) ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/hlua_fcn.o In file included from include/common/standard.h:36, from include/common/time.h:31, from src/hlua_fcn.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/time.h:31, from src/hlua_fcn.c:21: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/hlua_fcn.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto_http.h:27, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/cli.h:24, from src/hlua_fcn.c:24: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/cli.h:24, from src/hlua_fcn.c:24: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from src/hlua_fcn.c:30: 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/hlua_fcn.c:30: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ src/hlua_fcn.c: In function 'hlua_concat_add': src/hlua_fcn.c:397:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] while (b->size - b->len < l) { ^ src/hlua_fcn.c: In function 'hlua_error': src/hlua_fcn.c:671:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] } else if (len >= sizeof(buf)) ^~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/flt_http_comp.o 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 'long 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:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/flt_http_comp.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/flt_http_comp.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/flt_http_comp.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_http_comp.c:14: 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/flt_http_comp.c:15: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/filters.h:30, from src/flt_http_comp.c:26: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/flt_http_comp.c:29: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/flt_http_comp.c:13: src/flt_http_comp.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136: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:237: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:338:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (len > block) ^ src/flt_http_comp.c:305: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:361: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:401: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:429:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:536: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:754:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:934: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:1027:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (ctx.value.len >= comp_type->name_len && ^~ src/flt_http_comp.c:1045: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:1058: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:1150:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:1234:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (left > co_data(chn)) ^ src/flt_http_comp.c: In function 'parse_compression_options': src/flt_http_comp.c:1338:44: warning: unused parameter 'section' [-Wunused-parameter] parse_compression_options(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/flt_http_comp.c:1339: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:1402:28: warning: unused parameter 'args' [-Wunused-parameter] parse_http_comp_flt(char **args, int *cur_arg, struct proxy *px, ~~~~~~~^~~~ src/flt_http_comp.c:1403: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:1481: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:1481: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:1482: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:1495:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_res_comp_algo(const struct arg *args, struct sample *smp, ~~~~~~~~~~~~~~~~~~^~~~ src/flt_http_comp.c:1496:16: warning: unused parameter 'kw' [-Wunused-parameter] const char *kw, void *private) ~~~~~~~~~~~~^~ src/flt_http_comp.c:1496:26: warning: unused parameter 'private' [-Wunused-parameter] const char *kw, void *private) ~~~~~~^~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/flt_http_comp.c:13: src/flt_http_comp.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_http_comp.c:1528:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_http_comp.c:1537:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &filter_kws); ^~~~~~~~~ src/flt_http_comp.c:1541: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:1542: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:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/flt_http_comp.c:13: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_http_comp.c:1547:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/haproxy.o 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: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 'long 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/haproxy.c:78: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:78: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/haproxy.c:78: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:78: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/haproxy.c:78: 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/channel.h:32, from src/haproxy.c:109: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/haproxy.c:109: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/haproxy.c:112: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/haproxy.c:112: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:123: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/haproxy.c: In function 'sig_pause': src/haproxy.c:808: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:817: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:825: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:871: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:1093:39: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if (totlen / sizeof(int) + got_fd > fd_nb) { ^ src/haproxy.c: In function 'compute_ideal_maxpipes': src/haproxy.c:1438:43: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] max = cur->fullconn ? cur->fullconn : global.maxconn; ^~~~~~~~~~~~~~ src/haproxy.c: In function 'manage_global_listener_queue': src/haproxy.c:2875: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:2875: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:3173:21: warning: comparison of integer expressions of different signedness: 'rlim_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (limit.rlim_cur < global.maxsock) { ^ src/haproxy.c:3260:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] proc < MAX_PROCS && /* only the first 32/64 processes may be pinned */ ^ src/haproxy.c:3511:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (i < MAX_THREADS && /* only the first 32/64 threads may be pinned */ ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' 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 'long 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:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/server.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/server.c:19: 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:34: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from src/server.c:34: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:44: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/server.c:44: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/server.c: At top level: src/server.c:71:1: warning: missing initializer for field 'rwlock' of 'struct dict' [-Wmissing-field-initializers] }; ^ In file included from include/common/mini-clist.h:183, from include/common/cfgparse.h:28, from src/server.c:19: include/types/dict.h:16:31: note: 'rwlock' declared here __decl_hathreads(HA_RWLOCK_T rwlock); ^~~~~~ include/common/hathreads.h:267:32: note: in definition of macro '__decl_hathreads' #define __decl_hathreads(decl) decl ^~~~ src/server.c: In function 'srv_parse_addr': src/server.c:260: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:306:41: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_agent_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:306:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_agent_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:307:48: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:307: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:314:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_backup(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:314:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_backup(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:315:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:315: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:322:35: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:322:46: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:323:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:323: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:330:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:330:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:331:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:331:93: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_check_via_socks4': src/server.c:338:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_check_via_socks4(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:338:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_check_via_socks4(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:339:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:339: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:347: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:365:38: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_disabled(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:365:49: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_disabled(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:366:45: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:366: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:376:37: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_enabled(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:376:48: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_enabled(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:377:44: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:377:84: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_max_reuse': src/server.c:386:73: warning: unused parameter 'curproxy' [-Wunused-parameter] static int srv_parse_max_reuse(char **args, int *cur_arg, struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_pool_purge_delay': src/server.c:400: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:432: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:485:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_no_agent_check': src/server.c:526:44: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_agent_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:526:55: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_agent_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:527:52: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:527: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:538:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_backup(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:538:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_backup(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:539:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:539: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:546:38: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:546:49: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:547:45: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:547: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:556:49: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_check_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:556:60: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_check_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:557:56: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:557:96: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_send_proxy': src/server.c:571:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:571:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:572:50: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:572: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:578:46: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_send_proxy_v2(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:578:57: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_send_proxy_v2(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:579:53: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:579:93: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_no_tfo': src/server.c:585:36: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_no_tfo(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:585:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_no_tfo(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:586:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:586:83: 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:593:39: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_non_stick(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:593:50: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_non_stick(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:594:46: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:594:86: warning: unused parameter 'err' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: In function 'srv_parse_proto': src/server.c:608: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:627: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:698: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:716:40: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:716:51: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:717:47: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:717: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:723:43: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_send_proxy_v2(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:723:54: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_send_proxy_v2(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:724:50: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:724: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:732: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:904:35: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_stick(char **args, int *cur_arg, ~~~~~~~^~~~ src/server.c:904:46: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_stick(char **args, int *cur_arg, ~~~~~^~~~~~~ src/server.c:905:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c:905: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:913:42: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_socks4': src/server.c:931:43: warning: unused parameter 'curproxy' [-Wunused-parameter] struct proxy *curproxy, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~~~~~~~ src/server.c: In function 'srv_parse_tfo': src/server.c:980:33: warning: unused parameter 'args' [-Wunused-parameter] static int srv_parse_tfo(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~~ src/server.c:980:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int srv_parse_tfo(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~^~~~~~~ src/server.c:980:67: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tfo(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/server.c:980:101: warning: unused parameter 'err' [-Wunused-parameter] static int srv_parse_tfo(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~^~~ src/server.c: At top level: src/server.c:1379: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:359: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:109:10: warning: cast between incompatible function types from 'void (*)(struct srv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/server.c:1382:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ src/server.c: In function 'server_finalize_init': src/server.c:1918:1: warning: label 'err' defined but not used [-Wunused-label] err: ^~~ src/server.c: In function 'srv_tmpl_parse_range': src/server.c:1929: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:4000: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:4372: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:4372: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:4555: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:4555: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:4598: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:4598: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:4628: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:4628: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:4658: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:4658: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:4679: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:4679: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:4700: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:4700: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:4721: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:4721: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:4749: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:4749: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:4770: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:4770: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:4793: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:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4794: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:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4795: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:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4796: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:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4797: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:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4798: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:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4799: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:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4800: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:33:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4801: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:33:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4802: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:33:8: note: 'io_handler' declared here int (*io_handler)(struct appctx *appctx); ^~~~~~~~~~ src/server.c:4804: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:31: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:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/server.c:4807:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/server.c: In function 'srv_cleanup_toremove_connections': src/server.c:5349:72: warning: unused parameter 'context' [-Wunused-parameter] struct task *srv_cleanup_toremove_connections(struct task *task, void *context, unsigned short state) ~~~~~~^~~~~~~ src/server.c:5349:96: warning: unused parameter 'state' [-Wunused-parameter] struct task *srv_cleanup_toremove_connections(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/server.c: In function 'srv_cleanup_idle_connections': src/server.c:5406:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (did_remove && max_conn < srv->curr_idle_thr[i]) ^ src/server.c:5361:68: warning: unused parameter 'context' [-Wunused-parameter] struct task *srv_cleanup_idle_connections(struct task *task, void *context, unsigned short state) ~~~~~~^~~~~~~ src/server.c:5361:92: warning: unused parameter 'state' [-Wunused-parameter] struct task *srv_cleanup_idle_connections(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/server.c: In function 'cfg_parse_pool_fd_ratio': src/server.c:5432:53: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_pool_fd_ratio(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/server.c:5432:81: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_pool_fd_ratio(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/server.c:5433:50: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/server.c:5433:69: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/server.c:5433:79: 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/server.c:19: src/server.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/server.c:5463:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' 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/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 'long 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:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stats.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stats.c:27: 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/stats.c:32: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/stats.c:50: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/stats.c:65: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/session.h:35, from src/stats.c:68: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/ssl_sock.h:33, from src/stats.c:69: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/stats.c: In function 'stats_putchk': src/stats.c:265:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (chk->data >= channel_htx_recv_max(chn, htx)) ^~ src/stats.c: In function 'stats_emit_json_data_field': src/stats.c:396:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'const 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:396:50: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'const 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:424:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] return !(old_len == out->data); ^~ src/stats.c: In function 'stats_emit_json_field_tags': src/stats.c:518:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] return !(old_len == out->data); ^~ src/stats.c: In function 'stats_dump_json_info_fields': src/stats.c:592:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (old_len == out->data) ^~ src/stats.c: In function 'stats_dump_fields_json': src/stats.c:658:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (old_len == out->data) ^~ src/stats.c: In function 'stats_fill_sv_stats': src/stats.c:1688:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (sv->max_idle_conns != -1) ^~ src/stats.c: In function 'stats_process_http_post': src/stats.c:2836:33: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (htx_free_data_space(htx) <= global.tune.maxrewrite) { ^~ src/stats.c:2867:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (c_room(&s->req) <= global.tune.maxrewrite) { ^~ src/stats.c:2904:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if ((plen > 0) && (plen <= sizeof(key))) { ^~ src/stats.c: In function 'stats_dump_json_schema': src/stats.c:3965:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (old_len == out->data) { ^~ src/stats.c: In function 'cli_parse_clear_counters': src/stats.c:3990: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:3990:94: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_clear_counters(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c: In function 'cli_parse_show_info': src/stats.c:4060:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_info(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c:4060:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_info(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c: In function 'cli_parse_show_stat': src/stats.c:4074:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_stat(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c:4074:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_stat(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stats.c: At top level: src/stats.c:4132: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:35:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4133:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "info", NULL }, "show info : report information about the running process [json|typed]", cli_parse_show_info, cli_io_handler_dump_info, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4134:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "stat", NULL }, "show stat : report counters for each proxy and server [json|typed]", cli_parse_show_stat, cli_io_handler_dump_stat, NULL }, ^ In file included from src/stats.c:44: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4135: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:35:8: note: 'private' declared here void *private; ^~~~~~~ src/stats.c:4136: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:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/stats.c:27: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stats.c:4139:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/http_fetch.o 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 'long 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:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/common/h1.h:25, from src/http_fetch.c:24: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/common/h1.h:25, from src/http_fetch.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:25, from src/http_fetch.c:24: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/http_fetch.c:26: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/http_fetch.c:39: 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/proto_http.h:29, from src/http_fetch.c:41: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/http_fetch.c:41: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_fetch.c:20: src/http_fetch.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/http_fetch.c:80:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(alloc_raw_htx_chunk_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/http_fetch.c:81:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(free_raw_htx_chunk_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ src/http_fetch.c: In function 'smp_prefetch_http': src/http_fetch.c:343:37: warning: unused parameter 'px' [-Wunused-parameter] int smp_prefetch_http(struct proxy *px, struct stream *s, unsigned int opt, ~~~~~~~~~~~~~~^~ src/http_fetch.c:343:72: warning: unused parameter 'opt' [-Wunused-parameter] int smp_prefetch_http(struct proxy *px, struct stream *s, unsigned int opt, ~~~~~~~~~~~~~^~~ src/http_fetch.c: In function 'smp_fetch_meth': src/http_fetch.c:446:45: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:446: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:446: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:502:46: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_rqver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:502: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:502: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:542:46: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_stver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:542: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:542: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:583:47: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_stcode(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:583: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:583: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:617: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:617: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:617: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:643:45: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_hdrs(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:643: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:643: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:710:49: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_hdrs_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:710: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:710: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:916:14: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] if (block1 > b_wrap(&chn->buf) - body) ^ src/http_fetch.c:872:45: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_body(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:872: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:872: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:944:49: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_body_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:944: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:944: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:992:50: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_body_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:992: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:992: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:1039:44: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_url(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1039: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:1039: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:1070:47: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_url_ip(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1070: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:1070: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:1103:49: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_url_port(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1103: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:1103: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:1142: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:1246: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:1304: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:1376: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:1490: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:1599:45: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_path(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1599: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:1599: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:1745:47: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_base32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1745: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:1745: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:1871:46: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_query(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1871: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:1871: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:1912:51: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_proto_http(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:1912: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:1912: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:1937: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:1937: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:1937: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:1948: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:1948: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:1978: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:1978: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:2023: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:2023: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:2051: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:2051: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:2077: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:2077: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:2077: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:2107: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:2107: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:2107: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:2149: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:2149: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:2149: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:2175: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:2175: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:2175: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:2336:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ctx->vlen < cook_l + 1) ^ src/http_fetch.c:2208: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:2469:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ctx.vlen < cook_l + 1) ^ src/http_fetch.c:2387: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:2518: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:2518: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:2518: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:2702:15: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] if (block1 > b_wrap(&chn->buf) - body) ^ src/http_fetch.c: In function 'smp_fetch_url32': src/http_fetch.c:2755:46: warning: unused parameter 'args' [-Wunused-parameter] static int smp_fetch_url32(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/http_fetch.c:2755: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:2755: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:2898: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:2899: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:2900: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:2903: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:2906: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:2907: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:2908: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:2910: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:2911: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:2917: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:2918:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cookie", smp_fetch_chn_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_HRQHV|SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2919:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "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:2920: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:2926:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hdr", smp_fetch_chn_hdr, ARG2(0,STR,SINT), val_hdr, SMP_T_STR, SMP_USE_HRQHV|SMP_USE_HRSHV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_fetch.c:32: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/http_fetch.c:2927:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "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:2928: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:2929: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:2931: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:2932: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:2933: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:2934: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:2935: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:2936: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:2939: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:2940: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:2943: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:2944: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:2946: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:2947: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:2948: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:2949: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:2951: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:2952: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:2955: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:2956: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:2959: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:2960: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:2961: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:2963: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:2964: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:2965: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:2966: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:2967: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:2968: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:2969: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:2972: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:2973: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:2974: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:2976: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:2977: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:2978: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:2979: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:2980: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:2981: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:2982: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:2985: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:2986: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:2987: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:2988: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:2991: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:2992: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:2993: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:2994: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:2996: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:2997: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:2998: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:2999: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:3000: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:3001: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:3002: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:3003: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:3004: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:3005: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:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_fetch.c:20: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_fetch.c:3009:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/cfgparse.o 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 'long 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/cfgparse.c:36: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse.c:36: 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/channel.h:32, from src/cfgparse.c:60: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/cfgparse.c:60: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/cfgparse.c:76: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/session.h:35, from include/proto/connection.h:32, from include/proto/peers.h:28, from src/cfgparse.c:78: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/peers.h:28, from src/cfgparse.c:78: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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 'parse_process_number': src/cfgparse.c:386:27: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] high = ((!*(dash+1)) ? max : str2uic(dash + 1)); ^~~ src/cfgparse.c:394:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (low < 1 || low > max || high > max) { ^ src/cfgparse.c:394:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (low < 1 || low > max || high > max) { ^ src/cfgparse.c: In function 'cfg_parse_peers': src/cfgparse.c:603:69: warning: unused parameter 'kwm' [-Wunused-parameter] int cfg_parse_peers(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cfgparse.c: In function 'cfg_parse_resolvers': src/cfgparse.c:960: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:1367: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:1555:65: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_netns(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cfgparse.c: In function 'cfg_parse_users': src/cfgparse.c:1597:65: warning: unused parameter 'kwm' [-Wunused-parameter] cfg_parse_users(const char *file, int linenum, char **args, int kwm) ~~~~^~~ In file included from include/common/cfgparse.h:27, from src/cfgparse.c:36: src/cfgparse.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4269:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("listen", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4270:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("frontend", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4271:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("backend", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4272:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("defaults", cfg_parse_listen, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4273:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("global", cfg_parse_global, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4274:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("userlist", cfg_parse_users, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4275:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("peers", cfg_parse_peers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4276:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("mailers", cfg_parse_mailers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4277:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("namespace_list", cfg_parse_netns, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cfgparse.c:4278:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("resolvers", cfg_parse_resolvers, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/flt_spoe.o 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 'long 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/flt_spoe.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/flt_spoe.c:15: 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/channel.h:32, from include/proto/filters.h:30, from src/flt_spoe.c:32: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/filters.h:30, from src/flt_spoe.c:32: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/flt_spoe.c:37: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/session.h:35, from src/flt_spoe.c:40: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/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 'long int' to 'size_t' {aka 'long 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:972: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:972: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:986: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:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136: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:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136: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 'spoe_process_appctx': src/flt_spoe.c:1231: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:2982: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:3016: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:3045:27: warning: unused parameter 'px' [-Wunused-parameter] spoe_deinit(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_spoe.c: In function 'spoe_init_per_thread': src/flt_spoe.c:3137:36: warning: unused parameter 'p' [-Wunused-parameter] spoe_init_per_thread(struct proxy *p, struct flt_conf *fconf) ~~~~~~~~~~~~~~^ src/flt_spoe.c: In function 'spoe_stop': src/flt_spoe.c:3199: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:3321:33: warning: unused parameter 's' [-Wunused-parameter] spoe_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/flt_spoe.c:3321: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:3738: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:3809: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:3898: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:4094: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:4523: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:4693: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:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4720:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &flt_kws); ^~~~~~~~~ src/flt_spoe.c:4724: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:183: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:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4729:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_action_kws); ^~~~~~~~~ src/flt_spoe.c:4732: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:183: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:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4737:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_action_kws); ^~~~~~~~~ src/flt_spoe.c:4740: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:183: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:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4745:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_action_kws); ^~~~~~~~~ src/flt_spoe.c:4748: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:183: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:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_spoe.c:4753:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_action_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' 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 'long 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:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/dns.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/dns.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/channel.h:32, from src/dns.c:37: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/dns.c:37: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/dns.c:42: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/dns.c:46: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/dns.c:50: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/dns.c:59: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:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/dns.c:60:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(dns_resolution_pool, "dns_resolution", sizeof(struct dns_resolution)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/dns.c:61:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(dns_requester_pool, "dns_requester", sizeof(struct dns_requester)); ^~~~~~~~~~~~ src/dns.c: In function 'dns_build_query': src/dns.c:230:72: warning: comparison of integer expressions of different signedness: 'long 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:549: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:1568: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:1781: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:2025: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:2025: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:2116: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:31: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/dns.c:2117:3: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/dns.c:31: include/types/cli.h:31: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:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/dns.c:2121:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/dns.c:2389:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "do-resolve", dns_parse_do_resolve, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/dns.c:22: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/dns.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/dns.c:2393:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/dns.c:2396:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "do-resolve", dns_parse_do_resolve, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/dns.c:22: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/dns.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/dns.c:2400:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_cont_actions); ^~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:322:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_deinit, (fct)) ^~~~~~~~~ src/dns.c:2426:1: note: in expansion of macro 'REGISTER_POST_DEINIT' REGISTER_POST_DEINIT(dns_deinit); ^~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169: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:2427:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("dns runtime resolver", dns_finalize_config); ^~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/checks.o In file included from src/checks.c:33: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/checks.c:37: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/checks.c:38: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/global.h:33, from src/checks.c:41: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/checks.c:41: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/checks.c:49: 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:56: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/checks.c:58: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:58: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/checks.c:58: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/checks.c:33: src/checks.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/checks.c:73: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:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/checks.c:74: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:627: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:724: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:724: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:788: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:859: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:1459: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:1527: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:1601: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:1612: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:1710:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((check->type == 0 || check->type == PR_O2_TCPCHK_CHK) && ^~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/checks.c:33: src/checks.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:272:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/checks.c:1743:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(pid_list_lock); ^~~~~~~~~~~~~~~ src/checks.c: In function 'sigchld_handler': src/checks.c:1819: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:2127: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:2259: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:2469: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_check_task': src/checks.c:2481: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:2583: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:2861:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] check->current_step->string_len >= b_room(&check->bo))) { ^~ src/checks.c:3081:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (check->current_step->string_len >= b_size(&check->bo)) { ^~ src/checks.c:3091:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (check->current_step->string_len >= b_room(&check->bo)) ^~ src/checks.c:3169:78: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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:3667:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (len < 0 || len >= sizeof(buf)) { ^~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/checks.c:33: src/checks.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:318:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/checks.c:3852:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(init_servers_checks); ^~~~~~~~~~~~~~~~~~~ src/checks.c: In function '__health_adjust': src/checks.c:446:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (s->check.health > s->check.rise) ^ src/checks.c:451:3: note: here case HANA_ONERR_FAILCHK: ^~~~ src/checks.c: In function 'process_chk_conn': src/checks.c:2333:17: warning: this statement may fall through [-Wimplicit-fallthrough=] check->state |= CHK_ST_PORT_MISS; src/checks.c:2334:3: note: here case SF_ERR_PRXCOND: ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/cfgparse-listen.o 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 'long 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/cfgparse-listen.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: 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/cfgparse-listen.c:23: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/cfgparse-listen.c:23: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/stick_table.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: 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 'long 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/stick_table.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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/stick_table.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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/stick_table.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: 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/channel.h:32, from include/proto/proto_http.h:29, from src/stick_table.c:36: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/proto_http.h:29, from src/stick_table.c:36: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/stick_table.c:36: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/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:41: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/stick_table.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/stick_table.c: In function 'process_table_expire': src/stick_table.c:622:91: warning: unused parameter 'state' [-Wunused-parameter] static struct task *process_table_expire(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/stick_table.c: In function 'sample_conv_in_table': src/stick_table.c:1108: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:1135: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:1172: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:1208: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:1244: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:1281: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:1318: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:1354: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:1390: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:1427: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:1463: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:1500: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:1536: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:1573: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:1609: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:1646: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:1682: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:1718:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_server_id(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_sess_cnt': src/stick_table.c:1754:90: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_sess_cnt(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_sess_rate': src/stick_table.c:1790:91: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_table_sess_rate(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'sample_conv_table_trackers': src/stick_table.c:1827: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:1855: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:1856: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:1902: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:1937: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:1938: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:1984:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_inc_gpc1(const char **args, int *arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/stick_table.c: In function 'action_set_gpt0': src/stick_table.c:2019: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:2020:84: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/stick_table.c: In function 'parse_set_gpt0': src/stick_table.c:2060: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:2109: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:2109: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:2121:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_table_avl(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/stick_table.c:2121:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_table_avl(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/stick_table.c: In function 'smp_fetch_sc_tracked': src/stick_table.c:2253: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:2276: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:2317: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:2358: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:2399: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:2440: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:2480: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:2533: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:2586: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:2630: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:2674: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:2715: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:2755: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:2755: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:2807: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:2846: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:2884: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:2924: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:2963: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:3003: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:3042: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:3082: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:3121: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:3161: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:3200: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:3239: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:3638: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:3870: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:28: include/types/cli.h:36: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:3871: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:28: include/types/cli.h:36: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:3872: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:28: include/types/cli.h:36: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:3873:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stick_table.c:28: include/types/cli.h:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3876:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/stick_table.c:3879: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3880: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3881: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3885:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_conn_keywords_register, &tcp_conn_kws); ^~~~~~~~~ src/stick_table.c:3888: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3889: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3890: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3894:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_sess_keywords_register, &tcp_sess_kws); ^~~~~~~~~ src/stick_table.c:3897: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3898: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3899: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3903:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_kws); ^~~~~~~~~ src/stick_table.c:3906: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3907: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3908: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3912:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_kws); ^~~~~~~~~ src/stick_table.c:3915: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3916: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3917: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3921:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/stick_table.c:3924: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3925: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/stick_table.c:3926: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/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:3930:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_kws); ^~~~~~~~~ src/stick_table.c:3944: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3945: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3946: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3947: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3948: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3949: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3950: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3951: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3952: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3953: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3954: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3955: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3956: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3957: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3958: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3959: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3960: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3961: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3962: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3963: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3964: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3965: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3966: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3967: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3968: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3969: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3970: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3971: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3972: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3973: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3974: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3975: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3976: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3977: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3978: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3979: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3980: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3981: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3982: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3983: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3984: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3985: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3986: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3987: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3988: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3989: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3990: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3991: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3992: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3993: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3994: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3995: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3996: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3997: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3998: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:3999: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4000: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4001: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4002: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4003: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4004: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4005: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4006: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4007: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4008: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4009: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4010: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4011: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4012: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4013: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4014: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4015: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4016: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4017: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4018: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4019: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4020: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4021: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4022: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4023: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4024: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4025: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4026: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4027: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4028: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4029: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4030: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4031: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4032: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4033: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4034: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4035: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4036: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4037: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4038: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4039: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4040: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4041: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4042: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4043: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4044: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4045: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4046: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4047: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4048: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4049: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4050: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4051: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4052: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4053: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4054: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4055: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4056: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4057: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4058: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4059: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4060: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4061: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4062: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4063: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/stick_table.c:4064: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:4068:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_fetch_keywords); ^~~~~~~~~ src/stick_table.c:4072: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4073: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4074: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4075: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4076: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4077: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4078: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4079: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4080: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4081: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4082: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4083: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4084: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4085: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4086: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4087: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4088: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4089: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4090: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4091: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/stick_table.c:4092: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/proto/log.h:34, from include/common/cfgparse.h:30, from src/stick_table.c:18: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/stick_table.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stick_table.c:4096:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/ssl_sock.o In file included from include/common/buffer.h:30, from src/ssl_sock.c:46: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32, from src/ssl_sock.c:46: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/ssl_sock.c:46: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/ssl_sock.c:46: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/ssl_sock.c:46: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from src/ssl_sock.c:70: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/ssl_sock.c:70: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/ssl_sock.c:71: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/ssl_sock.c:71: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:80: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/ssl_sock.c:85: include/proto/shctx.h: In function '_shctx_wait4lock': include/proto/shctx.h:93:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < *count; i++) { ^ include/proto/shctx.h:96:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (*uaddr != value) ^~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: src/ssl_sock.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/ssl_sock.c:225:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(ssl_sock_ctx_pool, "ssl_sock_ctx_pool", sizeof(struct ssl_sock_ctx)); ^~~~~~~~~~~~~~~~~~~ src/ssl_sock.c: In function 'ha_ssl_gets': src/ssl_sock.c:251:29: warning: unused parameter 'h' [-Wunused-parameter] static int ha_ssl_gets(BIO *h, char *buf, int size) ~~~~~^ src/ssl_sock.c:251:38: warning: unused parameter 'buf' [-Wunused-parameter] static int ha_ssl_gets(BIO *h, char *buf, int size) ~~~~~~^~~ src/ssl_sock.c:251:47: warning: unused parameter 'size' [-Wunused-parameter] static int ha_ssl_gets(BIO *h, char *buf, int size) ~~~~^~~~ src/ssl_sock.c: In function 'ha_ssl_ctrl': src/ssl_sock.c:284:30: warning: unused parameter 'h' [-Wunused-parameter] static long ha_ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2) ~~~~~^ src/ssl_sock.c:284:47: warning: unused parameter 'arg1' [-Wunused-parameter] static long ha_ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2) ~~~~~^~~~ src/ssl_sock.c:284:59: warning: unused parameter 'arg2' [-Wunused-parameter] static long ha_ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2) ~~~~~~^~~~ src/ssl_sock.c: In function 'ha_ssl_free': src/ssl_sock.c:304:29: warning: unused parameter 'data' [-Wunused-parameter] static int ha_ssl_free(BIO *data) ~~~~~^~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: src/ssl_sock.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:282:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_rwlock_init, &(lock)) ^~~~~~~~~ src/ssl_sock.c:413: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:554:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) ^ src/ssl_sock.c: In function 'ssl_async_process_fds': src/ssl_sock.c:585:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i=0 ; i < num_del_fds ; i++) ^ src/ssl_sock.c:589:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ src/ssl_sock.c:602:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i=0 ; i < num_add_fds ; i++) { ^ src/ssl_sock.c: In function 'ssl_sock_parse_sctl': src/ssl_sock.c:1423:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len + 2 != sctl->data) ^~ src/ssl_sock.c: In function 'ssl_sock_sctl_add_cbk': src/ssl_sock.c:1491: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:1491: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:1491:104: warning: unused parameter 'al' [-Wunused-parameter] int ssl_sock_sctl_add_cbk(SSL *ssl, unsigned ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) ~~~~~^~ src/ssl_sock.c: In function 'ssl_sock_sctl_parse_cbk': src/ssl_sock.c:1501: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:1501:50: warning: unused parameter 'ext_type' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~~~~~~~^~~~~~~~ src/ssl_sock.c:1501:81: warning: unused parameter 'in' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~~~~~~~~~~~~~~~^~ src/ssl_sock.c:1501:92: warning: unused parameter 'inlen' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~~^~~~~ src/ssl_sock.c:1501:104: warning: unused parameter 'al' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~^~ src/ssl_sock.c:1501:114: warning: unused parameter 'parse_arg' [-Wunused-parameter] int ssl_sock_sctl_parse_cbk(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg) ~~~~~~^~~~~~~~~ src/ssl_sock.c: In function 'ssl_sock_parse_clienthello': src/ssl_sock.c:1728:60: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] capture->ciphersuite_len = (global_ssl.capture_cipherlist < rec_len) ? ^ src/ssl_sock.c:1729:3: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] global_ssl.capture_cipherlist : rec_len; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ssl_sock.c:1627: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:1736: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:1782:44: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_srv_select_protos(SSL *s, unsigned char **out, unsigned char *outlen, ~~~~~^ src/ssl_sock.c: In function 'ssl_sock_advertise_npn_protos': src/ssl_sock.c:1799:47: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_npn_protos(SSL *s, const unsigned char **data, ~~~~~^ src/ssl_sock.c: In function 'ssl_sock_advertise_alpn_protos': src/ssl_sock.c:1814:48: warning: unused parameter 's' [-Wunused-parameter] static int ssl_sock_advertise_alpn_protos(SSL *s, const unsigned char **out, ~~~~~^ src/ssl_sock.c: In function 'ssl_sock_do_create_cert': src/ssl_sock.c:1835:83: warning: unused parameter 'ssl' [-Wunused-parameter] ssl_sock_do_create_cert(const char *servername, struct bind_conf *bind_conf, SSL *ssl) ~~~~~^~~ src/ssl_sock.c: In function 'ssl_sock_create_cert': src/ssl_sock.c:1982:84: warning: unused parameter 'key' [-Wunused-parameter] ssl_sock_create_cert(struct connection *conn, const char *servername, unsigned int key) ~~~~~~~~~~~~~^~~ src/ssl_sock.c: In function 'ctx_set_None_func': src/ssl_sock.c:2183:40: warning: unused parameter 'ctx' [-Wunused-parameter] static void ctx_set_None_func(SSL_CTX *ctx, set_context_func c) { } ~~~~~~~~~^~~ src/ssl_sock.c:2183: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:2184:36: warning: unused parameter 'ssl' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~^~~ src/ssl_sock.c:2184:58: warning: unused parameter 'c' [-Wunused-parameter] static void ssl_set_None_func(SSL *ssl, set_context_func c) { } ~~~~~~~~~~~~~~~~~^ src/ssl_sock.c: In function 'ssl_sock_switchctx_cbk': src/ssl_sock.c:2358:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < trash.size && i < servername_len; i++) { ^ src/ssl_sock.c:2358:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < trash.size && i < servername_len; i++) { ^ src/ssl_sock.c:2225:60: warning: unused parameter 'arg' [-Wunused-parameter] static int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *arg) ~~~~~~^~~ src/ssl_sock.c: In function 'ssl_get_tmp_dh': src/ssl_sock.c:2691:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (keylen > global_ssl.default_dh_param) { ^ src/ssl_sock.c:2676:41: warning: unused parameter 'export' [-Wunused-parameter] static DH *ssl_get_tmp_dh(SSL *ssl, int export, int keylen) ~~~~^~~~~~ src/ssl_sock.c: In function 'ssl_sock_add_cert_sni': src/ssl_sock.c:2861:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (j = 0; j < len && j < trash.size; j++) ^ src/ssl_sock.c:2863:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (j >= trash.size) ^~ src/ssl_sock.c: In function 'ssl_sock_free_cert_key_and_chain_contents': src/ssl_sock.c:2953:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < ckch->num_chain_certs; i++) { ^ src/ssl_sock.c: In function 'ssl_sock_put_ckch_into_ctx': src/ssl_sock.c:3083:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < ckch->num_chain_certs; i++) { ^ src/ssl_sock.c: In function 'ssl_sock_populate_sni_keytypes_hplr': src/ssl_sock.c:3109:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < trash.size; i++) { ^ src/ssl_sock.c: In function 'sh_ssl_sess_new_cb': src/ssl_sock.c:4157:29: warning: unused parameter 'ssl' [-Wunused-parameter] int sh_ssl_sess_new_cb(SSL *ssl, SSL_SESSION *sess) ~~~~~^~~ src/ssl_sock.c: In function 'sh_ssl_sess_get_cb': src/ssl_sock.c:4213:38: warning: unused parameter 'ssl' [-Wunused-parameter] SSL_SESSION *sh_ssl_sess_get_cb(SSL *ssl, __OPENSSL_110_CONST__ unsigned char *key, int key_len, int *do_copy) ~~~~~^~~ src/ssl_sock.c: In function 'ssl_sock_handshake': src/ssl_sock.c:5649: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:5654: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/ssl_sock.c: In function 'ssl_add_xprt': src/ssl_sock.c:5753:44: warning: unused parameter 'conn' [-Wunused-parameter] static int ssl_add_xprt(struct connection *conn, void *xprt_ctx, void *toadd_ctx, const struct xprt_ops *toadd_ops, void **oldxprt_ctx, const struct xprt_ops **oldxprt_ops) ~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c: In function 'ssl_sock_io_cb': src/ssl_sock.c:5782:49: warning: unused parameter 't' [-Wunused-parameter] static struct task *ssl_sock_io_cb(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~^ src/ssl_sock.c:5782:82: warning: unused parameter 'state' [-Wunused-parameter] static struct task *ssl_sock_io_cb(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c: In function 'ssl_sock_to_buf': src/ssl_sock.c:5846:110: warning: unused parameter 'flags' [-Wunused-parameter] static size_t ssl_sock_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/ssl_sock.c: In function 'ssl_sock_close': src/ssl_sock.c:6145:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) { ^ src/ssl_sock.c:6169:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i=0 ; i < num_all_fds ; i++) ^ src/ssl_sock.c: In function 'ssl_sock_get_serial': src/ssl_sock.c:6328:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (out->size < serial->length) ^ src/ssl_sock.c: In function 'ssl_sock_crt2der': src/ssl_sock.c:6350:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (out->size < len) ^ src/ssl_sock.c: In function 'ssl_sock_get_time': src/ssl_sock.c:6373:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (out->size < gentm->length-2) ^ src/ssl_sock.c:6387:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (out->size < utctm->length) ^ src/ssl_sock.c: In function 'ssl_sock_get_dn_entry': src/ssl_sock.c:6447:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (data_len > out->size) ^ src/ssl_sock.c: In function 'ssl_sock_get_dn_oneline': src/ssl_sock.c:6496:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l > out->size) ^ src/ssl_sock.c: In function 'ssl_sock_get_alpn': src/ssl_sock.c:6641:55: warning: unused parameter 'conn' [-Wunused-parameter] static int ssl_sock_get_alpn(const struct connection *conn, void *xprt_ctx, const char **str, int *len) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_early': src/ssl_sock.c:6668: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:6668:84: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:6668: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:6693: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:6693:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:6693:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_has_crt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_der': src/ssl_sock.c:6721:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6721:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_der(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_serial': src/ssl_sock.c:6767:42: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:6767:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_serial(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sha1': src/ssl_sock.c:6814: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:6814:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_sha1(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notafter': src/ssl_sock.c:6861: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:6861:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notafter(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_i_dn': src/ssl_sock.c:6906:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_i_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_notbefore': src/ssl_sock.c:6965: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:6965:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_notbefore(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_s_dn': src/ssl_sock.c:7010:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_s_dn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_used': src/ssl_sock.c:7066:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7066:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7066:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_used(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_version': src/ssl_sock.c:7098: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:7098:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_version(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_sig_alg': src/ssl_sock.c:7136:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_sig_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7136:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_sig_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_x_key_alg': src/ssl_sock.c:7188:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_x_key_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7188:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_x_key_alg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc': src/ssl_sock.c:7239:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7239:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_has_sni': src/ssl_sock.c:7251:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_has_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7251: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:7251: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:7272: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:7272:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_is_resumed(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_cipher': src/ssl_sock.c:7291: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:7291: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:7319: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:7319: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:7345: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:7345:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_use_keysize(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_npn': src/ssl_sock.c:7367: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:7367:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_npn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_alpn': src/ssl_sock.c:7397: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:7397:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_protocol': src/ssl_sock.c:7431:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_protocol(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7431:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_protocol(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_session_id': src/ssl_sock.c:7459: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:7459:95: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_session_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_random': src/ssl_sock.c:7490:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_random(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7490:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_random(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_session_key': src/ssl_sock.c:7521:48: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_fc_session_key(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:7521:96: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_fc_session_key(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_fc_sni': src/ssl_sock.c:7554: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:7554: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:7554: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:7577: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:7577: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:7577: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:7615: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:7615:83: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_fc_cl_xxh64(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/ssl_sock.c:7615: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:7646:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:7674: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:7674: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:7715: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:7715: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:7715:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_c_ca_err(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'smp_fetch_ssl_c_ca_err_depth': src/ssl_sock.c:7739: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:7739: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:7739: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:7763: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:7763: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:7763: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:7788: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:7788: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:7788: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:7814: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:7835: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:7852: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:7864: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:7882: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:7900: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:7939: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:7966: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:7988: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:8016: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:8087: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:8092: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:8127: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:8135: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:8140: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:8146: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:8146: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:8146: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:8146: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:8153: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:8153: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:8153: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:8153: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:8159: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:8159: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:8159: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:8159: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:8166: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:8222:72: warning: unused parameter 'px' [-Wunused-parameter] static int ssl_bind_parse_alpn(char **args, int cur_arg, struct proxy *px, struct ssl_bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c: In function 'bind_parse_ssl': src/ssl_sock.c:8278: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:8278: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:8278: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:8278: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:8300: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:8300: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:8300: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:8300: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:8307: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:8307: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:8307: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:8307: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:8319: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:8319: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:8319: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:8319: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:8326: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:8446: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:8475: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:8475: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:8475: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:8475: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:8488: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:8541: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:8602: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:8619: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:8637: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:8637: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:8637:73: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_check_ssl(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/ssl_sock.c:8637: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:8657: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:8671: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:8685: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:8708: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:8725: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:8725: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:8725: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:8725: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:8735: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:8735: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:8735: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:8735: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:8743: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:8743: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:8743: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:8743: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:8752: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:8752: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:8752: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:8752: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:8761: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:8761: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:8761: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:8761: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:8768: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:8768: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:8768: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:8768: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:8775: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:8775: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:8775: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:8775: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:8781: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:8781: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:8781: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:8781: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:8789: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:8789: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:8789: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:8789: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:8798: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:8820: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:8820: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:8820: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:8820: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:8843: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:8843: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:8843: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:8843: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:8850: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:8850: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:8850: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:8850: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:8857: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:8880: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:8895: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:8895: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:8896:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8896:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8896: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:8927: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:8927: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:8928:59: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8928:78: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8928: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:8959: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:8959: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:8960:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8960:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8960: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:8986: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:8986: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:8986: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:8987:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:8987:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:8987:83: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c:8988:47: warning: unused parameter 'err' [-Wunused-parameter] char **err) ~~~~~~~^~~ src/ssl_sock.c: In function 'ssl_parse_global_ssl_engine': src/ssl_sock.c:9014: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:9014: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:9015:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9015:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9015: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:9057: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:9057: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:9058:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9058:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9058: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:9082:59: warning: unused parameter 'section_type' [-Wunused-parameter] static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/ssl_sock.c:9082: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:9083:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9083:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9083:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/ssl_sock.c: In function 'ssl_parse_global_int': src/ssl_sock.c:9107: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:9107: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:9108:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9108:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9108: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:9170: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:9170: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:9171:57: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9171:76: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9171: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:9184: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:9184: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:9185:52: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9185:71: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9185: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:9220: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:9220: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:9221:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9221:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9221: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:9242: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:9242: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:9243:54: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/ssl_sock.c:9243:73: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9243: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:9435: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:9435: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:9460: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:9460: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:9504:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_ocspresponse(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: In function 'check_aes_gcm': src/ssl_sock.c:9585:64: warning: unused parameter 'conv' [-Wunused-parameter] static int check_aes_gcm(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/ssl_sock.c:9586:21: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/ssl_sock.c:9586:31: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/ssl_sock.c: In function 'sample_conv_aes_gcm_dec': src/ssl_sock.c:9605:87: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_aes_gcm_dec(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/ssl_sock.c: At top level: src/ssl_sock.c:9699:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "tls-keys", NULL }, "show tls-keys [id|*]: show tls keys references or dump tls ticket keys when id specified", cli_parse_show_tlskeys, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:9700:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "ssl", "tls-key", NULL }, "set ssl tls-key [id|keyfile] : set the next TLS key for the or listener to ", cli_parse_set_tlskeys, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:9702:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "ssl", "ocsp-response", NULL }, NULL, cli_parse_set_ocspresponse, NULL }, ^ In file included from src/ssl_sock.c:63: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/ssl_sock.c:9703:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { NULL }, NULL, NULL, NULL } ^ In file included from src/ssl_sock.c:63: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9706:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/ssl_sock.c:9712:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc", smp_fetch_ssl_fc, 0, NULL, SMP_T_BOOL, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9713:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_alg_keysize", smp_fetch_ssl_fc_alg_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9715:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_alpn", smp_fetch_ssl_fc_alpn, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9717:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_cipher", smp_fetch_ssl_fc_cipher, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9719:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_npn", smp_fetch_ssl_fc_npn, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9721:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_is_resumed", smp_fetch_ssl_fc_is_resumed, 0, NULL, SMP_T_BOOL, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9722:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_protocol", smp_fetch_ssl_fc_protocol, 0, NULL, SMP_T_STR, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9723:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_unique_id", smp_fetch_ssl_fc_unique_id, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9724:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_use_keysize", smp_fetch_ssl_fc_use_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9726:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_session_id", smp_fetch_ssl_fc_session_id, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9729:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_client_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9730:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_server_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9731:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_bc_session_key", smp_fetch_ssl_fc_session_key, 0, NULL, SMP_T_BIN, SMP_USE_L5SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9733:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_ca_err", smp_fetch_ssl_c_ca_err, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9734:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_ca_err_depth", smp_fetch_ssl_c_ca_err_depth, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9735:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_der", smp_fetch_ssl_x_der, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9736:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_err", smp_fetch_ssl_c_err, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9737:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_i_dn", smp_fetch_ssl_x_i_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9738:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_key_alg", smp_fetch_ssl_x_key_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9739:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_notafter", smp_fetch_ssl_x_notafter, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9740:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_notbefore", smp_fetch_ssl_x_notbefore, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9741:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_sig_alg", smp_fetch_ssl_x_sig_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9742:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_s_dn", smp_fetch_ssl_x_s_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9743:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_serial", smp_fetch_ssl_x_serial, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9744:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_sha1", smp_fetch_ssl_x_sha1, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9745:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_used", smp_fetch_ssl_c_used, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9746:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_verify", smp_fetch_ssl_c_verify, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9747:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_c_version", smp_fetch_ssl_x_version, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9748:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_der", smp_fetch_ssl_x_der, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9749:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_i_dn", smp_fetch_ssl_x_i_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9750:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_key_alg", smp_fetch_ssl_x_key_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9751:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_notafter", smp_fetch_ssl_x_notafter, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9752:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_notbefore", smp_fetch_ssl_x_notbefore, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9753:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_sig_alg", smp_fetch_ssl_x_sig_alg, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9754:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_s_dn", smp_fetch_ssl_x_s_dn, ARG2(0,STR,SINT), NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9755:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_serial", smp_fetch_ssl_x_serial, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9756:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_sha1", smp_fetch_ssl_x_sha1, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9757:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_f_version", smp_fetch_ssl_x_version, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9758:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc", smp_fetch_ssl_fc, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9759:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_alg_keysize", smp_fetch_ssl_fc_alg_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9760:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipher", smp_fetch_ssl_fc_cipher, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9761:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_crt", smp_fetch_ssl_fc_has_crt, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9762:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_early", smp_fetch_ssl_fc_has_early, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9763:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_has_sni", smp_fetch_ssl_fc_has_sni, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9764:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_is_resumed", smp_fetch_ssl_fc_is_resumed, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9766:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_npn", smp_fetch_ssl_fc_npn, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9769:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_alpn", smp_fetch_ssl_fc_alpn, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9771:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_protocol", smp_fetch_ssl_fc_protocol, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9773:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_unique_id", smp_fetch_ssl_fc_unique_id, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9775:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_use_keysize", smp_fetch_ssl_fc_use_keysize, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9777:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_session_id", smp_fetch_ssl_fc_session_id, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9780:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_client_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9781:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_server_random", smp_fetch_ssl_fc_random, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9782:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_session_key", smp_fetch_ssl_fc_session_key, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9785:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_sni", smp_fetch_ssl_fc_sni, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9787:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_bin", smp_fetch_ssl_fc_cl_bin, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9788:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_hex", smp_fetch_ssl_fc_cl_hex, 0, NULL, SMP_T_BIN, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9789:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_str", smp_fetch_ssl_fc_cl_str, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9790:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ssl_fc_cipherlist_xxh", smp_fetch_ssl_fc_cl_xxh64, 0, NULL, SMP_T_SINT, SMP_USE_L5CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/ssl_sock.c:9791:2: warning: missing initializer for field 'use' of 'struct sample_fetch' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:300:15: note: 'use' declared here unsigned int use; /* fetch source (SMP_USE_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9794:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ src/ssl_sock.c:9800:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "ssl_fc_sni_end", "ssl_fc_sni", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/ssl_sock.c:9801:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "ssl_fc_sni_reg", "ssl_fc_sni", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9805:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9876:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct srv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9928:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9961:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/ssl_sock.c:9966:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "aes_gcm_dec", sample_conv_aes_gcm_dec, ARG4(4,SINT,STR,STR,STR), check_aes_gcm, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/ssl_sock.c:9968:2: warning: missing initializer for field 'out_type' of 'struct sample_conv' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/sample.h:278:15: note: 'out_type' declared here unsigned int out_type; /* output sample type */ ^~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:9971:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &conv_kws); ^~~~~~~~~ src/ssl_sock.c: In function 'ssl_action_wait_for_hs': src/ssl_sock.c:9995: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:9995: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:9996: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:10014: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:10014: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:10014: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:10014: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:10022:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "wait-for-handshake", ssl_parse_wait_for_hs }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/ssl_sock.c:57: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/ssl_sock.c:46: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/ssl_sock.c:10026: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:10030: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:10030: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:10030: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:10030: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:10030: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:10039: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:10039: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:10039: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:10039:99: warning: unused parameter 'argl' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~^~~~ src/ssl_sock.c:10039:111: warning: unused parameter 'argp' [-Wunused-parameter] static void ssl_sock_capture_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp) ~~~~~~^~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/proto_htx.o 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:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h: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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/proto_htx.c:16: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, 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:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:21: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/channel.h:41, from src/proto_htx.c:23: 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_htx.c:23: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:25: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/proto_htx.c:25: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:31: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/proto_htx.c: In function 'htx_wait_for_request': src/proto_htx.c:116: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/proto_htx.c: In function 'htx_process_tarpit': src/proto_htx.c:991:67: warning: unused parameter 'an_bit' [-Wunused-parameter] int htx_process_tarpit(struct stream *s, struct channel *req, int an_bit) ~~~~^~~~~~ src/proto_htx.c: In function 'htx_apply_redirect_rule': src/proto_htx.c:2462:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] while (qs < path.len) { ^ src/proto_htx.c:2510:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] while (qs < path.len) { ^ src/proto_htx.c: In function 'htx_transform_header_str': src/proto_htx.c:2682:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (output->data == -1) ^~ src/proto_htx.c:2669:45: warning: unused parameter 's' [-Wunused-parameter] int htx_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ~~~~~~~~~~~~~~~^ src/proto_htx.c:2669:64: warning: unused parameter 'chn' [-Wunused-parameter] int htx_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ~~~~~~~~~~~~~~~~^~~ src/proto_htx.c: In function 'htx_req_replace_stline': src/proto_htx.c:2790:21: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct stream *s) ~~~~~~~~~~~~~~^~ src/proto_htx.c: In function 'htx_manage_client_side_cookies': src/proto_htx.c:4391:27: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if ((hdr_end - hdr_beg) != ctx.value.len) { ^~ src/proto_htx.c: In function 'htx_check_request_for_cacheability': src/proto_htx.c:4737:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/proto_htx.c: In function 'htx_check_response_for_cacheability': src/proto_htx.c:4816:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/proto_htx.c:4821:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (i < v.len && *(v.ptr + i) == '=') { ^ src/proto_htx.c: In function 'htx_stats_check_uri': src/proto_htx.c:4908:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (uri_auth->uri_len > uri.len) ^ src/proto_htx.c: In function 'htx_reply_and_close': src/proto_htx.c:5448:50: warning: unused parameter 'status' [-Wunused-parameter] void htx_reply_and_close(struct stream *s, short status, struct buffer *msg) ~~~~~~^~~~~~ src/proto_htx.c: In function 'htx_capture_headers': src/proto_htx.c:5662:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (h->namelen && (h->namelen == n.len) && ^~ src/proto_htx.c:5674:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (v.len > h->len) ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/hlua.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hlua.c:27: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/hlua.c:27: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hlua.c:27: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hlua.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hlua.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/hlua.c:27: 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/hlua.c:40: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from src/hlua.c:40: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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 src/hlua.c:41: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/hlua.c:41: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/hlua.c:56: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/cfgparse.h:27, from src/hlua.c:27: src/hlua.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:272:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/hlua.c:126:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(hlua_global_lock); ^~~~~~~~~~~~~~~ src/hlua.c: In function 'hlua_panic_safe': src/hlua.c:128:39: warning: unused parameter 'L' [-Wunused-parameter] static int hlua_panic_safe(lua_State *L) { return 0; } ~~~~~~~~~~~^ src/hlua.c: In function 'hlua_panic_ljmp': src/hlua.c:129:39: warning: unused parameter 'L' [-Wunused-parameter] static int hlua_panic_ljmp(lua_State *L) { longjmp(safe_ljmp_env, 1); } ~~~~~~~~~~~^ In file included from include/common/cfgparse.h:27, from src/hlua.c:27: src/hlua.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/hlua.c:170:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_hlua, "hlua", sizeof(struct hlua)); ^~~~~~~~~~~~~~~~~~~ src/hlua.c: In function 'hlua_lua2arg_check': src/hlua.c:618:11: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (idx >= ARGM_NBARGS && argp[idx].type != ARGT_STOP) { ^~ src/hlua.c: In function 'hlua_hook': src/hlua.c:1046:41: warning: unused parameter 'ar' [-Wunused-parameter] void hlua_hook(lua_State *L, lua_Debug *ar) ~~~~~~~~~~~^~ src/hlua.c: In function 'hlua_socket_receive_yield': src/hlua.c:1890:12: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (len1 > missing_bytes) { ^ src/hlua.c:1893:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] } if (nblk == 2 && len1 + len2 > missing_bytes) ^ src/hlua.c:1916:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] else if (wanted >= 0 && socket->b.n < wanted) ^ src/hlua.c:1802:70: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_socket_receive_yield(struct lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:1802:91: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_socket_receive_yield(struct lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_socket_write_yield': src/hlua.c:2083:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (sent >= buf_len) { ^~ src/hlua.c:2134:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (sent + len >= buf_len) { ^~ src/hlua.c:2031:60: warning: unused parameter 'status' [-Wunused-parameter] static int hlua_socket_write_yield(struct lua_State *L,int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:2031:81: warning: unused parameter 'ctx' [-Wunused-parameter] static int hlua_socket_write_yield(struct lua_State *L,int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_socket_send': src/hlua.c:2181:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (j > buf_len) ^ src/hlua.c:2193:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (i > buf_len) ^ src/hlua.c: In function 'hlua_socket_connect_yield': src/hlua.c:2382:70: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_socket_connect_yield(struct lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:2382:91: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_socket_connect_yield(struct lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_socket_setoption': src/hlua.c:2589:59: warning: unused parameter 'L' [-Wunused-parameter] __LJMP static int hlua_socket_setoption(struct lua_State *L) ~~~~~~~~~~~~~~~~~~^ src/hlua.c: In function 'hlua_channel_dup_yield': src/hlua.c:2857:60: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_dup_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:2857:81: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_dup_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_channel_get_yield': src/hlua.c:2884:60: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_get_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:2884:81: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_get_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_channel_getline_yield': src/hlua.c:2918:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_getline_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:2918:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_getline_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_channel_append_yield': src/hlua.c:2991:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (max > len - l) ^ src/hlua.c:3015:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < len) ^ src/hlua.c:2970:63: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_append_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:2970:84: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_append_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_channel_send_yield': src/hlua.c:3104:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (max > len - l) ^ src/hlua.c:3133:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < len) { ^ src/hlua.c:3064:61: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_send_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:3064:82: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_send_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_channel_forward_yield': src/hlua.c:3184:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (max > ci_data(chn)) ^ src/hlua.c:3167:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_channel_forward_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:3167:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_channel_forward_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_run_sample_fetch': src/hlua.c:3351:9: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (i >= ARGM_NBARGS) ^~ src/hlua.c: In function 'hlua_run_sample_conv': src/hlua.c:3457:9: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (i >= ARGM_NBARGS) ^~ src/hlua.c: In function 'hlua_applet_tcp_getline_yield': src/hlua.c:3705:67: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_getline_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:3705:88: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_getline_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_applet_tcp_recv_yield': src/hlua.c:3789:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (len == -1) { ^~ src/hlua.c:3759:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_recv_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:3759:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_recv_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_applet_tcp_send_yield': src/hlua.c:3876:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (max > (len - l)) ^ src/hlua.c:3890:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < len) { ^ src/hlua.c:3864:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_send_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:3864:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_tcp_send_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_applet_htx_getline_yield': src/hlua.c:4241:67: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_htx_getline_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:4241:88: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_htx_getline_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_applet_http_getline_yield': src/hlua.c:4360:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (len1 > appctx->appctx->ctx.hlua_apphttp.left_bytes) ^ src/hlua.c:4366:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (len2 > appctx->appctx->ctx.hlua_apphttp.left_bytes) ^ src/hlua.c:4324:68: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_http_getline_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:4324:89: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_http_getline_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_applet_htx_recv_yield': src/hlua.c:4421:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (len > 0 && vlen > len) ^ src/hlua.c:4395:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_htx_recv_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:4395:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_htx_recv_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_applet_http_recv_yield': src/hlua.c:4511:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (len1 > len) ^ src/hlua.c:4517:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (len2 > len) ^ src/hlua.c:4480:65: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_http_recv_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:4480:86: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_http_recv_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_applet_htx_send_yield': src/hlua.c:4600:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (max > (len - l)) ^ src/hlua.c:4615:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < len) { ^ src/hlua.c:4582:64: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_htx_send_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:4582:85: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_htx_send_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_applet_http_send_yield': src/hlua.c:4643:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (max > (len - l)) ^ src/hlua.c:4657:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < len) { ^ src/hlua.c:4631:65: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_http_send_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:4631:86: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_http_send_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_applet_htx_start_response_yield': src/hlua.c:4969:74: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_htx_start_response_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:4969:95: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_htx_start_response_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_applet_http_start_response_yield': src/hlua.c:4992:75: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_applet_http_start_response_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:4992:96: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_applet_http_start_response_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_sleep_yield': src/hlua.c:6192:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (now_ms < wakeup_ms) ^ src/hlua.c:6189:54: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_sleep_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:6189:75: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_sleep_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_yield_yield': src/hlua.c:6231:47: warning: unused parameter 'L' [-Wunused-parameter] __LJMP static int hlua_yield_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~^ src/hlua.c:6231:54: warning: unused parameter 'status' [-Wunused-parameter] __LJMP static int hlua_yield_yield(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/hlua.c:6231:75: warning: unused parameter 'ctx' [-Wunused-parameter] __LJMP static int hlua_yield_yield(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/hlua.c: In function 'hlua_process_task': src/hlua.c:6276:81: warning: unused parameter 'state' [-Wunused-parameter] struct task *hlua_process_task(struct task *task, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/hlua.c: In function 'hlua_sample_fetch_wrapper': src/hlua.c:6527:50: warning: unused parameter 'kw' [-Wunused-parameter] const char *kw, void *private) ~~~~~~~~~~~~^~ src/hlua.c: In function 'hlua_action': src/hlua.c:6824:52: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/hlua.c: In function 'hlua_applet_wakeup': src/hlua.c:7010:79: warning: unused parameter 'state' [-Wunused-parameter] struct task *hlua_applet_wakeup(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/hlua.c: In function 'hlua_applet_tcp_init': src/hlua.c:7019:86: warning: unused parameter 'strm' [-Wunused-parameter] static int hlua_applet_tcp_init(struct appctx *ctx, struct proxy *px, struct stream *strm) ~~~~~~~~~~~~~~~^~~~ src/hlua.c: In function 'action_register_lua': src/hlua.c:7676:94: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret action_register_lua(const char **args, int *cur_arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/hlua.c: In function 'action_register_service_http': src/hlua.c:7719:69: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret action_register_service_http(const char **args, int *cur_arg, struct proxy *px, ~~~~~~~~~~~~~^~~~ src/hlua.c:7719:80: warning: unused parameter 'cur_arg' [-Wunused-parameter] static enum act_parse_ret action_register_service_http(const char **args, int *cur_arg, struct proxy *px, ~~~~~^~~~~~~ src/hlua.c:7719:103: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret action_register_service_http(const char **args, int *cur_arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/hlua.c: In function 'action_register_service_tcp': src/hlua.c:7872:68: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret action_register_service_tcp(const char **args, int *cur_arg, struct proxy *px, ~~~~~~~~~~~~~^~~~ src/hlua.c:7872:79: warning: unused parameter 'cur_arg' [-Wunused-parameter] static enum act_parse_ret action_register_service_tcp(const char **args, int *cur_arg, struct proxy *px, ~~~~~^~~~~~~ src/hlua.c: In function 'hlua_cli_parse_fct': src/hlua.c:7992:50: warning: unused parameter 'payload' [-Wunused-parameter] static int hlua_cli_parse_fct(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/hlua.c: In function 'hlua_read_timeout': src/hlua.c:8268:47: warning: unused parameter 'section_type' [-Wunused-parameter] static int hlua_read_timeout(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/hlua.c:8268:75: warning: unused parameter 'curpx' [-Wunused-parameter] static int hlua_read_timeout(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/hlua.c:8269:44: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/hlua.c:8269:63: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/hlua.c:8269:73: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/hlua.c: In function 'hlua_forced_yield': src/hlua.c:8316:47: warning: unused parameter 'section_type' [-Wunused-parameter] static int hlua_forced_yield(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/hlua.c:8316:75: warning: unused parameter 'curpx' [-Wunused-parameter] static int hlua_forced_yield(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/hlua.c:8317:44: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/hlua.c:8317:63: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/hlua.c:8317:73: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/hlua.c: In function 'hlua_parse_maxmem': src/hlua.c:8330:47: warning: unused parameter 'section_type' [-Wunused-parameter] static int hlua_parse_maxmem(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/hlua.c:8330:75: warning: unused parameter 'curpx' [-Wunused-parameter] static int hlua_parse_maxmem(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/hlua.c:8331:44: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/hlua.c:8331:63: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/hlua.c:8331:73: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/hlua.c: In function 'hlua_load': src/hlua.c:8363:39: warning: unused parameter 'section_type' [-Wunused-parameter] static int hlua_load(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/hlua.c:8363:67: warning: unused parameter 'curpx' [-Wunused-parameter] static int hlua_load(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/hlua.c:8364:36: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/hlua.c:8364:55: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/hlua.c:8364:65: 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/hlua.c:27: src/hlua.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/hlua.c:8424:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/hlua.c: In function 'hlua_action': src/hlua.c:268:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(global.mode & MODE_QUIET) || (global.mode & MODE_VERBOSE)) \ ^ src/hlua.c:7002:3: note: in expansion of macro 'SEND_ERR' SEND_ERR(px, "Lua function '%s' return an unknown error.\n", ^~~~~~~~ src/hlua.c:7005:2: note: here default: ^~~~~~~ src/hlua.c: In function 'hlua_sample_conv_wrapper': src/hlua.c:268:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(global.mode & MODE_QUIET) || (global.mode & MODE_VERBOSE)) \ ^ src/hlua.c:6514:3: note: in expansion of macro 'SEND_ERR' SEND_ERR(stream->be, "Lua converter '%s' returns an unknown error.\n", fcn->name); ^~~~~~~~ src/hlua.c:6516:2: note: here default: ^~~~~~~ src/hlua.c: In function 'hlua_sample_fetch_wrapper': src/hlua.c:268:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(global.mode & MODE_QUIET) || (global.mode & MODE_VERBOSE)) \ ^ src/hlua.c:6673:3: note: in expansion of macro 'SEND_ERR' SEND_ERR(smp->px, "Lua sample-fetch '%s' returns an unknown error.\n", fcn->name); ^~~~~~~~ src/hlua.c:6675:2: note: here default: ^~~~~~~ src/hlua.c: In function 'hlua_action': src/hlua.c:6827:15: warning: variable 'hflags' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] unsigned int hflags = 0; ^~~~~~ src/hlua.c: In function 'hlua_sample_conv_wrapper': src/hlua.c:6396:55: warning: argument 'arg_p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] static int hlua_sample_conv_wrapper(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/hlua.c: In function 'hlua_sample_fetch_wrapper': src/hlua.c:6533:15: warning: variable 'hflags' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] unsigned int hflags = HLUA_TXN_NOTERM; ^~~~~~ src/hlua.c:6526:56: warning: argument 'arg_p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] static int hlua_sample_fetch_wrapper(const struct arg *arg_p, struct sample *smp, ~~~~~~~~~~~~~~~~~~^~~~~ In file included from include/proto/log.h:30, from include/common/cfgparse.h:30, from src/hlua.c:27: src/hlua.c: In function 'hlua_cli_parse_fct': include/common/memory.h:260:8: warning: variable 'p' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] void *p; ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/pattern.o In file included from include/common/standard.h:36, from src/pattern.c:18: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/pattern.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/pattern.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/pattern.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/pattern.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/pattern.c:23: 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))); ^ src/pattern.c: In function 'pat_parse_nothing': src/pattern.c:207:35: warning: unused parameter 'text' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~~~~~~^~~~ src/pattern.c:207:57: warning: unused parameter 'pattern' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~~~~~~~~~~^~~~~~~ src/pattern.c:207:70: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:207:85: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_nothing(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/pattern.c: In function 'pat_parse_str': src/pattern.c:213:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_str(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:213:81: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_str(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/pattern.c: In function 'pat_parse_bin': src/pattern.c:222:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_bin(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c: In function 'pat_parse_reg': src/pattern.c:234:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_reg(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c:234:81: warning: unused parameter 'err' [-Wunused-parameter] int pat_parse_reg(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/pattern.c: In function 'pat_parse_int': src/pattern.c:255:66: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_int(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c: In function 'pat_parse_dotted_ver': src/pattern.c:340:73: warning: unused parameter 'mflags' [-Wunused-parameter] int pat_parse_dotted_ver(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/pattern.c: In function 'pat_match_nothing': src/pattern.c:435:76: warning: unused parameter 'expr' [-Wunused-parameter] struct pattern *pat_match_nothing(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~~~~~~~~~~~~~~~~~~^~~~ src/pattern.c: In function 'pat_match_str': src/pattern.c:521:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (pattern->len != smp->data.u.str.data) ^~ src/pattern.c: In function 'pat_match_bin': src/pattern.c:560:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (pattern->len != smp->data.u.str.data) ^~ src/pattern.c:539:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_bin(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_regm': src/pattern.c:579:83: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_regm(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_reg': src/pattern.c:602:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_reg(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_beg': src/pattern.c:699:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (pattern->len > smp->data.u.str.data) ^ src/pattern.c: In function 'pat_match_end': src/pattern.c:740:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (pattern->len > smp->data.u.str.data) ^ src/pattern.c:718:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_end(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_sub': src/pattern.c:785:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (pattern->len > smp->data.u.str.data) ^ src/pattern.c:761:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_sub(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'match_word': src/pattern.c:841:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (pl > smp->data.u.str.data) ^ src/pattern.c: In function 'pat_match_dir': src/pattern.c:876:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_dir(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_dom': src/pattern.c:893:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_dom(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_int': src/pattern.c:907:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_int(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_match_len': src/pattern.c:929:62: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if ((!pattern->val.range.min_set || pattern->val.range.min <= smp->data.u.str.data) && ^~ src/pattern.c:930:60: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare] (!pattern->val.range.max_set || smp->data.u.str.data <= pattern->val.range.max)) ^~ src/pattern.c:922:82: warning: unused parameter 'fill' [-Wunused-parameter] struct pattern *pat_match_len(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/pattern.c: In function 'pat_ref_push': src/pattern.c:1948:22: warning: unused parameter 'patflags' [-Wunused-parameter] int patflags, char **err) ~~~~^~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from include/common/standard.h:36, from src/pattern.c:18: src/pattern.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/pattern.c:2793:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(pattern_per_thread_lru_alloc); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/pattern.c:2794:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(pattern_per_thread_lru_free); ^~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/peers.o In file included from include/common/standard.h:36, from include/common/time.h:31, from src/peers.c:25: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/time.h:31, from src/peers.c:25: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/peers.c:25: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/global.h:33, from src/peers.c:29: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/peers.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/peers.c:36: include/proto/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/peers.c:36: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from src/peers.c:36: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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 src/peers.c:37: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/peers.c:37: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/peers.c: In function 'peer_prepare_hellomsg': src/peers.c:403:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ret >= size) ^~ src/peers.c: In function 'peer_prepare_status_successmsg': src/peers.c:419:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ret >= size) ^~ src/peers.c:414:92: warning: unused parameter 'p' [-Wunused-parameter] static int peer_prepare_status_successmsg(char *msg, size_t size, struct peer_prep_params *p) ~~~~~~~~~~~~~~~~~~~~~~~~~^ src/peers.c: In function 'peer_prepare_status_errormsg': src/peers.c:437:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ret >= size) ^~ src/peers.c: In function 'peer_prepare_updatemsg': src/peers.c:469:53: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_updatemsg(char *msg, size_t size, struct peer_prep_params *p) ~~~~~~~^~~~ src/peers.c: In function 'peer_prepare_switchmsg': src/peers.c:639:53: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_switchmsg(char *msg, size_t size, struct peer_prep_params *params) ~~~~~~~^~~~ src/peers.c: In function 'peer_prepare_ackmsg': src/peers.c:724:50: warning: unused parameter 'size' [-Wunused-parameter] static int peer_prepare_ackmsg(char *msg, size_t size, struct peer_prep_params *p) ~~~~~~~^~~~ src/peers.c: In function 'peer_send_teachmsgs': src/peers.c:1284:2: warning: label 'out' defined but not used [-Wunused-label] out: ^~~ src/peers.c: In function 'peer_treat_updatemsg': src/peers.c:1368:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (msg_len < sizeof(update)) ^ src/peers.c: In function 'peer_treat_ackmsg': src/peers.c:1598:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (st->local_id == table_id) { ^~ src/peers.c: In function 'peer_treat_definemsg': src/peers.c:1676:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (!p->remote_table && (table_id_len == strlen(st->table->nid)) && ^~ src/peers.c:1700:35: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if (p->remote_table->table->type != peer_int_key_type[table_type] ^~ src/peers.c:1701:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] || p->remote_table->table->key_size != table_keylen) { ^~ src/peers.c: In function 'peer_recv_msg': src/peers.c:1754:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (reql > msg_head_sz) ^ src/peers.c:1765:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (reql < msg_head_sz) ^ src/peers.c: In function 'flush_dcache': src/peers.c:2989:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < dc->max_entries; i++) { ^ src/peers.c: In function 'cli_parse_show_peers': src/peers.c:3088:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_peers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/peers.c:3088:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_peers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/peers.c: In function 'peers_dump_peer': src/peers.c:3254:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < dcache->max_entries; i++) { ^ src/peers.c:3270:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < dcache->max_entries; i++) { ^ src/peers.c:3281:2: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ src/peers.c: At top level: src/peers.c:3370:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "peers", NULL }, "show peers [peers section]: dump some information about all the peers or this peers section", cli_parse_show_peers, cli_io_handler_show_peers, }, ^ In file included from include/proto/cli.h:28, from src/peers.c:38: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/time.h:30, from src/peers.c:25: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/peers.c:3375:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ In file included from include/common/time.h:30, from src/peers.c:25: src/peers.c: In function 'peer_io_handler': include/common/hathreads.h:402:39: warning: this statement may fall through [-Wimplicit-fallthrough=] #define _HA_ATOMIC_ADD(val, i) __atomic_add_fetch(val, i, __ATOMIC_RELAXED) ^~~~~~~~~~~~~~~~~~ src/peers.c:2288:5: note: in expansion of macro '_HA_ATOMIC_ADD' _HA_ATOMIC_ADD(&active_peers, 1); ^~~~~~~~~~~~~~ src/peers.c:2291:4: note: here case PEER_SESS_ST_SENDSUCCESS: { ^~~~ src/peers.c:2335:17: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st0 = PEER_SESS_ST_GETSTATUS; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/peers.c:2338:4: note: here case PEER_SESS_ST_GETSTATUS: { ^~~~ src/peers.c:2377:17: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st0 = PEER_SESS_ST_WAITMSG; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/peers.c:2380:4: note: here case PEER_SESS_ST_WAITMSG: { ^~~~ src/peers.c:2463:16: warning: this statement may fall through [-Wimplicit-fallthrough=] prev_state = appctx->st0; ~~~~~~~~~~~^~~~~~~~~~~~~ src/peers.c:2466:4: note: here case PEER_SESS_ST_END: { ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/stream.o 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 'long 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/stream.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/stream.c:22: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/stream.c:38: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/stream.c:41: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/stream.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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:58: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/cfgparse.h:27, from src/stream.c:17: src/stream.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/stream.c:69:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_stream, "stream", sizeof(struct stream)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:272:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/stream.c:72:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(streams_lock); ^~~~~~~~~~~~~~~ src/stream.c: In function 'process_sticking_rules': src/stream.c:1624:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/stream.c: In function 'process_store_rules': src/stream.c:1701:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/stream.c: In function 'cli_parse_show_sess': src/stream.c:3463: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:3463:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c: In function 'cli_parse_shutdown_session': src/stream.c:3724: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:3724:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c: In function 'cli_parse_shutdown_sessions_server': src/stream.c:3759:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c:3759:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/stream.c: At top level: src/stream.c:3782: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:35:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3783: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:35:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3784: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:35:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3785: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:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3788:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/stream.c:3792: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3796:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &stream_tcp_keywords); ^~~~~~~~~ src/stream.c:3799: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:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/stream.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/stream.c:3803:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &stream_http_keywords); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/sample.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/sample.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/sample.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/sample.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/sample.c:31: 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/sample.c:33: include/proto/protocol_buffers.h: In function 'protobuf_skip_varint': include/proto/protocol_buffers.h:211:63: warning: unused parameter 'vlen' [-Wunused-parameter] protobuf_skip_varint(unsigned char **pos, size_t *len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_smp_store_varint': include/proto/protocol_buffers.h:280:70: warning: unused parameter 'vlen' [-Wunused-parameter] unsigned char *pos, size_t len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_skip_64bit': include/proto/protocol_buffers.h:334:66: warning: unused parameter 'vlen' [-Wunused-parameter] int protobuf_skip_64bit(unsigned char **pos, size_t *len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_smp_store_64bit': include/proto/protocol_buffers.h:352:69: warning: unused parameter 'vlen' [-Wunused-parameter] unsigned char *pos, size_t len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_skip_32bit': include/proto/protocol_buffers.h:425:66: warning: unused parameter 'vlen' [-Wunused-parameter] int protobuf_skip_32bit(unsigned char **pos, size_t *len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_smp_store_32bit': include/proto/protocol_buffers.h:443:69: warning: unused parameter 'vlen' [-Wunused-parameter] unsigned char *pos, size_t len, size_t vlen) ~~~~~~~^~~~ include/proto/protocol_buffers.h: In function 'protobuf_field_lookup': include/proto/protocol_buffers.h:504:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] while (field < fid_sz) { ^ include/proto/protocol_buffers.h:553:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (found && field == fid_sz - 1) ^~ src/sample.c: In function 'c_bin2str': src/sample.c:617:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c: In function 'c_none': src/sample.c:703:27: warning: unused parameter 'smp' [-Wunused-parameter] int c_none(struct sample *smp) ~~~~~~~~~~~~~~~^~~ src/sample.c: In function 'sample_conv_base642bin': src/sample.c:1480:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_base642bin(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1480:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_base642bin(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_bin2base64': src/sample.c:1498:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_bin2base64(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1498:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bin2base64(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_sha1': src/sample.c:1516:47: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_sha1(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1516:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_sha1(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_bin2hex': src/sample.c:1541:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] while (ptr < smp->data.u.str.data && trash->data <= trash->size - 2) { ^ src/sample.c:1534:50: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_bin2hex(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1534:83: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bin2hex(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_hex2int': src/sample.c:1557:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1552:50: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_hex2int(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1552:83: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_hex2int(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_djb2': src/sample.c:1570:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_djb2(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_length': src/sample.c:1580:49: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_length(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1580:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_length(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_str2lower': src/sample.c:1596:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1589:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_str2lower(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1589:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_str2lower(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_str2upper': src/sample.c:1610:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < smp->data.u.str.data; i++) { ^ src/sample.c:1603:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_str2upper(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:1603:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_str2upper(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_ipmask': src/sample.c:1618:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ipmask(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_ltime': src/sample.c:1646:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ltime(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_sdbm': src/sample.c:1669:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_sdbm(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_utime': src/sample.c:1683:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_utime(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_wt6': src/sample.c:1706:79: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_wt6(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_xxh32': src/sample.c:1719:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_xxh32(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_xxh64': src/sample.c:1739:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_xxh64(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_crc32': src/sample.c:1754:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_crc32(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_crc32c': src/sample.c:1765:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_crc32c(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_json_check': src/sample.c:1792:72: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_json_check(struct arg *arg, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:1793:47: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:1793:57: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_json': src/sample.c:1846:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_json(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_bytes': src/sample.c:1965:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare] if (smp->data.u.str.data <= arg_p[0].data.sint) { ^~ src/sample.c:1975:58: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if ((arg_p[1].type == ARGT_SINT) && (arg_p[1].data.sint < smp->data.u.str.data)) ^ src/sample.c:1963:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_bytes(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_field_check': src/sample.c:1981:74: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_field_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:1982:47: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:1982:57: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_field': src/sample.c:2034:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const long unsigned int'} [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ src/sample.c:2053:37: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] while (end - smp->data.u.str.area < smp->data.u.str.data) { ^ src/sample.c:2054:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const long unsigned int'} [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ src/sample.c:2020:81: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_field(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_word': src/sample.c:2114:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const long unsigned int'} [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ src/sample.c:2142:37: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] while (end - smp->data.u.str.area < smp->data.u.str.data) { ^ src/sample.c:2144:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const long unsigned int'} [-Wsign-compare] for (i = 0 ; i < arg_p[1].data.str.data; i++) { ^ src/sample.c:2098:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_word(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_regsub_check': src/sample.c:2194:75: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_regsub_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2195:49: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2195:59: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_regsub': src/sample.c:2272:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const long unsigned int'} [-Wsign-compare] if (max > arg_p[1].data.str.data) ^ src/sample.c:2231:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_regsub(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'check_operator': src/sample.c:2304:65: warning: unused parameter 'conv' [-Wunused-parameter] static int check_operator(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2305:39: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2305:49: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_binary_cpl': src/sample.c:2356:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_binary_cpl(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2356:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_cpl(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_binary_and': src/sample.c:2365:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_and(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_binary_or': src/sample.c:2379:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_or(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_binary_xor': src/sample.c:2393:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_binary_xor(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_add': src/sample.c:2433:85: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_arith_add(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_sub': src/sample.c:2448:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_mul': src/sample.c:2480:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_div': src/sample.c:2525:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_mod': src/sample.c:2553:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_neg': src/sample.c:2579:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_neg(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2580:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_bool': src/sample.c:2592:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_bool(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2593:61: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_not': src/sample.c:2603:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_not(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2604:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_odd': src/sample.c:2614:52: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_odd(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2615:60: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_arith_even': src/sample.c:2625:53: warning: unused parameter 'arg_p' [-Wunused-parameter] static int sample_conv_arith_even(const struct arg *arg_p, ~~~~~~~~~~~~~~~~~~^~~~~ src/sample.c:2626:61: warning: unused parameter 'private' [-Wunused-parameter] struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_concat': src/sample.c:2652:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (max > trash->size - 1 - trash->data) ^ src/sample.c:2670:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (max > trash->size - 1 - trash->data) ^ src/sample.c:2683:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (max > trash->size - 1 - trash->data) ^ src/sample.c:2636:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_concat(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_check_concat': src/sample.c:2702:67: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_concat(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2703:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2703:50: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'sample_conv_strcmp': src/sample.c:2717:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_strcmp(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_ungrpc': src/sample.c:2758:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_ungrpc(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_protobuf': src/sample.c:2786:84: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_protobuf(const struct arg *arg_p, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'sample_conv_protobuf_check': src/sample.c:2797:77: warning: unused parameter 'conv' [-Wunused-parameter] static int sample_conv_protobuf_check(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2798:51: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2798:61: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'smp_check_strcmp': src/sample.c:2823:67: warning: unused parameter 'conv' [-Wunused-parameter] static int smp_check_strcmp(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2824:40: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err) ~~~~~~~~~~~~^~~~ src/sample.c:2824:50: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err) ~~~~^~~~ src/sample.c: In function 'smp_fetch_true': src/sample.c:2841:34: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_true(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2841:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_true(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2841:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_true(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_false': src/sample.c:2853:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_false(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2853:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_false(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2853:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_false(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_env': src/sample.c:2862:71: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_env(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2862:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_env(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_date': src/sample.c:2884:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_date(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2884:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_date(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_date_us': src/sample.c:2899:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_date_us(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2899:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_date_us(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2899:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_date_us(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_hostname': src/sample.c:2910:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_hostname(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2910:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_hostname(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2910:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_hostname(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_nbproc': src/sample.c:2921:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_nbproc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2921:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_nbproc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2921:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_nbproc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_proc': src/sample.c:2930:34: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2930:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2930:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_proc(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_thread': src/sample.c:2939:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_thread(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2939:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_thread(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2939:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_thread(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_rand': src/sample.c:2950:72: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_rand(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2950:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_rand(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_stopping': src/sample.c:2965:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2965:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2965:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_stopping(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_cpu_calls': src/sample.c:2974:39: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_cpu_calls(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2974:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_cpu_calls(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2974:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_cpu_calls(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_cpu_ns_avg': src/sample.c:2986:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_cpu_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2986:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_cpu_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2986:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_cpu_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_cpu_ns_tot': src/sample.c:2998:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_cpu_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:2998:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_cpu_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:2998:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_cpu_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_lat_ns_avg': src/sample.c:3010:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_lat_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3010:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_lat_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3010:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_lat_ns_avg(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_lat_ns_tot': src/sample.c:3022:40: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_lat_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/sample.c:3022:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_lat_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3022:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_lat_ns_tot(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_str': src/sample.c:3032:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_str(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3032:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_str(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_bool': src/sample.c:3061:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_bool(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3061:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_bool(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_int': src/sample.c:3068:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_int(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3068:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_int(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_ipv4': src/sample.c:3075:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_ipv4(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3075:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_ipv4(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_ipv6': src/sample.c:3082:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_ipv6(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3082:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_ipv6(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_const_bin': src/sample.c:3102:88: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3102:98: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_bin(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_check_const_meth': src/sample.c:3128:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < args[0].data.str.data; i++) { ^ src/sample.c: In function 'smp_fetch_const_meth': src/sample.c:3138:89: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_const_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3138:99: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_const_meth(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: In function 'smp_fetch_uuid': src/sample.c:3172:83: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_uuid(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/sample.c:3172:93: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_uuid(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/sample.c: At top level: src/sample.c:3215:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "always_false", smp_fetch_false, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3216:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "always_true", smp_fetch_true, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3217:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "env", smp_fetch_env, ARG1(1,STR), NULL, SMP_T_STR, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3218:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "date", smp_fetch_date, ARG1(0,SINT), NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3219:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "date_us", smp_fetch_date_us, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/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/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3220:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "hostname", smp_fetch_hostname, 0, NULL, SMP_T_STR, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3221:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "nbproc", smp_fetch_nbproc,0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3222:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "proc", smp_fetch_proc, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3223:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "thread", smp_fetch_thread, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3224:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rand", smp_fetch_rand, ARG1(0,SINT), NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3225:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "stopping", smp_fetch_stopping, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3226:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "stopping", smp_fetch_stopping, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3227:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "uuid", smp_fetch_uuid, ARG1(0, SINT), smp_check_uuid, SMP_T_STR, 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/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3229:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cpu_calls", smp_fetch_cpu_calls, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3230:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cpu_ns_avg", smp_fetch_cpu_ns_avg, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3231:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "cpu_ns_tot", smp_fetch_cpu_ns_tot, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3232:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "lat_ns_avg", smp_fetch_lat_ns_avg, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3233:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "lat_ns_tot", smp_fetch_lat_ns_tot, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3235:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "str", smp_fetch_const_str, ARG1(1,STR), NULL , SMP_T_STR, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3236:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "bool", smp_fetch_const_bool, ARG1(1,STR), smp_check_const_bool, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3237:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "int", smp_fetch_const_int, ARG1(1,SINT), NULL , SMP_T_SINT, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3238:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ipv4", smp_fetch_const_ipv4, ARG1(1,IPV4), NULL , SMP_T_IPV4, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3239:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "ipv6", smp_fetch_const_ipv6, ARG1(1,IPV6), NULL , SMP_T_IPV6, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3240:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "bin", smp_fetch_const_bin, ARG1(1,STR), smp_check_const_bin , SMP_T_BIN, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/sample.c:3241:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "meth", smp_fetch_const_meth, ARG1(1,STR), smp_check_const_meth, SMP_T_METH, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/types/global.h:28, from src/sample.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/sample.c:3246:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ src/sample.c:3254:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "b64dec", sample_conv_base642bin,0, NULL, SMP_T_STR, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3255:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "base64", sample_conv_bin2base64,0, NULL, SMP_T_BIN, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3256:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "upper", sample_conv_str2upper, 0, NULL, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3257:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "lower", sample_conv_str2lower, 0, NULL, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3258:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "length", sample_conv_length, 0, NULL, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/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/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3259:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "hex", sample_conv_bin2hex, 0, NULL, SMP_T_BIN, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3260:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "hex2i", sample_conv_hex2int, 0, NULL, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3261:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "ipmask", sample_conv_ipmask, ARG2(1,MSK4,MSK6), NULL, SMP_T_ADDR, SMP_T_IPV4 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3262:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "ltime", sample_conv_ltime, ARG2(1,STR,SINT), NULL, SMP_T_SINT, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3263:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "utime", sample_conv_utime, ARG2(1,STR,SINT), NULL, SMP_T_SINT, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3264:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "crc32", sample_conv_crc32, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3265:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "crc32c", sample_conv_crc32c, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3266:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "djb2", sample_conv_djb2, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3267:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "sdbm", sample_conv_sdbm, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3268:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "wt6", sample_conv_wt6, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3269:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "xxh32", sample_conv_xxh32, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3270:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "xxh64", sample_conv_xxh64, ARG1(0,SINT), NULL, SMP_T_BIN, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3271:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "json", sample_conv_json, ARG1(1,STR), sample_conv_json_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3272:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "bytes", sample_conv_bytes, ARG2(1,SINT,SINT), NULL, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3273:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "field", sample_conv_field, ARG3(2,SINT,STR,SINT), sample_conv_field_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3274:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "word", sample_conv_word, ARG3(2,SINT,STR,SINT), sample_conv_field_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3275:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "regsub", sample_conv_regsub, ARG3(2,REG,STR,STR), sample_conv_regsub_check, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3276:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "sha1", sample_conv_sha1, 0, NULL, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3277:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "concat", sample_conv_concat, ARG3(1,STR,STR,STR), smp_check_concat, SMP_T_STR, SMP_T_STR }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3278:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "strcmp", sample_conv_strcmp, ARG1(1,STR), smp_check_strcmp, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3281:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "ungrpc", sample_conv_ungrpc, ARG2(1,PBUF_FNUM,STR), sample_conv_protobuf_check, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3282:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "protobuf", sample_conv_protobuf, ARG2(1,PBUF_FNUM,STR), sample_conv_protobuf_check, SMP_T_BIN, SMP_T_BIN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3284:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "and", sample_conv_binary_and, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3285:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "or", sample_conv_binary_or, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3286:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "xor", sample_conv_binary_xor, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3287:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "cpl", sample_conv_binary_cpl, 0, NULL, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3288:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "bool", sample_conv_arith_bool, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3289:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "not", sample_conv_arith_not, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3290:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "odd", sample_conv_arith_odd, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3291:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "even", sample_conv_arith_even, 0, NULL, SMP_T_SINT, SMP_T_BOOL }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3292:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "add", sample_conv_arith_add, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3293:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "sub", sample_conv_arith_sub, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3294:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "mul", sample_conv_arith_mul, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3295:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "div", sample_conv_arith_div, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3296:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "mod", sample_conv_arith_mod, ARG1(1,STR), check_operator, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3297:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "neg", sample_conv_arith_neg, 0, NULL, SMP_T_SINT, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/sample.c:3299:2: warning: missing initializer for field 'out_type' of 'struct sample_conv' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/sample.c:19: include/types/sample.h:278:15: note: 'out_type' declared here unsigned int out_type; /* output sample type */ ^~~~~~~~ In file included from include/types/global.h:28, from src/sample.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/sample.c:3302:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/log.o In file included from include/common/standard.h:36, from src/log.c:30: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/log.c:30: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/log.c:31: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto_http.h:27, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/cli.h:24, from src/log.c:33: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/cli.h:24, from src/log.c:33: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/log.c:37: include/proto/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/log.c:37: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from src/log.c:37: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/log.c:44: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/log.c:44: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/log.c: At top level: src/log.c:130:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "o", LOG_FMT_GLOBAL, PR_MODE_TCP, 0, NULL }, /* global option */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:133:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "B", LOG_FMT_BYTES, PR_MODE_TCP, LW_BYTES, NULL }, /* bytes from server to client */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:134:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "CC", LOG_FMT_CCLIENT, PR_MODE_HTTP, LW_REQHDR, NULL }, /* client cookie */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:135:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "CS", LOG_FMT_CSERVER, PR_MODE_HTTP, LW_RSPHDR, NULL }, /* server cookie */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:136:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "H", LOG_FMT_HOSTNAME, PR_MODE_TCP, LW_INIT, NULL }, /* Hostname */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:137:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ID", LOG_FMT_UNIQUEID, PR_MODE_HTTP, LW_BYTES, NULL }, /* Unique ID */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:138:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ST", LOG_FMT_STATUS, PR_MODE_TCP, LW_RESP, NULL }, /* status code */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:139:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "T", LOG_FMT_DATEGMT, PR_MODE_TCP, LW_INIT, NULL }, /* date GMT */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:140:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Ta", LOG_FMT_Ta, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time active (tr to end) */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:141:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tc", LOG_FMT_TC, PR_MODE_TCP, LW_BYTES, NULL }, /* Tc */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:142:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Th", LOG_FMT_Th, PR_MODE_TCP, LW_BYTES, NULL }, /* Time handshake */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:143:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Ti", LOG_FMT_Ti, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time idle */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:144:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tl", LOG_FMT_DATELOCAL, PR_MODE_TCP, LW_INIT, NULL }, /* date local timezone */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:145:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tq", LOG_FMT_TQ, PR_MODE_HTTP, LW_BYTES, NULL }, /* Tq=Th+Ti+TR */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:146:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tr", LOG_FMT_Tr, PR_MODE_HTTP, LW_BYTES, NULL }, /* Tr */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:147:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "TR", LOG_FMT_TR, PR_MODE_HTTP, LW_BYTES, NULL }, /* Time to receive a valid request */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:148:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Td", LOG_FMT_TD, PR_MODE_TCP, LW_BYTES, NULL }, /* Td = Tt - (Tq + Tw + Tc + Tr) */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:149:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Ts", LOG_FMT_TS, PR_MODE_TCP, LW_INIT, NULL }, /* timestamp GMT */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:150:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tt", LOG_FMT_TT, PR_MODE_TCP, LW_BYTES, NULL }, /* Tt */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:151:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "Tw", LOG_FMT_TW, PR_MODE_TCP, LW_BYTES, NULL }, /* Tw */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:152:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "U", LOG_FMT_BYTES_UP, PR_MODE_TCP, LW_BYTES, NULL }, /* bytes from client to server */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:153:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ac", LOG_FMT_ACTCONN, PR_MODE_TCP, LW_BYTES, NULL }, /* actconn */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:154:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "b", LOG_FMT_BACKEND, PR_MODE_TCP, LW_INIT, NULL }, /* backend */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:155:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bc", LOG_FMT_BECONN, PR_MODE_TCP, LW_BYTES, NULL }, /* beconn */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:156:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bi", LOG_FMT_BACKENDIP, PR_MODE_TCP, LW_BCKIP, prepare_addrsource }, /* backend source ip */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:157:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bp", LOG_FMT_BACKENDPORT, PR_MODE_TCP, LW_BCKIP, prepare_addrsource }, /* backend source port */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:158:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "bq", LOG_FMT_BCKQUEUE, PR_MODE_TCP, LW_BYTES, NULL }, /* backend_queue */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:159:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ci", LOG_FMT_CLIENTIP, PR_MODE_TCP, LW_CLIP | LW_XPRT, NULL }, /* client ip */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:160:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "cp", LOG_FMT_CLIENTPORT, PR_MODE_TCP, LW_CLIP | LW_XPRT, NULL }, /* client port */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:161:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "f", LOG_FMT_FRONTEND, PR_MODE_TCP, LW_INIT, NULL }, /* frontend */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:162:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "fc", LOG_FMT_FECONN, PR_MODE_TCP, LW_BYTES, NULL }, /* feconn */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:163:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "fi", LOG_FMT_FRONTENDIP, PR_MODE_TCP, LW_FRTIP | LW_XPRT, NULL }, /* frontend ip */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:164:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "fp", LOG_FMT_FRONTENDPORT, PR_MODE_TCP, LW_FRTIP | LW_XPRT, NULL }, /* frontend port */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:165:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ft", LOG_FMT_FRONTEND_XPRT, PR_MODE_TCP, LW_INIT, NULL }, /* frontend with transport mode */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:166:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hr", LOG_FMT_HDRREQUEST, PR_MODE_TCP, LW_REQHDR, NULL }, /* header request */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:167:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hrl", LOG_FMT_HDRREQUESTLIST, PR_MODE_TCP, LW_REQHDR, NULL }, /* header request list */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:168:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hs", LOG_FMT_HDRRESPONS, PR_MODE_TCP, LW_RSPHDR, NULL }, /* header response */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:169:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "hsl", LOG_FMT_HDRRESPONSLIST, PR_MODE_TCP, LW_RSPHDR, NULL }, /* header response list */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:170:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HM", LOG_FMT_HTTP_METHOD, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP method */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:171:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HP", LOG_FMT_HTTP_PATH, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP path */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:172:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HQ", LOG_FMT_HTTP_QUERY, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP query */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:173:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HU", LOG_FMT_HTTP_URI, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP full URI */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:174:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "HV", LOG_FMT_HTTP_VERSION, PR_MODE_HTTP, LW_REQ, NULL }, /* HTTP version */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:175:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "lc", LOG_FMT_LOGCNT, PR_MODE_TCP, LW_INIT, NULL }, /* log counter */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:176:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ms", LOG_FMT_MS, PR_MODE_TCP, LW_INIT, NULL }, /* accept date millisecond */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:177:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "pid", LOG_FMT_PID, PR_MODE_TCP, LW_INIT, NULL }, /* log pid */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:178:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "r", LOG_FMT_REQ, PR_MODE_HTTP, LW_REQ, NULL }, /* request */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:179:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "rc", LOG_FMT_RETRIES, PR_MODE_TCP, LW_BYTES, NULL }, /* retries */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:180:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "rt", LOG_FMT_COUNTER, PR_MODE_TCP, LW_REQ, NULL }, /* request counter (HTTP or TCP session) */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:181:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "s", LOG_FMT_SERVER, PR_MODE_TCP, LW_SVID, NULL }, /* server */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:182:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sc", LOG_FMT_SRVCONN, PR_MODE_TCP, LW_BYTES, NULL }, /* srv_conn */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:183:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "si", LOG_FMT_SERVERIP, PR_MODE_TCP, LW_SVIP, NULL }, /* server destination ip */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:184:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sp", LOG_FMT_SERVERPORT, PR_MODE_TCP, LW_SVIP, NULL }, /* server destination port */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:185:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sq", LOG_FMT_SRVQUEUE, PR_MODE_TCP, LW_BYTES, NULL }, /* srv_queue */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:186:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sslc", LOG_FMT_SSL_CIPHER, PR_MODE_TCP, LW_XPRT, NULL }, /* client-side SSL ciphers */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:187:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "sslv", LOG_FMT_SSL_VERSION, PR_MODE_TCP, LW_XPRT, NULL }, /* client-side SSL protocol version */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:188:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "t", LOG_FMT_DATE, PR_MODE_TCP, LW_INIT, NULL }, /* date */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:189:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "tr", LOG_FMT_tr, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:190:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "trg",LOG_FMT_trg, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request, GMT */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:191:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "trl",LOG_FMT_trl, PR_MODE_HTTP, LW_INIT, NULL }, /* date of start of request, local */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:192:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "ts", LOG_FMT_TERMSTATE, PR_MODE_TCP, LW_BYTES, NULL },/* termination state */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:193:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { "tsc", LOG_FMT_TERMSTATE_CK, PR_MODE_TCP, LW_INIT, NULL },/* termination state */ ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c:207:2: warning: missing initializer for field 'replace_by' of 'const struct logformat_type' [-Wmissing-field-initializers] { 0, 0, 0, 0, NULL } ^ src/log.c:123:14: note: 'replace_by' declared here const char *replace_by; /* new option to use instead of old one */ ^~~~~~~~~~ src/log.c: In function 'prepare_addrsource': src/log.c:304:47: warning: unused parameter 'node' [-Wunused-parameter] int prepare_addrsource(struct logformat_node *node, struct proxy *curproxy) ~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/log.c: In function 'parse_logformat_var': src/log.c:378:42: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (strlen(logformat_keywords[j].name) == var_len && ^~ src/log.c: In function 'print_message': src/log.c:1042:74: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] (!startup_logs || strlen(startup_logs) + strlen(head) + strlen(msg) < global.tune.bufsize)) ^ src/log.c: In function 'lf_ip': src/log.c:1329:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (iret < 0 || iret > size) ^ src/log.c: In function 'lf_port': src/log.c:1353:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (iret < 0 || iret > size) ^ In file included from include/common/config.h:25, from src/log.c:27: src/log.c: In function '__do_send_log': src/log.c:1610:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (unlikely(hdr_size >= logsrv->maxlen)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/log.c:1641:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (unlikely(pid_size >= maxlen)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/log.c: In function 'sess_build_logline': src/log.c:2403:72: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] ret = ltoa_o((logs->t_data >= 0) ? logs->t_close - logs->t_data : -1, ^~ src/log.c:2406:78: warning: operand of ?: changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] ret = ltoa_o((logs->t_connect >= 0) ? logs->t_close - logs->t_connect : -1, ^~ src/log.c: At top level: src/log.c:3040:4: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] NULL, cli_io_handler_show_startup_logs }, ^~~~ In file included from src/log.c:33: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/log.c:3041:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/log.c:33: include/types/cli.h:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from src/log.c:29: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/log.c:3044:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/log.c:3046:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(init_log_buffers); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/log.c:3047:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(deinit_log_buffers); ^~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/mux_h2.o 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 'long 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/mux_h2.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/common/h2.h:34, from src/mux_h2.c:16: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/common/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:172:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/mux_h2.c:23: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/stream_interface.h:32, from src/mux_h2.c:27: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/cfgparse.h:27, from src/mux_h2.c:13: src/mux_h2.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h2.c:234:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h2c, "h2c", sizeof(struct h2c)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h2.c:237:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h2s, "h2s", sizeof(struct h2s)); ^~~~~~~~~~~~~~~~~~~ src/mux_h2.c: In function 'h2_release_buf': src/mux_h2.c:459:47: warning: unused parameter 'h2c' [-Wunused-parameter] static inline void h2_release_buf(struct h2c *h2c, struct buffer *bptr) ~~~~~~~~~~~~^~~ src/mux_h2.c: In function 'h2_avail_streams': src/mux_h2.c:532:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] ret2 = h2c->stream_cnt <= srv->max_reuse ? srv->max_reuse - h2c->stream_cnt + 1: 0; ^~ src/mux_h2.c: In function 'h2_peek_frame_hdr': src/mux_h2.c:890:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (b_data(b) < o + 9) ^ src/mux_h2.c: In function 'h2s_new': src/mux_h2.c:1023:2: warning: label 'out_free_h2s' defined but not used [-Wunused-label] out_free_h2s: ^~~~~~~~~~~~ src/mux_h2.c: In function 'h2c_handle_settings': src/mux_h2.c:1632:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c:1636: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/mux_h2.c: In function 'h2c_handle_window_update': src/mux_h2.c:1894:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_handle_goaway': src/mux_h2.c:1961:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_handle_priority': src/mux_h2.c:1980:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c:1983: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:1998:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_frt_handle_headers': src/mux_h2.c:2034:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c: In function 'h2c_bck_handle_headers': src/mux_h2.c:2157:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c: In function 'h2c_frt_handle_data': src/mux_h2.c:2232:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c:2243:62: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if ((h2s->flags & H2_SF_DATA_CLEN) && (h2c->dfl - h2c->dpl) > h2s->body_len) { ^ src/mux_h2.c: In function 'h2_io_cb': src/mux_h2.c:2982: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:2982:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ src/mux_h2.c: In function 'h2_timeout_task': src/mux_h2.c:3108:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h2.c: In function 'h2_ctl': src/mux_h2.c:3227:77: warning: unused parameter 'output' [-Wunused-parameter] static int h2_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ~~~~~~^~~~~~ src/mux_h2.c: In function 'h2_deferred_shut': src/mux_h2.c:3509: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:3509: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:3550:63: warning: unused parameter 'mode' [-Wunused-parameter] static void h2_shutw(struct conn_stream *cs, enum cs_shw_mode mode) ~~~~~~~~~~~~~~~~~^~~~ src/mux_h2.c: In function 'h2c_decode_headers': src/mux_h2.c:3630:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (b_data(&h2c->dbuf) - hole < h2c->dfl) ^ src/mux_h2.c:3658:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (hdr.sid != h2c->dsi) { ^~ src/mux_h2.c:3675:12: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (clen > hdr.len) ^ src/mux_h2.c:3706:22: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (read_n32(hdrs) == h2c->dsi) { ^~ src/mux_h2.c:3834:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (b_data(&h2c->dbuf) > h2c->dfl + hole) ^ src/mux_h2.c:3840:37: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (b_full(&h2c->dbuf) && h2c->dfl >= b_data(&h2c->dbuf)) { ^~ src/mux_h2.c: In function 'h2_frt_transfer_data': src/mux_h2.c:3941:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block1) ^ src/mux_h2.c:3946:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (flen > block1) ^ src/mux_h2.c:4015:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (block1 > flen) ^ src/mux_h2.c: In function 'h2s_frt_make_resp_headers': src/mux_h2.c:4183:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (hdr = 1; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ src/mux_h2.c: In function 'h2s_frt_make_resp_data': src/mux_h2.c:4333:23: warning: comparison of integer expressions of different signedness: 'long long int' and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare] if ((long long)size > h1m->curr_len) ^ src/mux_h2.c:4398:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (size > max) ^ src/mux_h2.c:4415:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (size + 9 > outbuf.size) { ^ src/mux_h2.c:4421:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] (size + 9 <= b_room(mbuf)) && ^~ src/mux_h2.c:4449:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (!ret || len1 + len2 < size) { ^ src/mux_h2.c:4456:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (len1 + len2 > size) { ^ src/mux_h2.c:4459:12: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (len2 > sub) ^ 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:4604:20: warning: comparison of integer expressions of different signedness: 'int' and 'long 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/mux_h2.c:4654:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ 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:4812:20: warning: comparison of integer expressions of different signedness: 'int' and 'long 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/mux_h2.c:4887:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ src/mux_h2.c:4910:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ 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:5093:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:5105:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (fsize + 9 <= b_room(mbuf) && ^~ src/mux_h2.c:5107:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] (fsize <= b_size(mbuf) / 4 && fsize + 9 <= b_contig_space(mbuf)))) ^~ src/mux_h2.c:5107:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] (fsize <= b_size(mbuf) / 4 && fsize + 9 <= b_contig_space(mbuf)))) ^~ src/mux_h2.c:5190:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (fsize > count) ^ src/mux_h2.c:5199:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (fsize + 9 > outbuf.size) { ^ src/mux_h2.c:5205:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] (fsize + 9 <= b_room(mbuf)) && ^~ 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_make_trailers': src/mux_h2.c:5329:20: warning: comparison of integer expressions of different signedness: 'int' and 'long 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/mux_h2.c:5413:2: warning: label 'done' defined but not used [-Wunused-label] done: ^~~~ src/mux_h2.c: In function 'h2_rcv_buf': src/mux_h2.c:5520:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_rcv_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/mux_h2.c: In function 'h2_snd_buf': src/mux_h2.c:5612: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:5905:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h2.c:5905: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:5906:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5906:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:5906:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/mux_h2.c: In function 'h2_parse_initial_window_size': src/mux_h2.c:5921: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:5921: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:5922:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5922:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:5922:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/mux_h2.c: In function 'h2_parse_max_concurrent_streams': src/mux_h2.c:5937:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h2.c:5937:89: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5938:58: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5938:77: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:5938:87: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/mux_h2.c: In function 'h2_parse_max_frame_size': src/mux_h2.c:5953:53: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h2.c:5953:81: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5954:50: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h2.c:5954:69: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h2.c:5954:79: 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:109:10: warning: cast between incompatible function types from 'void (*)(struct mux_proto_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:5999:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_h2); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct mux_proto_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:6027:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_h2_htx); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h2.c:6038:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/standard.o In file included from src/standard.c:29: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/standard.c:31: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/standard.c:33: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/standard.c:33: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/standard.c:33: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/standard.c:35: 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))); ^ src/standard.c: In function 'ulltoa': src/standard.c:154:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ src/standard.c: In function 'ultoa_o': src/standard.c:266:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ src/standard.c: In function 'utoa_pad': src/standard.c:372:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (i + 2 > size) // (i + 1) + '\0' ^ src/standard.c:374:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (i < size) ^ src/standard.c: In function 'url2sa': src/standard.c:1320:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (trash.size < ulen) ^ src/standard.c: In function 'buf2ip': src/standard.c:2577:30: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (addr = buf; addr - buf < len; addr++) { ^ src/standard.c: In function 'quote_arg': src/standard.c:2648:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 1; i < sizeof(val) - 2 && *ptr; i++) ^ src/standard.c: In function 'in_net_ipv6': src/standard.c:2795:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/standard.c: In function 'strnistr': src/standard.c:3901:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (tmp1 >= len_str1) ^~ src/standard.c:3918:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (*pptr == '\0' || tmp2 == len_str2) /* end of pattern found */ ^~ src/standard.c:3920:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (*sptr == '\0' || tmp2 == len_str1) /* end of string found and the pattern is not fully found */ ^~ src/standard.c: In function 'dump_text_line': src/standard.c:4231:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (end > out->size) ^ src/standard.c:4239:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (out->data > end - 2) ^ src/standard.c:4243:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (out->data > end - 3) ^ src/standard.c:4255:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (out->data > end - 5) ^ src/standard.c: In function 'trace': src/standard.c:4369:18: warning: unused parameter 'msg' [-Wunused-parameter] void trace(char *msg, ...) ~~~~~~^~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/proxy.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/proxy.c:21: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/proxy.c:21: 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/proxy.c:39: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from src/proxy.c:39: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/filters.h:30, from src/proxy.c:43: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/filters.h:30, from src/proxy.c:43: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/proxy.c:48: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/proxy.c: At top level: src/proxy.c:117:2: warning: missing initializer for field 'mode' of 'const struct cfg_opt' [-Wmissing-field-initializers] { NULL, 0, 0, 0 } ^ In file included from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proxy.c:21: include/types/proxy.h:560:15: note: 'mode' declared here unsigned int mode; ^~~~ src/proxy.c: In function 'proxy_parse_timeout': src/proxy.c:200:49: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_timeout(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/proxy.c:201:65: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:201:75: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/proxy.c: In function 'proxy_parse_rate_limit': src/proxy.c:329:52: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_rate_limit(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/proxy.c:330:68: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:330:78: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/proxy.c: In function 'proxy_parse_max_ka_queue': src/proxy.c:384:54: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_max_ka_queue(char **args, int section, struct proxy *proxy, ~~~~^~~~~~~ src/proxy.c:385:51: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/proxy.c:385:70: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:385:80: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/proxy.c: In function 'proxy_parse_declare': src/proxy.c:423:49: warning: unused parameter 'section' [-Wunused-parameter] static int proxy_parse_declare(char **args, int section, struct proxy *curpx, ~~~~^~~~~~~ src/proxy.c:424:65: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:424:75: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/proxy.c: In function 'proxy_parse_retry_on': src/proxy.c:518:39: warning: unused parameter 'section' [-Wunused-parameter] proxy_parse_retry_on(char **args, int section, struct proxy *curpx, ~~~~^~~~~~~ src/proxy.c:519:46: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/proxy.c:519:65: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:519:75: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/proxy.c: In function 'manage_proxy': src/proxy.c:978:73: warning: unused parameter 'state' [-Wunused-parameter] struct task *manage_proxy(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/proxy.c: In function 'proxy_parse_hard_stop_after': src/proxy.c:1060:57: warning: unused parameter 'section_type' [-Wunused-parameter] static int proxy_parse_hard_stop_after(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/proxy.c:1060:85: warning: unused parameter 'curpx' [-Wunused-parameter] static int proxy_parse_hard_stop_after(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/proxy.c:1061:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/proxy.c:1061:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/proxy.c:1061:76: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/proxy.c: In function 'hard_stop': src/proxy.c:1088:46: warning: unused parameter 'context' [-Wunused-parameter] struct task *hard_stop(struct task *t, void *context, unsigned short state) ~~~~~~^~~~~~~ src/proxy.c:1088:70: warning: unused parameter 'state' [-Wunused-parameter] struct task *hard_stop(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/proxy.c: In function 'proxy_capture_error': src/proxy.c:1589:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len1 > buf_len) ^ In file included from include/common/cfgparse.h:27, from src/proxy.c:21: src/proxy.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proxy.c:1727:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/proxy.c: In function 'cli_parse_show_servers': src/proxy.c:1784:54: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_servers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:1784:92: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_servers(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_enable_dyncookie_backend': src/proxy.c:1961:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:1961:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_disable_dyncookie_backend': src/proxy.c:1993:67: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:1993:105: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_dyncookie_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_set_dyncookie_key_backend': src/proxy.c:2028:67: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_dyncookie_key_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2028:105: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_dyncookie_key_backend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_set_maxconn_frontend': src/proxy.c:2077:62: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_maxconn_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2077:100: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_maxconn_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_shutdown_frontend': src/proxy.c:2128:59: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2128:97: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_disable_frontend': src/proxy.c:2159:58: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_disable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2159:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_disable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_enable_frontend': src/proxy.c:2202:57: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_enable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2202:95: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_enable_frontend(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_parse_show_errors': src/proxy.c:2244:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_errors(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c:2244:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_errors(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/proxy.c: In function 'cli_io_handler_show_errors': src/proxy.c:2411:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] while (appctx->ctx.errors.ptr < es->buf_len && appctx->ctx.errors.ptr < global.tune.bufsize) { ^ src/proxy.c: At top level: src/proxy.c:2447:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "disable", "frontend", NULL }, "disable frontend : temporarily disable specific frontend", cli_parse_disable_frontend, NULL, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2448:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "enable", "frontend", NULL }, "enable frontend : re-enable specific frontend", cli_parse_enable_frontend, NULL, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2449:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "maxconn", "frontend", NULL }, "set maxconn frontend : change a frontend's maxconn setting", cli_parse_set_maxconn_frontend, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2450:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show","servers", "state", NULL }, "show servers state [id]: dump volatile server information (for backend )", cli_parse_show_servers, cli_io_handler_servers_state }, ^ In file included from src/proxy.c:33: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2451:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "backend", NULL }, "show backend : list backends in the current running config", NULL, cli_io_handler_show_backend }, ^ In file included from src/proxy.c:33: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2452:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "shutdown", "frontend", NULL }, "shutdown frontend : stop a specific frontend", cli_parse_shutdown_frontend, NULL, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2453:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "dynamic-cookie-key", "backend", NULL }, "set dynamic-cookie-key backend : change a backend secret key for dynamic cookies", cli_parse_set_dyncookie_key_backend, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2454:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "enable", "dynamic-cookie", "backend", NULL }, "enable dynamic-cookie backend : enable dynamic cookies on a specific backend", cli_parse_enable_dyncookie_backend, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2455:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "disable", "dynamic-cookie", "backend", NULL }, "disable dynamic-cookie backend : disable dynamic cookies on a specific backend", cli_parse_disable_dyncookie_backend, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/proxy.c:2456:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "errors", NULL }, "show errors : report last request and response errors for each proxy", cli_parse_show_errors, cli_io_handler_show_errors, NULL }, ^ In file included from src/proxy.c:33: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/proxy.c:2457:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/proxy.c:33: include/types/cli.h:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/proxy.c:21: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proxy.c:2460:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/mux_h1.o 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 'long 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/mux_h1.c:12: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_h1.c:12: 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/h2.h:34, from src/mux_h1.c:15: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h1.c:25: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/mux_h1.c:25: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/stream_interface.h:32, from src/mux_h1.c:30: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/cfgparse.h:27, from src/mux_h1.c:12: src/mux_h1.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h1.c:131:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_h1c, "h1c", sizeof(struct h1c)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_h1.c:132: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_process_input_conn_mode': src/mux_h1.c:829:86: warning: unused parameter 'htx' [-Wunused-parameter] static void h1_process_input_conn_mode(struct h1s *h1s, struct h1m *h1m, struct htx *htx) ~~~~~~~~~~~~^~~ src/mux_h1.c: In function 'h1_capture_bad_message': src/mux_h1.c:921: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_eval_htx_req_size': src/mux_h1.c:1011:48: warning: unused parameter 'h1m' [-Wunused-parameter] static size_t h1_eval_htx_req_size(struct h1m *h1m, union h1_sl *h1sl, struct http_hdr *hdrs) ~~~~~~~~~~~~^~~ src/mux_h1.c: In function 'h1_eval_htx_res_size': src/mux_h1.c:1022:48: warning: unused parameter 'h1m' [-Wunused-parameter] static size_t h1_eval_htx_res_size(struct h1m *h1m, union h1_sl *h1sl, struct http_hdr *hdrs) ~~~~~~~~~~~~^~~ src/mux_h1.c: In function 'h1_process_data': src/mux_h1.c:1271:12: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'long 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:1285:43: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'long 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:1354:13: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ src/mux_h1.c:1386:11: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ret > b_contig_data(buf, *ofs)) ^ src/mux_h1.c: In function 'h1_io_cb': src/mux_h1.c:2166:43: warning: unused parameter 't' [-Wunused-parameter] static struct task *h1_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~^ src/mux_h1.c:2166:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h1_io_cb(struct task *t, void *ctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ src/mux_h1.c: In function 'h1_timeout_task': src/mux_h1.c:2207:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h1_timeout_task(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/mux_h1.c: In function 'h1_snd_buf': src/mux_h1.c:2515:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h1_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/mux_h1.c: In function 'h1_ctl': src/mux_h1.c:2613:77: warning: unused parameter 'output' [-Wunused-parameter] static int h1_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ~~~~~~^~~~~~ src/mux_h1.c: In function 'cfg_parse_h1_header_case_adjust': src/mux_h1.c:2804:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_h1_header_case_adjust(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h1.c:2804:89: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_h1_header_case_adjust(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:2805:23: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:2805:42: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h1.c:2805:52: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/mux_h1.c: In function 'cfg_parse_h1_headers_case_adjust_file': src/mux_h1.c:2818:67: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_h1_headers_case_adjust_file(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mux_h1.c:2818:95: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_h1_headers_case_adjust_file(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:2819:22: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/mux_h1.c:2819:41: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/mux_h1.c:2819:51: 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_h1.c:12: src/mux_h1.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h1.c:2842:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169: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/mux_h1.c:2843:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("h1-headers-map", cfg_h1_headers_case_adjust_postparser); ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct mux_proto_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_h1.c:2883:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_htx); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/proto_tcp.o In file included from include/common/standard.h:36, from src/proto_tcp.c:41: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/proto_tcp.c:41: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proto_http.h:27, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/channel.h:32, from src/proto_tcp.c:50: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/proto_tcp.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/proto_tcp.c:50: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_tcp.c:51: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/proto_tcp.c:51: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/proto_tcp.c:58: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: src/proto_tcp.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct protocol *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:94:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, protocol_register, &proto_tcpv4); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct protocol *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:119:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, protocol_register, &proto_tcpv6); ^~~~~~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_src': src/proto_tcp.c:1182:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_dst': src/proto_tcp.c:1214:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_src_port': src/proto_tcp.c:1246:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/proto_tcp.c: In function 'tcp_action_req_set_dst_port': src/proto_tcp.c:1278:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/proto_tcp.c: In function 'tcp_exec_action_silent_drop': src/proto_tcp.c:1304:69: warning: unused parameter 'rule' [-Wunused-parameter] static enum act_return tcp_exec_action_silent_drop(struct act_rule *rule, struct proxy *px, struct session *sess, struct stream *strm, int flags) ~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1304:89: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return tcp_exec_action_silent_drop(struct act_rule *rule, struct proxy *px, struct session *sess, struct stream *strm, int flags) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1304:140: warning: unused parameter 'flags' [-Wunused-parameter] static enum act_return tcp_exec_action_silent_drop(struct act_rule *rule, struct proxy *px, struct session *sess, struct stream *strm, int flags) ~~~~^~~~~ src/proto_tcp.c: In function 'tcp_parse_silent_drop': src/proto_tcp.c:1419:62: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret tcp_parse_silent_drop(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1419:73: warning: unused parameter 'orig_arg' [-Wunused-parameter] static enum act_parse_ret tcp_parse_silent_drop(const char **args, int *orig_arg, struct proxy *px, ~~~~~^~~~~~~~ src/proto_tcp.c:1419:97: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret tcp_parse_silent_drop(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1420:79: warning: unused parameter 'err' [-Wunused-parameter] struct act_rule *rule, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'smp_fetch_src': src/proto_tcp.c:1433:37: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_src(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1433:75: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_src(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1433:85: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_src(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_sport': src/proto_tcp.c:1459:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_sport(const struct arg *args, struct sample *smp, const char *k, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1459:73: warning: unused parameter 'k' [-Wunused-parameter] smp_fetch_sport(const struct arg *args, struct sample *smp, const char *k, void *private) ~~~~~~~~~~~~^ src/proto_tcp.c:1459:82: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_sport(const struct arg *args, struct sample *smp, const char *k, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_dst': src/proto_tcp.c:1476:33: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_dst(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1476:71: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_dst(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1476:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_dst(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_dst_is_local': src/proto_tcp.c:1505:46: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_dst_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1505:84: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_dst_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1505:94: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_dst_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_src_is_local': src/proto_tcp.c:1526:46: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_src_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1526:84: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_src_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1526:94: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_src_is_local(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_dport': src/proto_tcp.c:1546:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_dport(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c:1546:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_dport(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1546:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_dport(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'var_fc_counter': src/proto_tcp.c:1604:52: warning: unused parameter 'err' [-Wunused-parameter] static int var_fc_counter(struct arg *args, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'get_tcp_info': src/proto_tcp.c:1621:50: warning: unused parameter 'args' [-Wunused-parameter] static inline int get_tcp_info(const struct arg *args, struct sample *smp, ~~~~~~~~~~~~~~~~~~^~~~ src/proto_tcp.c: In function 'smp_fetch_fc_rtt': src/proto_tcp.c:1675:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_rtt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1675:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_rtt(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_rttvar': src/proto_tcp.c:1689:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_rttvar(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1689:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_rttvar(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_unacked': src/proto_tcp.c:1705:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_unacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1705:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_unacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_sacked': src/proto_tcp.c:1714:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_sacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1714:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_sacked(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_lost': src/proto_tcp.c:1723:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_lost(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1723:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_lost(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_retrans': src/proto_tcp.c:1732:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_retrans(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1732:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_retrans(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_fackets': src/proto_tcp.c:1741:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_fackets(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1741:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_fackets(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'smp_fetch_fc_reordering': src/proto_tcp.c:1750:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fc_reordering(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/proto_tcp.c:1750:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_reordering(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/proto_tcp.c: In function 'bind_parse_v4v6': src/proto_tcp.c:1761:35: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/proto_tcp.c:1761:45: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/proto_tcp.c:1761:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1761:103: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_v4v6(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_v6only': src/proto_tcp.c:1774:37: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/proto_tcp.c:1774:47: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/proto_tcp.c:1774:70: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1774:105: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_v6only(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_transparent': src/proto_tcp.c:1789:42: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/proto_tcp.c:1789:52: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/proto_tcp.c:1789:75: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1789:110: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_transparent(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_defer_accept': src/proto_tcp.c:1804:43: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/proto_tcp.c:1804:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/proto_tcp.c:1804:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1804:111: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_defer_accept(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_tfo': src/proto_tcp.c:1819:34: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/proto_tcp.c:1819:44: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/proto_tcp.c:1819:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c:1819:102: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_tfo(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/proto_tcp.c: In function 'bind_parse_mss': src/proto_tcp.c:1834:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_mss(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: In function 'bind_parse_tcp_ut': src/proto_tcp.c:1861:70: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_tcp_ut(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: In function 'bind_parse_interface': src/proto_tcp.c:1899:73: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_interface(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: In function 'bind_parse_namespace': src/proto_tcp.c:1919:73: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_namespace(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: In function 'srv_parse_tcp_ut': src/proto_tcp.c:1947:70: warning: unused parameter 'px' [-Wunused-parameter] static int srv_parse_tcp_ut(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err) ~~~~~~~~~~~~~~^~ src/proto_tcp.c: At top level: src/proto_tcp.c:1987:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst", smp_fetch_dst, 0, NULL, SMP_T_IPV4, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1988:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst_is_local", smp_fetch_dst_is_local, 0, NULL, SMP_T_BOOL, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1989:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst_port", smp_fetch_dport, 0, NULL, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1990:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src", smp_fetch_src, 0, NULL, SMP_T_IPV4, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1991:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_is_local", smp_fetch_src_is_local, 0, NULL, SMP_T_BOOL, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1992:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "src_port", smp_fetch_sport, 0, NULL, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1994:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rtt", smp_fetch_fc_rtt, ARG1(0,STR), val_fc_time_value, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1995:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rttvar", smp_fetch_fc_rttvar, ARG1(0,STR), val_fc_time_value, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1997:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_unacked", smp_fetch_fc_unacked, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1998:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_sacked", smp_fetch_fc_sacked, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:1999:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_retrans", smp_fetch_fc_retrans, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2000:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_fackets", smp_fetch_fc_fackets, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2001:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_lost", smp_fetch_fc_lost, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/proto_tcp.c:2002:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_reordering", smp_fetch_fc_reordering, ARG1(0,STR), var_fc_counter, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2008:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2057:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ src/proto_tcp.c:2063: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/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from src/proto_tcp.c:44: include/types/server.h:359: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/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct srv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2066:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws); ^~~~~~~~~ src/proto_tcp.c:2069:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2070:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2071:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst" , tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2072:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2073:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2077:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_conn_keywords_register, &tcp_req_conn_actions); ^~~~~~~~~ src/proto_tcp.c:2080:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2081:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2082:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst" , tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2083:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2084:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2088:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_sess_keywords_register, &tcp_req_sess_actions); ^~~~~~~~~ src/proto_tcp.c:2091:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst" , tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2092:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2093:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2097:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_cont_actions); ^~~~~~~~~ src/proto_tcp.c:2100:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2104:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_cont_actions); ^~~~~~~~~ src/proto_tcp.c:2107:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2108:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2109:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-src-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2110:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/proto_tcp.c:2111:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-dst-port", tcp_parse_set_src_dst }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2115:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ src/proto_tcp.c:2118:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "silent-drop", tcp_parse_silent_drop }, ^ In file included from src/proto_tcp.c:44: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_tcp.c:37: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_tcp.c:2122:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(const char *, int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:314:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, hap_register_build_opts, (str), 0) ^~~~~~~~~ src/proto_tcp.c:2124:1: note: in expansion of macro 'REGISTER_BUILD_OPTS' REGISTER_BUILD_OPTS("Built with transparent proxy support using:" ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/h1.o In file included from include/common/buffer.h:30, from include/common/h1.h:25, from src/h1.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/h1.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/common/h1.h:25, from src/h1.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/common/h1.h:25, from src/h1.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:25, from src/h1.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/channel.h:32, from src/h1.c:18: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/h1.c:18: 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/h1.c:18: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/config.h:25, from src/h1.c:14: src/h1.c: In function 'h1_parse_cont_len_header': src/h1.c:52:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare] if (unlikely(cl > ULLONG_MAX / 10ULL)) ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/h1.c:73:37: warning: comparison of integer expressions of different signedness: 'long long int' and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare] if (h1m->flags & H1_MF_CLEN && cl != h1m->body_len) ^~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/cli.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/cli.c:29: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cli.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cli.c:29: 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/channel.h:32, from src/cli.c:51: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/cli.c:51: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from src/cli.c:66: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/ssl_sock.h:33, from src/cli.c:69: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/cli.c: In function 'alloc_stats_fe': src/cli.c:230:49: warning: unused parameter 'name' [-Wunused-parameter] static struct proxy *alloc_stats_fe(const char *name, const char *file, int line) ~~~~~~~~~~~~^~~~ src/cli.c: In function 'stats_parse_global': src/cli.c:263:48: warning: unused parameter 'section_type' [-Wunused-parameter] static int stats_parse_global(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/cli.c:263:76: warning: unused parameter 'curpx' [-Wunused-parameter] static int stats_parse_global(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/cli.c:264:45: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ In file included from include/common/cfgparse.h:27, from src/cli.c:29: src/cli.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169: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/cli.c:482:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("cli", cli_socket_setenv); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/cli.c: In function 'cli_io_handler_show_activity': src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1174:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "loops:"); SHOW_TOT(thr, activity[thr].loops); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1174:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "loops:"); SHOW_TOT(thr, activity[thr].loops); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1175:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_cache:"); SHOW_TOT(thr, activity[thr].wake_cache); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1175:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_cache:"); SHOW_TOT(thr, activity[thr].wake_cache); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1176:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_tasks:"); SHOW_TOT(thr, activity[thr].wake_tasks); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1176:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_tasks:"); SHOW_TOT(thr, activity[thr].wake_tasks); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1177:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_signal:"); SHOW_TOT(thr, activity[thr].wake_signal); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1177:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "wake_signal:"); SHOW_TOT(thr, activity[thr].wake_signal); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1178:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_exp:"); SHOW_TOT(thr, activity[thr].poll_exp); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1178:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_exp:"); SHOW_TOT(thr, activity[thr].poll_exp); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1179:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_drop:"); SHOW_TOT(thr, activity[thr].poll_drop); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1179:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_drop:"); SHOW_TOT(thr, activity[thr].poll_drop); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1180:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_dead:"); SHOW_TOT(thr, activity[thr].poll_dead); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1180:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_dead:"); SHOW_TOT(thr, activity[thr].poll_dead); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1181:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_skip:"); SHOW_TOT(thr, activity[thr].poll_skip); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1181:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "poll_skip:"); SHOW_TOT(thr, activity[thr].poll_skip); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1182:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "fd_lock:"); SHOW_TOT(thr, activity[thr].fd_lock); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1182:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "fd_lock:"); SHOW_TOT(thr, activity[thr].fd_lock); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1183:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "conn_dead:"); SHOW_TOT(thr, activity[thr].conn_dead); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1183:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "conn_dead:"); SHOW_TOT(thr, activity[thr].conn_dead); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1184:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "stream:"); SHOW_TOT(thr, activity[thr].stream); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1184:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "stream:"); SHOW_TOT(thr, activity[thr].stream); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1185:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "pool_fail:"); SHOW_TOT(thr, activity[thr].pool_fail); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1185:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "pool_fail:"); SHOW_TOT(thr, activity[thr].pool_fail); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1186:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "buf_wait:"); SHOW_TOT(thr, activity[thr].buf_wait); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1186:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "buf_wait:"); SHOW_TOT(thr, activity[thr].buf_wait); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1187:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "empty_rq:"); SHOW_TOT(thr, activity[thr].empty_rq); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1187:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "empty_rq:"); SHOW_TOT(thr, activity[thr].empty_rq); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1188:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "long_rq:"); SHOW_TOT(thr, activity[thr].long_rq); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1188:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "long_rq:"); SHOW_TOT(thr, activity[thr].long_rq); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1189:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "ctxsw:"); SHOW_TOT(thr, activity[thr].ctxsw); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1189:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "ctxsw:"); SHOW_TOT(thr, activity[thr].ctxsw); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1190:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "tasksw:"); SHOW_TOT(thr, activity[thr].tasksw); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1190:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "tasksw:"); SHOW_TOT(thr, activity[thr].tasksw); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1191:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_tot:"); SHOW_TOT(thr, activity[thr].cpust_total / 2); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1191:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_tot:"); SHOW_TOT(thr, activity[thr].cpust_total / 2); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1192:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_1s:"); SHOW_TOT(thr, read_freq_ctr(&activity[thr].cpust_1s) / 2); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1192:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_1s:"); SHOW_TOT(thr, read_freq_ctr(&activity[thr].cpust_1s) / 2); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1193:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_15s:"); SHOW_TOT(thr, read_freq_ctr_period(&activity[thr].cpust_15s, 15000) / 2); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1193:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "cpust_ms_15s:"); SHOW_TOT(thr, read_freq_ctr_period(&activity[thr].cpust_15s, 15000) / 2); ^~~~~~~~ src/cli.c:1160:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1194:42: note: in expansion of macro 'SHOW_AVG' chunk_appendf(&trash, "avg_loop_us:"); SHOW_AVG(thr, swrate_avg(activity[thr].avg_loop_us, TIME_STATS_SAMPLES)); ^~~~~~~~ src/cli.c:1167:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1194:42: note: in expansion of macro 'SHOW_AVG' chunk_appendf(&trash, "avg_loop_us:"); SHOW_AVG(thr, swrate_avg(activity[thr].avg_loop_us, TIME_STATS_SAMPLES)); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1195:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accepted:"); SHOW_TOT(thr, activity[thr].accepted); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1195:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accepted:"); SHOW_TOT(thr, activity[thr].accepted); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1196:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_pushed:"); SHOW_TOT(thr, activity[thr].accq_pushed); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1196:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_pushed:"); SHOW_TOT(thr, activity[thr].accq_pushed); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1197:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_full:"); SHOW_TOT(thr, activity[thr].accq_full); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1197:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_full:"); SHOW_TOT(thr, activity[thr].accq_full); ^~~~~~~~ src/cli.c:1142:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (_tot = t = 0; t < _nbt; t++) \ ^ src/cli.c:1199:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_ring:"); SHOW_TOT(thr, (accept_queue_rings[thr].tail - accept_queue_rings[thr].head + ACCEPT_QUEUE_SIZE) % ACCEPT_QUEUE_SIZE); ^~~~~~~~ src/cli.c:1149:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (t = 0; t < _nbt; t++) \ ^ src/cli.c:1199:42: note: in expansion of macro 'SHOW_TOT' chunk_appendf(&trash, "accq_ring:"); SHOW_TOT(thr, (accept_queue_rings[thr].tail - accept_queue_rings[thr].head + ACCEPT_QUEUE_SIZE) % ACCEPT_QUEUE_SIZE); ^~~~~~~~ src/cli.c: In function 'cli_io_handler_show_cli_sock': src/cli.c:1296:26: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (pos = 0; pos < 8 * sizeof(bind_conf->bind_proc); pos++) { ^ src/cli.c: In function 'cli_parse_show_env': src/cli.c:1327:50: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_env(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1327:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_env(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_show_fd': src/cli.c:1361:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_fd(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1361:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_fd(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_set_timeout': src/cli.c:1376:53: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_timeout(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1376:91: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_timeout(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_set_maxconn_global': src/cli.c:1413:60: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_maxconn_global(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1413:98: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_maxconn_global(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_set_severity_output': src/cli.c:1466:61: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_severity_output(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1466:99: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_severity_output(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_show_lvl': src/cli.c:1479:38: warning: unused parameter 'args' [-Wunused-parameter] static int cli_parse_show_lvl(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/cli.c:1479:50: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_lvl(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1479:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_lvl(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_set_lvl': src/cli.c:1498:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_lvl(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1498:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_lvl(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_default': src/cli.c:1522:30: warning: unused parameter 'args' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/cli.c:1522:42: warning: unused parameter 'payload' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1522:66: warning: unused parameter 'appctx' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~~~~~~~~~^~~~~~ src/cli.c:1522:80: warning: unused parameter 'private' [-Wunused-parameter] int cli_parse_default(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_set_ratelimit': src/cli.c:1528:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_ratelimit(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1528:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_ratelimit(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'bind_parse_expose_fd': src/cli.c:1588:73: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_expose_fd(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/cli.c: In function 'bind_parse_level': src/cli.c:1606:69: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_level(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/cli.c: In function 'bind_parse_severity_output': src/cli.c:1631:79: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_severity_output(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/cli.c: In function '_getsocks': src/cli.c:1650:29: warning: unused parameter 'args' [-Wunused-parameter] static int _getsocks(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/cli.c:1650:41: warning: unused parameter 'payload' [-Wunused-parameter] static int _getsocks(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1650:79: warning: unused parameter 'private' [-Wunused-parameter] static int _getsocks(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'cli_parse_simple': src/cli.c:1911:48: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_simple(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c:1911:86: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_simple(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cli.c: In function 'pcli_wait_for_request': src/cli.c:2243:70: warning: unused parameter 'an_bit' [-Wunused-parameter] int pcli_wait_for_request(struct stream *s, struct channel *req, int an_bit) ~~~~^~~~~~ src/cli.c: In function 'pcli_wait_for_response': src/cli.c:2338:71: warning: unused parameter 'an_bit' [-Wunused-parameter] int pcli_wait_for_response(struct stream *s, struct channel *rep, int an_bit) ~~~~^~~~~~ src/cli.c: At top level: src/cli.c:2818:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "help", NULL }, NULL, cli_parse_simple, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2819:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "prompt", NULL }, NULL, cli_parse_simple, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2820:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "quit", NULL }, NULL, cli_parse_simple, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2821:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "maxconn", "global", NULL }, "set maxconn global : change the per-process maxconn setting", cli_parse_set_maxconn_global, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2822:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "rate-limit", NULL }, "set rate-limit : change a rate limiting value", cli_parse_set_ratelimit, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2823:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "severity-output", NULL }, "set severity-output [none|number|string] : set presence of severity level in feedback information", cli_parse_set_severity_output, NULL, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2824:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "timeout", NULL }, "set timeout : change a timeout setting", cli_parse_set_timeout, NULL, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2825:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "env", NULL }, "show env [var] : dump environment variables known to the process", cli_parse_show_env, cli_io_handler_show_env, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2828:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "fd", NULL }, "show fd [num] : dump list of file descriptors in use", cli_parse_show_fd, cli_io_handler_show_fd, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2829:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "activity", NULL }, "show activity : show per-thread activity stats (for support/developers)", cli_parse_default, cli_io_handler_show_activity, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/cli.c:2832:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "_getsocks", NULL }, NULL, _getsocks, NULL }, ^ In file included from src/cli.c:44: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/cli.c:2833:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/cli.c:44: include/types/cli.h:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/cli.c:29: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cli.c:2836:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cli.c:2843:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cli.c:2852:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ src/cli.c: In function 'cli_io_handler_show_cli_sock': src/cli.c:1239:16: warning: this statement may fall through [-Wimplicit-fallthrough=] appctx->st2 = STAT_ST_LIST; ~~~~~~~~~~~~^~~~~~~~~~~~~~ src/cli.c:1241:3: note: here case STAT_ST_LIST: ^~~~ src/cli.c:1242:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (global.stats_fe) { ^ src/cli.c:1316:3: note: here default: ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/proto_http.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 'long 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:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, 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:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/proto_http.c:27: 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/channel.h:32, from src/proto_http.c:52: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/proto_http.c:52: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/proto_http.c:66: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/proto_http.c:70: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/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': include/proto/connection.h:972: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:972: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:986: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/proto_http.c:27: src/proto_http.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/proto_http.c:282:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_http_txn, "http_txn", sizeof(struct http_txn)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/proto_http.c:283:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_uniqueid, "uniqueid", UNIQUEID_LEN); ^~~~~~~~~~~~ src/proto_http.c: In function 'http_change_connection_header': src/proto_http.c:466: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:513:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((txn->flags & TX_CON_WANT_MSK) < tmp) ^ src/proto_http.c: In function 'http_wait_for_request': src/proto_http.c:630:31: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] eol = sol + (msg->sl.rq.l ? msg->sl.rq.l : ci_data(req)); ^~~~~~~~~~~~ src/proto_http.c:1104: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/proto_http.c: In function 'http_handle_stats': src/proto_http.c:1198:57: warning: unused parameter 'req' [-Wunused-parameter] int http_handle_stats(struct stream *s, struct channel *req) ~~~~~~~~~~~~~~~~^~~ src/proto_http.c: In function 'http_wait_for_request_body': src/proto_http.c:3234: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) ^ src/proto_http.c:3277: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 */ ^~ src/proto_http.c: In function 'http_wait_for_response': src/proto_http.c:4288:31: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'long 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_http.c:4771: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/proto_http.c: In function 'stats_check_uri': src/proto_http.c:7098:46: warning: unused parameter 'si' [-Wunused-parameter] int stats_check_uri(struct stream_interface *si, struct http_txn *txn, struct proxy *backend) ~~~~~~~~~~~~~~~~~~~~~~~~~^~ src/proto_http.c: In function 'http_capture_bad_message': src/proto_http.c:7169: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/proto_http.c: In function 'http_msg_forward_chunked_body': src/proto_http.c:5529:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_CRLF; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/proto_http.c:5532:3: note: here case HTTP_MSG_CHUNK_CRLF: ^~~~ src/proto_http.c:5544:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_SIZE; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/proto_http.c:5547:3: note: here case HTTP_MSG_CHUNK_SIZE: ^~~~ src/proto_http.c:5571:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_TRAILERS; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/proto_http.c:5574:3: note: here case HTTP_MSG_TRAILERS: ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/stream_interface.o In file included from include/common/buffer.h:30, from src/stream_interface.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32, from src/stream_interface.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/stream_interface.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/stream_interface.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/stream_interface.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/stream_interface.c:30: include/proto/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/stream_interface.c:30: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from src/stream_interface.c:30: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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 src/stream_interface.c:31: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/stream_interface.c:31: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/stream_interface.c: In function 'si_cs_io_cb': src/stream_interface.c:803:39: warning: unused parameter 't' [-Wunused-parameter] struct task *si_cs_io_cb(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~^ src/stream_interface.c:803:68: warning: unused parameter 'state' [-Wunused-parameter] struct task *si_cs_io_cb(struct task *t, void *ctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/stream_interface.c: In function 'si_cs_recv': src/stream_interface.c:1467:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] (cur_read <= ic->buf.size / 2)) { ^~ src/stream_interface.c:1486:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] (cur_read >= ic->buf.size - global.tune.maxrewrite)) { ^~ src/stream_interface.c: In function 'stream_int_shutw': src/stream_interface.c:238:13: warning: this statement may fall through [-Wimplicit-fallthrough=] si->state = SI_ST_DIS; ~~~~~~~~~~^~~~~~~~~~~ src/stream_interface.c:239:2: note: here default: ^~~~~~~ src/stream_interface.c: In function 'stream_int_shutw_applet': src/stream_interface.c:1704:13: warning: this statement may fall through [-Wimplicit-fallthrough=] si->state = SI_ST_DIS; ~~~~~~~~~~^~~~~~~~~~~ src/stream_interface.c:1705:2: note: here default: ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/cfgparse-global.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/cfgparse-global.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse-global.c:14: 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))); ^ src/cfgparse-global.c: In function 'cfg_parse_global': src/cfgparse-global.c:527:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (global.nbproc < 1 || global.nbproc > MAX_PROCS) { ^ src/cfgparse-global.c:1055:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = n = 0; i < MAX_PROCS; i++) { ^ src/cfgparse-global.c:1074:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = n = 0; i < MAX_PROCS; i++) { ^ src/cfgparse-global.c:1089:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (j = n = 0; j < MAX_THREADS; j++) { ^ src/cfgparse-global.c:1163:32: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (!delim || delim - *env >= trash.size) { ^~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/http_act.o In file included from src/http_act.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from src/http_act.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/http_act.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_act.c:30: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_act.c:30: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/http_htx.h:26, from include/proto/http_htx.h:29, from src/http_act.c:35: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/log.h:37, from src/http_act.c:36: 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/proto_http.h:29, from src/http_act.c:37: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/http_act.c:37: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/http_act.c:38: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/http_act.c:38: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/http_act.c: In function 'http_action_set_req_line': src/http_act.c:49:65: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:49:93: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'http_action_replace_uri': src/http_act.c:142:64: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:142:92: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'action_http_set_status': src/http_act.c:228:84: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return action_http_set_status(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:229:63: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:229:91: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'parse_http_set_status': src/http_act.c:240:97: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_http_set_status(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c: In function 'http_action_reject': src/http_act.c:282:60: warning: unused parameter 'rule' [-Wunused-parameter] static enum act_return http_action_reject(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~~~~^~~~ src/http_act.c:282:80: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_reject(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:283:87: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'parse_http_action_reject': src/http_act.c:308:65: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret parse_http_action_reject(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~^~~~ src/http_act.c:308:76: warning: unused parameter 'orig_arg' [-Wunused-parameter] static enum act_parse_ret parse_http_action_reject(const char **args, int *orig_arg, struct proxy *px, ~~~~~^~~~~~~~ src/http_act.c:308:100: warning: unused parameter 'px' [-Wunused-parameter] static enum act_parse_ret parse_http_action_reject(const char **args, int *orig_arg, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:309:82: warning: unused parameter 'err' [-Wunused-parameter] struct act_rule *rule, char **err) ~~~~~~~^~~ src/http_act.c: In function 'http_req_disable_l7_retry': src/http_act.c:322:67: warning: unused parameter 'rule' [-Wunused-parameter] static enum act_return http_req_disable_l7_retry(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~~~~^~~~ src/http_act.c:322:87: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_req_disable_l7_retry(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:323:59: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/http_act.c:323:87: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'parse_http_req_disable_l7_retry': src/http_act.c:339:72: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret parse_http_req_disable_l7_retry(const char **args, ~~~~~~~~~~~~~^~~~ src/http_act.c:340:15: warning: unused parameter 'orig_args' [-Wunused-parameter] int *orig_args, struct proxy *px, ~~~~~^~~~~~~~~ src/http_act.c:340:40: warning: unused parameter 'px' [-Wunused-parameter] int *orig_args, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:341:40: warning: unused parameter 'err' [-Wunused-parameter] struct act_rule *rule, char **err) ~~~~~~~^~~ src/http_act.c: In function 'http_action_req_capture': src/http_act.c:353:85: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_req_capture(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:354:92: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'http_action_req_capture_by_id': src/http_act.c:385:91: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_req_capture_by_id(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:386:98: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: In function 'http_action_res_capture_by_id': src/http_act.c:570:91: warning: unused parameter 'px' [-Wunused-parameter] static enum act_return http_action_res_capture_by_id(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/http_act.c:571:98: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/http_act.c: At top level: src/http_act.c:710:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "capture", parse_http_req_capture }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:711:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "reject", parse_http_action_reject }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:712:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "disable-l7-retry", parse_http_req_disable_l7_retry }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:713:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "replace-path", parse_replace_uri }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:714:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "replace-uri", parse_replace_uri }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:715:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-method", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:716:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-path", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:717:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-query", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:718:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-uri", parse_set_req_line }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:719:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_act.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_act.c:723:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ src/http_act.c:727:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "capture", parse_http_res_capture }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:728:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-status", parse_http_set_status }, ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/http_act.c:729:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from include/proto/http_rules.h:27, from src/http_act.c:34: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_act.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_act.c:733:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/http_rules.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/http_rules.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_rules.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/http_rules.c:19: 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/channel.h:32, from include/proto/proto_http.h:29, from src/http_rules.c:36: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/proto_http.h:29, from src/http_rules.c:36: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/http_rules.c:36: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/listener.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/listener.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/listener.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/listener.c:34: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/listener.c:34: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/listener.c: In function 'accept_queue_push_mp': src/listener.c:138:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (addr_len > sizeof(e->addr)) ^ src/listener.c: In function 'accept_queue_process': src/listener.c:155:88: warning: unused parameter 'state' [-Wunused-parameter] static struct task *accept_queue_process(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from include/common/cfgparse.h:27, from src/listener.c:22: src/listener.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169: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/listener.c:222:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("multi-threaded accept queue", accept_queue_init); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/listener.c: In function 'listener_accept': src/listener.c:673:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (max_accept > max) ^ src/listener.c:686:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (max_accept > max) ^ src/listener.c:699:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (max_accept > max) ^ src/listener.c:713:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (max_accept > max) ^ In file included from include/common/config.h:25, from include/common/cfgparse.h:26, from src/listener.c:22: src/listener.c:734:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (unlikely(l->maxconn && count >= l->maxconn)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/listener.c:763:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (unlikely(count >= global.maxconn)) { ^~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/listener.c: In function 'listener_queue_process': src/listener.c:1117:90: warning: unused parameter 'state' [-Wunused-parameter] static struct task *listener_queue_process(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ In file included from include/common/cfgparse.h:27, from src/listener.c:22: src/listener.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169: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/listener.c:1145:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("multi-threaded listener queue", listener_queue_init); ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:322:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_deinit, (fct)) ^~~~~~~~~ src/listener.c:1146:1: note: in expansion of macro 'REGISTER_POST_DEINIT' REGISTER_POST_DEINIT(listener_queue_deinit); ^~~~~~~~~~~~~~~~~~~~ src/listener.c: In function 'smp_fetch_dconn': src/listener.c:1219:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_dconn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/listener.c:1219:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_dconn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/listener.c:1219:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_dconn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/listener.c: In function 'smp_fetch_so_id': src/listener.c:1228:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_so_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/listener.c:1228:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_so_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/listener.c:1228:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_so_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/listener.c: In function 'smp_fetch_so_name': src/listener.c:1235:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_so_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/listener.c:1235:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_so_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/listener.c:1235:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_so_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/listener.c: In function 'bind_parse_accept_proxy': src/listener.c:1248:43: warning: unused parameter 'args' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~~ src/listener.c:1248:53: warning: unused parameter 'cur_arg' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~^~~~~~~ src/listener.c:1248:76: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c:1248:111: warning: unused parameter 'err' [-Wunused-parameter] static int bind_parse_accept_proxy(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~^~~ src/listener.c: In function 'bind_parse_accept_netscaler_cip': src/listener.c:1259:84: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_accept_netscaler_cip(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_backlog': src/listener.c:1284:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_backlog(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_maxconn': src/listener.c:1350:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_maxconn(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_name': src/listener.c:1373:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_name(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_nice': src/listener.c:1389:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_nice(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_process': src/listener.c:1412:71: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_process(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'bind_parse_proto': src/listener.c:1439:69: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_proto(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/listener.c: In function 'cfg_parse_tune_listener_mq': src/listener.c:1458:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_tune_listener_mq(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/listener.c:1458:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_tune_listener_mq(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/listener.c:1459:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/listener.c:1459:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/listener.c:1459:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/listener.c: At top level: src/listener.c:1480:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "dst_conn", smp_fetch_dconn, 0, NULL, SMP_T_SINT, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/listener.c:1481:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "so_id", smp_fetch_so_id, 0, NULL, SMP_T_SINT, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/listener.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/listener.c:1482:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "so_name", smp_fetch_so_name, 0, NULL, SMP_T_STR, SMP_USE_FTEND, }, ^ In file included from include/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/listener.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/cfgparse.h:27, from src/listener.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/listener.c:1486:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/listener.c:1495:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/listener.c:1517:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/listener.c:1525:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/backend.o In file included from include/common/buffer.h:30, from src/backend.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32, from src/backend.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/backend.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/backend.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/backend.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/backend.c:27: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/backend.c:38: 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/backend.c:38: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/backend.c:51: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/backend.c:56: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/backend.c:59: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/backend.c: In function 'get_server_sh': src/backend.c:180:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] while ((l + sizeof (int)) <= len) { ^~ src/backend.c: In function 'get_server_ph_post': src/backend.c:340:11: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] if (len > b_wrap(&req->buf) - p) ^ src/backend.c: In function 'assign_server_and_queue': src/backend.c:1035:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (srv->nbpend || srv->served >= srv_dynamic_maxconn(srv))) { ^~ src/backend.c: In function 'connect_server': src/backend.c:1359:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (i == tid) ^~ src/backend.c:1678:23: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] rewind = s->txn ? http_hdr_rewind(&s->txn->req) : co_data(&s->req); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backend.c: In function 'smp_fetch_nbsrv': src/backend.c:2112:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_nbsrv(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2112:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_nbsrv(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_is_up': src/backend.c:2131:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_is_up(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2131:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_is_up(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_connslots': src/backend.c:2150:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_connslots(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2150:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_connslots(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_be_id': src/backend.c:2177:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_be_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2177:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2177:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_be_name': src/backend.c:2190:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_be_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2190:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2190:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_id': src/backend.c:2208:36: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_srv_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2208:74: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2208:84: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_be_sess_rate': src/backend.c:2227:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2227:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_be_conn': src/backend.c:2240:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2240:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_be_conn_free': src/backend.c:2281:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (maxconn > iterator->cur_sess) ^ src/backend.c:2254:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_be_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2254:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_be_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_queue_size': src/backend.c:2293:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2293:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_avg_queue_size': src/backend.c:2310:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_avg_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2310:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_avg_queue_size(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_conn': src/backend.c:2334:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2334:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_conn_free': src/backend.c:2361:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (maxconn > args->data.srv->cur_sess) ^ src/backend.c:2347:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2347:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_conn_free(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_queue': src/backend.c:2374:77: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_queue(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2374:87: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_queue(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'smp_fetch_srv_sess_rate': src/backend.c:2387:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_srv_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/backend.c:2387:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_srv_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/backend.c: In function 'sample_conv_nbsrv': src/backend.c:2395:48: warning: unused parameter 'args' [-Wunused-parameter] static int sample_conv_nbsrv(const struct arg *args, struct sample *smp, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/backend.c:2395:80: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_nbsrv(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/backend.c: At top level: src/backend.c:2418:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "avg_queue", smp_fetch_avg_queue_size, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2419:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_conn", smp_fetch_be_conn, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2420:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_conn_free", smp_fetch_be_conn_free, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2421:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_id", smp_fetch_be_id, 0, NULL, SMP_T_SINT, SMP_USE_BKEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2422:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_name", smp_fetch_be_name, 0, NULL, SMP_T_STR, SMP_USE_BKEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2423:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "be_sess_rate", smp_fetch_be_sess_rate, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2424:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "connslots", smp_fetch_connslots, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2425:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "nbsrv", smp_fetch_nbsrv, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2426:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "queue", smp_fetch_queue_size, ARG1(1,BE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2427:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_conn", smp_fetch_srv_conn, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2428:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_conn_free", smp_fetch_srv_conn_free, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2429:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_id", smp_fetch_srv_id, 0, NULL, SMP_T_SINT, SMP_USE_SERVR, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2430:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_is_up", smp_fetch_srv_is_up, ARG1(1,SRV), NULL, SMP_T_BOOL, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2431:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_queue", smp_fetch_srv_queue, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/backend.c:2432:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "srv_sess_rate", smp_fetch_srv_sess_rate, ARG1(1,SRV), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/backend.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/backend.c:2436:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ src/backend.c:2440:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "nbsrv", sample_conv_nbsrv, 0, NULL, SMP_T_STR, SMP_T_SINT }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/backend.c:33: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/backend.c:22: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/backend.c:2444:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/backend.c:2453:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/filters.o In file included from include/common/buffer.h:30, from src/filters.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32, from src/filters.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/filters.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/filters.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/filters.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/filters.c:15: 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/filters.c:19: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/filters.h:30, from src/filters.c:29: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/filters.c:32: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/filters.c:34: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/filters.c:34: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/filters.c:13: src/filters.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/filters.c:37:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_filter, "filter", sizeof(struct filter)); ^~~~~~~~~~~~~~~~~~~ src/filters.c: In function 'parse_filter': src/filters.c:177:31: warning: unused parameter 'section_type' [-Wunused-parameter] parse_filter(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/filters.c: In function 'flt_end_analyze': src/filters.c:998:69: warning: unused parameter 'an_bit' [-Wunused-parameter] flt_end_analyze(struct stream *s, struct channel *chn, unsigned int an_bit) ~~~~~~~~~~~~~^~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/filters.c:13: src/filters.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/filters.c:1300:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:318:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/filters.c:1302:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(flt_init_all); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:330:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_init, (fct)) ^~~~~~~~~ src/filters.c:1303:1: note: in expansion of macro 'REGISTER_PER_THREAD_INIT' REGISTER_PER_THREAD_INIT(flt_init_all_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:334:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_deinit, (fct)) ^~~~~~~~~ src/filters.c:1304:1: note: in expansion of macro 'REGISTER_PER_THREAD_DEINIT' REGISTER_PER_THREAD_DEINIT(flt_deinit_all_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/proto_uxst.o In file included from include/common/standard.h:36, from src/proto_uxst.c:35: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/proto_uxst.c:35: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/proto_uxst.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/global.h:33, from src/proto_uxst.c:39: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/proto_uxst.c:39: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_uxst.c:41: include/proto/queue.h: In function 'server_has_room': 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/proto_uxst.c:41: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/proto_uxst.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_uxst.c:31: src/proto_uxst.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct protocol *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_uxst.c:81:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, protocol_register, &proto_unix); ^~~~~~~~~ src/proto_uxst.c: In function 'uxst_bind_listener': src/proto_uxst.c:307:37: warning: comparison of integer expressions of different signedness: 'uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] (((listener->bind_conf->ux.uid != -1 || listener->bind_conf->ux.gid != -1) && ^~ src/proto_uxst.c:307:74: warning: comparison of integer expressions of different signedness: 'gid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] (((listener->bind_conf->ux.uid != -1 || listener->bind_conf->ux.gid != -1) && ^~ src/proto_uxst.c: In function 'uxst_add_listener': src/proto_uxst.c:389:62: warning: unused parameter 'port' [-Wunused-parameter] static void uxst_add_listener(struct listener *listener, int port) ~~~~^~~~ src/proto_uxst.c: In function 'bind_parse_mode': src/proto_uxst.c:638:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_mode(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_uxst.c: In function 'bind_parse_gid': src/proto_uxst.c:653:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_gid(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_uxst.c: In function 'bind_parse_group': src/proto_uxst.c:665:69: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_group(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_uxst.c: In function 'bind_parse_uid': src/proto_uxst.c:685:67: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_uid(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ src/proto_uxst.c: In function 'bind_parse_user': src/proto_uxst.c:697:68: warning: unused parameter 'px' [-Wunused-parameter] static int bind_parse_user(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) ~~~~~~~~~~~~~~^~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_uxst.c:31: src/proto_uxst.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct bind_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_uxst.c:732:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/acl.o In file included from include/common/standard.h:36, from src/acl.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/acl.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/acl.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/acl.c:23: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/acl.c:23: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/channel.h:32, from src/acl.c:28: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/acl.c:28: 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/acl.c:28: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/acl.c:18: src/acl.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/acl.c:1359:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ src/acl.c: In function 'parse_acl_expr': src/acl.c:644:11: warning: this statement may fall through [-Wimplicit-fallthrough=] value++; /* gt = ge + 1 */ ~~~~~^~ src/acl.c:646:5: note: here case STD_OP_GE: ^~~~ src/acl.c:656:11: warning: this statement may fall through [-Wimplicit-fallthrough=] value--; /* lt = le - 1 */ ~~~~~^~ src/acl.c:658:5: note: here case STD_OP_LE: ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/tcp_rules.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/tcp_rules.c:12: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/tcp_rules.c:12: 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/channel.h:32, from src/tcp_rules.c:29: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/tcp_rules.c:29: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/tcp_rules.c:30: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/tcp_rules.c:30: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/tcp_rules.c: In function 'tcp_parse_response_rule': src/tcp_rules.c:587:62: warning: unused parameter 'section_type' [-Wunused-parameter] static int tcp_parse_response_rule(char **args, int arg, int section_type, ~~~~^~~~~~~~~~~~ src/tcp_rules.c:590:49: warning: unused parameter 'where' [-Wunused-parameter] unsigned int where, ~~~~~~~~~~~~~^~~~~ src/tcp_rules.c: In function 'tcp_parse_request_rule': src/tcp_rules.c:650:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int tcp_parse_request_rule(char **args, int arg, int section_type, ~~~~^~~~~~~~~~~~ In file included from include/common/cfgparse.h:27, from src/tcp_rules.c:12: src/tcp_rules.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/tcp_rules.c:1224:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/vars.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/vars.c:3: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: 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/channel.h:32, from include/proto/proto_http.h:29, from src/vars.c:12: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/proto_http.h:29, from src/vars.c:12: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/vars.c:12: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/cfgparse.h:27, from src/vars.c:3: src/vars.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/vars.c:19:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(var_pool, "vars", sizeof(struct var)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:282:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_rwlock_init, &(lock)) ^~~~~~~~~ src/vars.c:37:1: note: in expansion of macro '__decl_rwlock' __decl_rwlock(var_names_rwlock); ^~~~~~~~~~~~~ src/vars.c: In function 'smp_fetch_var': src/vars.c:304:82: warning: unused parameter 'kw' [-Wunused-parameter] static int smp_fetch_var(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/vars.c:304:92: warning: unused parameter 'private' [-Wunused-parameter] static int smp_fetch_var(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/vars.c: In function 'smp_conv_store': src/vars.c:469:77: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_store(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/vars.c: In function 'smp_conv_clear': src/vars.c:475:77: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_clear(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/vars.c: In function 'action_store': src/vars.c:634:81: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/vars.c: In function 'action_clear': src/vars.c:665:81: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/vars.c: In function 'conv_check_var': src/vars.c:690:65: warning: unused parameter 'conv' [-Wunused-parameter] static int conv_check_var(struct arg *args, struct sample_conv *conv, ~~~~~~~~~~~~~~~~~~~~^~~~ src/vars.c:691:39: warning: unused parameter 'file' [-Wunused-parameter] const char *file, int line, char **err_msg) ~~~~~~~~~~~~^~~~ src/vars.c:691:49: warning: unused parameter 'line' [-Wunused-parameter] const char *file, int line, char **err_msg) ~~~~^~~~ src/vars.c: In function 'vars_max_size': src/vars.c:781:43: warning: unused parameter 'section_type' [-Wunused-parameter] static int vars_max_size(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/vars.c:781:71: warning: unused parameter 'curpx' [-Wunused-parameter] static int vars_max_size(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/vars.c:782:40: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/vars.c:782:59: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/vars.c:782:69: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/vars.c: At top level: src/vars.c:832:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "var", smp_fetch_var, ARG1(1,STR), smp_check_var, SMP_T_STR, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:836:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ src/vars.c:839:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "set-var", smp_conv_store, ARG1(1,STR), conv_check_var, SMP_T_ANY, SMP_T_ANY }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/vars.c:840:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "unset-var", smp_conv_clear, ARG1(1,STR), conv_check_var, SMP_T_ANY, SMP_T_ANY }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:844:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ src/vars.c:847:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:848:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:852:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_sess_keywords_register, &tcp_req_sess_kws); ^~~~~~~~~ src/vars.c:855:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:856:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:860:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_req_cont_kws); ^~~~~~~~~ src/vars.c:863:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:864:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:868:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_res_cont_keywords_register, &tcp_res_kws); ^~~~~~~~~ src/vars.c:871:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:872:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:876:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/vars.c:879:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "set-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ src/vars.c:880:2: warning: missing initializer for field 'private' of 'struct action_kw' [-Wmissing-field-initializers] { "unset-var", parse_store, 1 }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/vars.c:3: include/types/action.h:184:8: note: 'private' declared here void *private; ^~~~~~~ In file included from include/common/cfgparse.h:27, from src/vars.c:3: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:884:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/vars.c:895:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/raw_sock.o In file included from include/common/buffer.h:30, from src/raw_sock.c:25: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32, from src/raw_sock.c:25: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/raw_sock.c:25: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/raw_sock.c:25: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/raw_sock.c:25: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/raw_sock.c:33: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison 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/raw_sock.c:33: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/raw_sock.c:33: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/raw_sock.c:39: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/raw_sock.c:39: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/raw_sock.c: In function 'raw_sock_to_pipe': src/raw_sock.c:63:53: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] int raw_sock_to_pipe(struct connection *conn, void *xprt_ctx, struct pipe *pipe, unsigned int count) ~~~~~~^~~~~~~~ src/raw_sock.c: In function 'raw_sock_from_pipe': src/raw_sock.c:176:55: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] int raw_sock_from_pipe(struct connection *conn, void *xprt_ctx, struct pipe *pipe) ~~~~~~^~~~~~~~ src/raw_sock.c: In function 'raw_sock_to_buf': src/raw_sock.c:272:12: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ret < try) { ^ src/raw_sock.c:227:62: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] static size_t raw_sock_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~~~^~~~~~~~ src/raw_sock.c:227:110: warning: unused parameter 'flags' [-Wunused-parameter] static size_t raw_sock_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/raw_sock.c: In function 'raw_sock_from_buf': src/raw_sock.c:376:12: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ret < try) ^ src/raw_sock.c:340:64: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] static size_t raw_sock_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~~~^~~~~~~~ src/raw_sock.c: In function 'raw_sock_remove_xprt': src/raw_sock.c:414:52: warning: unused parameter 'conn' [-Wunused-parameter] static int raw_sock_remove_xprt(struct connection *conn, void *xprt_ctx, void *toremove_ctx, const struct xprt_ops *newops, void *newctx) ~~~~~~~~~~~~~~~~~~~^~~~ src/raw_sock.c:414:64: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] static int raw_sock_remove_xprt(struct connection *conn, void *xprt_ctx, void *toremove_ctx, const struct xprt_ops *newops, void *newctx) ~~~~~~^~~~~~~~ src/raw_sock.c:414:80: warning: unused parameter 'toremove_ctx' [-Wunused-parameter] static int raw_sock_remove_xprt(struct connection *conn, void *xprt_ctx, void *toremove_ctx, const struct xprt_ops *newops, void *newctx) ~~~~~~^~~~~~~~~~~~ src/raw_sock.c:414:117: warning: unused parameter 'newops' [-Wunused-parameter] static int raw_sock_remove_xprt(struct connection *conn, void *xprt_ctx, void *toremove_ctx, const struct xprt_ops *newops, void *newctx) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/raw_sock.c:414:131: warning: unused parameter 'newctx' [-Wunused-parameter] static int raw_sock_remove_xprt(struct connection *conn, void *xprt_ctx, void *toremove_ctx, const struct xprt_ops *newops, void *newctx) ~~~~~~^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/map.o In file included from include/common/standard.h:36, from src/map.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/map.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proto_http.h:27, from include/types/hlua.h:12, from include/types/applet.h:26, from src/map.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from src/map.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from src/map.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/map.c:26: include/proto/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/map.c:26: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from src/map.c:26: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/map.c:32: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/map.c:32: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/map.c: In function 'cli_parse_get_map': src/map.c:596:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_get_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:596:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_get_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_show_map': src/map.c:663:50: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:663:88: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_set_map': src/map.c:703:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:703:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_add_map': src/map.c:817:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_add_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_del_map': src/map.c:953:49: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_del_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:953:87: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_del_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: In function 'cli_parse_clear_map': src/map.c:1067:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_clear_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c:1067:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_clear_map(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/map.c: At top level: src/map.c:1115:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "add", "acl", NULL }, "add acl : add acl entry", cli_parse_add_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1116:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "clear", "acl", NULL }, "clear acl : clear the content of this acl", cli_parse_clear_map, cli_io_handler_clear_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/map.c:1117:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "del", "acl", NULL }, "del acl : delete acl entry", cli_parse_del_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1118:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "get", "acl", NULL }, "get acl : report the patterns matching a sample for an ACL", cli_parse_get_map, cli_io_handler_map_lookup, cli_release_mlook }, ^ In file included from src/map.c:20: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/map.c:1119:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "acl", NULL }, "show acl [id] : report available acls or dump an acl's contents", cli_parse_show_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1120:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "add", "map", NULL }, "add map : add map entry", cli_parse_add_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1121:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "clear", "map", NULL }, "clear map : clear the content of this map", cli_parse_clear_map, cli_io_handler_clear_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/map.c:1122:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "del", "map", NULL }, "del map : delete map entry", cli_parse_del_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1123:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "get", "map", NULL }, "get map : report the keys and values matching a sample for a map", cli_parse_get_map, cli_io_handler_map_lookup, cli_release_mlook }, ^ In file included from src/map.c:20: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/map.c:1124:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "map", NULL }, "set map : modify map entry", cli_parse_set_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1125:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "map", NULL }, "show map [id] : report available maps or dump a map's contents", cli_parse_show_map, NULL }, ^ In file included from src/map.c:20: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/map.c:1126:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { NULL }, NULL, NULL, NULL } ^ In file included from src/map.c:20: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ In file included from src/map.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/map.c:1129:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/map.c:1183:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/session.o In file included from include/common/buffer.h:30, from src/session.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32, from src/session.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/session.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/session.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/session.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/session.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison 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/session.c:22: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/session.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/session.c:14: src/session.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/session.c:31:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_session, "session", sizeof(struct session)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/session.c:32:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_sess_srv_list, "session server list", ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/connection.o In file included from include/common/standard.h:36, from include/common/net_helper.h:31, from src/connection.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/net_helper.h:31, from src/connection.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/connection.h:26, from src/connection.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/fd.h:32, from include/proto/connection.h:30, from src/connection.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/connection.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison 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/connection.c:22: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/connection.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/connection.c:26: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/connection.c:26: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/connection.c:17: src/connection.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/connection.c:32:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_connection, "connection", sizeof(struct connection)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/connection.c:33:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_connstream, "conn_stream", sizeof(struct conn_stream)); ^~~~~~~~~~~~ src/connection.c: In function 'conn_unsubscribe': src/connection.c:241:53: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] int conn_unsubscribe(struct connection *conn, void *xprt_ctx, int event_type, void *param) ~~~~~~^~~~~~~~ src/connection.c: In function 'conn_subscribe': src/connection.c:263:51: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] int conn_subscribe(struct connection *conn, void *xprt_ctx, int event_type, void *param) ~~~~~~^~~~~~~~ src/connection.c: In function 'conn_recv_proxy': src/connection.c:605:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] while (tlv_offset < total_v2_len) { ^ src/connection.c:610:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (tlv_offset + TLV_HEADER_SIZE > total_v2_len) ^ src/connection.c:618:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (tlv_offset > total_v2_len) ^ src/connection.c:656:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (tlv_offset != total_v2_len) ^~ src/connection.c:680:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len2 != trash.data) ^~ src/connection.c: In function 'conn_recv_netscaler_cip': src/connection.c:881:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len2 != trash.data) ^~ src/connection.c: In function 'make_tlv': src/connection.c:1213:38: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if (!dest || (length + sizeof(*tlv) > dest_len)) ^ src/connection.c: In function 'make_proxy_line_v2': src/connection.c:1304:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ src/connection.c:1311:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ src/connection.c:1320:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ src/connection.c:1329:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv_ssl)) ^ src/connection.c:1384:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if ((buf_len - ret) < sizeof(struct tlv)) ^ src/connection.c: In function 'smp_fetch_fc_http_major': src/connection.c:1403:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fc_http_major(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/connection.c:1403:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fc_http_major(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/connection.c: In function 'smp_fetch_fc_rcvd_proxy': src/connection.c:1414:47: warning: unused parameter 'args' [-Wunused-parameter] int smp_fetch_fc_rcvd_proxy(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/connection.c:1414:85: warning: unused parameter 'kw' [-Wunused-parameter] int smp_fetch_fc_rcvd_proxy(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/connection.c:1414:95: warning: unused parameter 'private' [-Wunused-parameter] int smp_fetch_fc_rcvd_proxy(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/connection.c: At top level: src/connection.c:1440:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_http_major", smp_fetch_fc_http_major, 0, NULL, SMP_T_SINT, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/connection.c:1441:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "bc_http_major", smp_fetch_fc_http_major, 0, NULL, SMP_T_SINT, SMP_USE_L4SRV }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/connection.c:1442:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fc_rcvd_proxy", smp_fetch_fc_rcvd_proxy, 0, NULL, SMP_T_BOOL, SMP_USE_L4CLI }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/connection.c:22: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from src/connection.c:17: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/connection.c:1446:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &sample_fetch_keywords); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/payload.o In file included from include/common/standard.h:36, from include/common/net_helper.h:31, from src/payload.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/net_helper.h:31, from src/payload.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/htx.h:28, from src/payload.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/payload.c:18: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/lb_map.h:26, from include/types/backend.h:32, from include/types/proxy.h:42, from include/types/acl.h:32, from include/proto/acl.h:26, from src/payload.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/lb_map.h:26, from include/types/backend.h:32, from include/types/proxy.h:42, from include/types/acl.h:32, from include/proto/acl.h:26, from src/payload.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/channel.h:41, from src/payload.c:21: 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/payload.c:21: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/payload.c:25: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/payload.c: In function 'smp_fetch_wait_end': src/payload.c:36:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_wait_end(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:36:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_wait_end(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:36:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_wait_end(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_len': src/payload.c:49:33: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:49:71: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:49:81: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_len(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_req_ssl_st_ext': src/payload.c:74:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:74:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:74:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_req_ssl_ec_ext': src/payload.c:204:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_req_ssl_ec_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:204:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_req_ssl_ec_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:204:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_req_ssl_ec_ext(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_ssl_hello_type': src/payload.c:324:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_hello_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:324:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_hello_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:324:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_hello_type(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_req_ssl_ver': src/payload.c:391:41: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_req_ssl_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:391:79: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_req_ssl_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:391:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_req_ssl_ver(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_ssl_hello_sni': src/payload.c:531:43: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_hello_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:531:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_hello_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:531:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_hello_sni(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_ssl_hello_alpn': src/payload.c:697:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_ssl_hello_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/payload.c:697:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_ssl_hello_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:697:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_ssl_hello_alpn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_rdp_cookie': src/payload.c:927:78: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_rdp_cookie(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:927:88: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_rdp_cookie(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_payload_lv': src/payload.c:976:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < len_size; i++) { ^ src/payload.c:991:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (!buf_size || buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:991:75: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (!buf_size || buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:956:79: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_payload_lv(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:956:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_payload_lv(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_payload': src/payload.c:1023:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:1023:62: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (buf_size > global.tune.bufsize || buf_offset + buf_size > global.tune.bufsize) { ^ src/payload.c:1013:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_payload(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:1013:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_payload(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_distcc_param': src/payload.c:1097:81: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_distcc_param(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:1097:91: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_distcc_param(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: In function 'smp_fetch_distcc_body': src/payload.c:1174:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_distcc_body(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/payload.c:1174:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_distcc_body(const struct arg *arg_p, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/payload.c: At top level: src/payload.c:1303:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "distcc_body", smp_fetch_distcc_body, ARG2(1,STR,SINT), val_distcc, SMP_T_BIN, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1304:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "distcc_param", smp_fetch_distcc_param, ARG2(1,STR,SINT), val_distcc, SMP_T_SINT, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1305:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "payload", smp_fetch_payload, ARG2(2,SINT,SINT), NULL, SMP_T_BIN, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1306:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "payload_lv", smp_fetch_payload_lv, ARG3(2,SINT,SINT,STR), val_payload_lv, SMP_T_BIN, SMP_USE_L6REQ|SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1307:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rdp_cookie", smp_fetch_rdp_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1308:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rdp_cookie_cnt", smp_fetch_rdp_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1309:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "rep_ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1310:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_len", smp_fetch_len, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1311:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1312:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ssl_sni", smp_fetch_ssl_hello_sni, 0, NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1313:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req_ssl_ver", smp_fetch_req_ssl_ver, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1315:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.len", smp_fetch_len, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1316:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.payload", smp_fetch_payload, ARG2(2,SINT,SINT), NULL, SMP_T_BIN, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1317:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.payload_lv", smp_fetch_payload_lv, ARG3(2,SINT,SINT,STR), val_payload_lv, SMP_T_BIN, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1318:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.rdp_cookie", smp_fetch_rdp_cookie, ARG1(0,STR), NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1319:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.rdp_cookie_cnt", smp_fetch_rdp_cookie_cnt, ARG1(0,STR), NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1320:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_ec_ext", smp_fetch_req_ssl_ec_ext, 0, NULL, SMP_T_BOOL, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1321:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_st_ext", smp_fetch_req_ssl_st_ext, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1322:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1323:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_sni", smp_fetch_ssl_hello_sni, 0, NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1324:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_alpn", smp_fetch_ssl_hello_alpn, 0, NULL, SMP_T_STR, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1325:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "req.ssl_ver", smp_fetch_req_ssl_ver, 0, NULL, SMP_T_SINT, SMP_USE_L6REQ }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1326:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.len", smp_fetch_len, 0, NULL, SMP_T_SINT, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1327:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.payload", smp_fetch_payload, ARG2(2,SINT,SINT), NULL, SMP_T_BIN, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1328:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.payload_lv", smp_fetch_payload_lv, ARG3(2,SINT,SINT,STR), val_payload_lv, SMP_T_BIN, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1329:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "res.ssl_hello_type", smp_fetch_ssl_hello_type, 0, NULL, SMP_T_SINT, SMP_USE_L6RES }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/payload.c:1330:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "wait_end", smp_fetch_wait_end, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/proto/acl.h:26, from src/payload.c:19: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from src/payload.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/payload.c:1334:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ src/payload.c:1340:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "payload", "req.payload", PAT_MATCH_BIN }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1341:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "payload_lv", "req.payload_lv", PAT_MATCH_BIN }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1342:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_rdp_cookie", "req.rdp_cookie", PAT_MATCH_STR }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1343:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_rdp_cookie_cnt", "req.rdp_cookie_cnt", PAT_MATCH_INT }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1344:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ssl_sni", "req.ssl_sni", PAT_MATCH_STR }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/payload.c:1345:2: warning: missing initializer for field 'index' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ssl_ver", "req.ssl_ver", PAT_MATCH_INT, pat_parse_dotted_ver }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:96:8: note: 'index' declared here int (*index)(struct pattern_expr *expr, struct pattern *pattern, char **err); ^~~~~ src/payload.c:1346:2: warning: missing initializer for field 'index' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req.ssl_ver", "req.ssl_ver", PAT_MATCH_INT, pat_parse_dotted_ver }, ^ In file included from include/proto/acl.h:26, from src/payload.c:19: include/types/acl.h:96:8: note: 'index' declared here int (*index)(struct pattern_expr *expr, struct pattern *pattern, char **err); ^~~~~ In file included from src/payload.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/payload.c:1350:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/fd.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/fd.c:162: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/fd.c:162: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/fd.c:162: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/fd.c:162: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/fd.c:162: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/fd.c:165: 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/config.h:25, from src/fd.c:160: src/fd.c: In function 'fd_rm_from_fd_list': src/fd.c:275:103: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] unlikely(!_HA_ATOMIC_CAS(((void **)(void *)&_GET_NEXT(fd, off)), ((void **)(void *)&cur_list), (*(void **)(void *)&next_list)))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/fd.c:275:16: note: in expansion of macro '_HA_ATOMIC_CAS' unlikely(!_HA_ATOMIC_CAS(((void **)(void *)&_GET_NEXT(fd, off)), ((void **)(void *)&cur_list), (*(void **)(void *)&next_list)))) ^~~~~~~~~~~~~~ src/fd.c:360:1: warning: label 'done' defined but not used [-Wunused-label] done: ^~~~ src/fd.c: In function 'my_closefrom': src/fd.c:509:11: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (step > sizeof(poll_events) / sizeof(poll_events[0])) ^ In file included from include/types/global.h:28, from src/fd.c:162: src/fd.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/fd.c:791:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(alloc_pollers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:330:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_init, (fct)) ^~~~~~~~~ src/fd.c:792:1: note: in expansion of macro 'REGISTER_PER_THREAD_INIT' REGISTER_PER_THREAD_INIT(init_pollers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:334:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_deinit, (fct)) ^~~~~~~~~ src/fd.c:793:1: note: in expansion of macro 'REGISTER_PER_THREAD_DEINIT' REGISTER_PER_THREAD_DEINIT(deinit_pollers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/fd.c:794:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(free_pollers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/queue.o In file included from include/common/standard.h:36, from include/common/time.h:31, from src/queue.c:75: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/time.h:31, from src/queue.c:75: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/queue.c:75: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto_http.h:27, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/channel.h:32, from include/proto/proto_http.h:29, from src/queue.c:80: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from include/proto/proto_http.h:29, from src/queue.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/proto_http.h:29, from src/queue.c:80: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/queue.c:80: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/queue.c:83: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/queue.c:85: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/queue.c:73: src/queue.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/queue.c:96:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_pendconn, "pendconn", sizeof(struct pendconn)); ^~~~~~~~~~~~ src/queue.c: In function 'pendconn_add': src/queue.c:374:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (srv->nbpend > srv->counters.nbpend_max) ^ src/queue.c:381:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (px->nbpend > px->be_counters.nbpend_max) ^ src/queue.c: In function 'action_set_priority_class': src/queue.c:516:94: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/queue.c: In function 'action_set_priority_offset': src/queue.c:529:95: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/queue.c: At top level: src/queue.c:599:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-class", parse_set_priority_class }, ^ In file included from include/proto/http_rules.h:27, from src/queue.c:79: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/queue.c:600:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-offset", parse_set_priority_offset }, ^ In file included from include/proto/http_rules.h:27, from src/queue.c:79: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from src/queue.c:73: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/queue.c:604:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, tcp_req_cont_keywords_register, &tcp_cont_kws); ^~~~~~~~~ src/queue.c:607:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-class", parse_set_priority_class }, ^ In file included from include/proto/http_rules.h:27, from src/queue.c:79: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/queue.c:608:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "set-priority-offset", parse_set_priority_offset }, ^ In file included from include/proto/http_rules.h:27, from src/queue.c:79: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from src/queue.c:73: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/queue.c:612:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_kws); ^~~~~~~~~ src/queue.c: In function 'smp_fetch_priority_class': src/queue.c:615:44: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_priority_class(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/queue.c:615:82: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_priority_class(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/queue.c:615:92: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_priority_class(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/queue.c: In function 'smp_fetch_priority_offset': src/queue.c:627:45: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_priority_offset(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/queue.c:627:83: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_priority_offset(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/queue.c:627:93: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_priority_offset(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/queue.c: At top level: src/queue.c:640:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "prio_class", smp_fetch_priority_class, 0, NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/queue.c:641:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "prio_offset", smp_fetch_priority_offset, 0, NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/hlua.h:13, from include/types/applet.h:26, from include/types/action.h:27, from include/proto/http_rules.h:27, from src/queue.c:79: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from src/queue.c:73: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/queue.c:645:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/cache.o In file included from include/common/http.h:27, from include/types/proto_http.h:27, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from src/cache.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from src/cache.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from src/cache.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from src/cache.c:16: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from src/cache.c:16: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/channel.h:32, from src/cache.c:22: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/cache.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 src/cache.c:22: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/cache.c:29: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/cache.c:32: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/cache.c:32: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/cache.c:33: 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:96:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (*uaddr != value) ^~ In file included from include/common/hathreads.h:32, from include/common/xref.h:4, from include/types/hlua.h:10, from include/types/applet.h:26, from include/types/action.h:27, from src/cache.c:16: src/cache.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/cache.c:100:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_cache_st, "cache_st", sizeof(struct cache_st)); ^~~~~~~~~~~~~~~~~~~ src/cache.c: In function 'cache_store_init': src/cache.c:140:32: warning: unused parameter 'px' [-Wunused-parameter] cache_store_init(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/cache.c: In function 'cache_store_deinit': src/cache.c:147:34: warning: unused parameter 'px' [-Wunused-parameter] cache_store_deinit(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/cache.c: In function 'cache_store_chn_start_analyze': src/cache.c:221:46: warning: unused parameter 's' [-Wunused-parameter] cache_store_chn_start_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/cache.c: In function 'cache_store_chn_end_analyze': src/cache.c:245:44: warning: unused parameter 's' [-Wunused-parameter] cache_store_chn_end_analyze(struct stream *s, struct filter *filter, struct channel *chn) ~~~~~~~~~~~~~~~^ src/cache.c: In function 'cache_store_post_analyze': src/cache.c:274:83: warning: unused parameter 'chn' [-Wunused-parameter] cache_store_post_analyze(struct stream *s, struct filter *filter, struct channel *chn, ~~~~~~~~~~~~~~~~^~~ src/cache.c: In function 'cache_store_http_forward_data': src/cache.c:446:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] else if (st->hdrs_len >= len) { ^~ src/cache.c:489:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((ret != len) || ^~ src/cache.c: In function 'cache_store_http_end': src/cache.c:497:37: warning: unused parameter 's' [-Wunused-parameter] cache_store_http_end(struct stream *s, struct filter *filter, ~~~~~~~~~~~~~~~^ src/cache.c: In function 'http_action_store_cache': src/cache.c:803:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (msg->sov > c_size(txn->rsp.chn) - global.tune.maxrewrite) ^ src/cache.c:673:78: warning: unused parameter 'px' [-Wunused-parameter] enum act_return http_action_store_cache(struct act_rule *rule, struct proxy *px, ~~~~~~~~~~~~~~^~ src/cache.c:674:22: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/cache.c:674:50: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/cache.c: In function 'htx_cache_dump_blk': src/cache.c:942:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'short int' [-Wsign-compare] if (blksz || offset == shctx->block_size) { ^~ src/cache.c: In function 'htx_cache_dump_data_blk': src/cache.c:990:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'short int' [-Wsign-compare] if (blksz || offset == shctx->block_size) { ^~ src/cache.c: In function 'http_action_req_cache_use': src/cache.c:1432:58: warning: unused parameter 'sess' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~~~~~~~~~~~~~^~~~ src/cache.c:1432:86: warning: unused parameter 'flags' [-Wunused-parameter] struct session *sess, struct stream *s, int flags) ~~~~^~~~~ src/cache.c: In function 'cfg_parse_cache': src/cache.c:1509:69: warning: unused parameter 'kwm' [-Wunused-parameter] int cfg_parse_cache(const char *file, int linenum, char **args, int kwm) ~~~~^~~ src/cache.c: In function 'parse_cache_flt': src/cache.c:1763:45: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ~~~~~~^~~~~~~ src/cache.c: In function 'cli_parse_show_cache': src/cache.c:1832:40: warning: unused parameter 'args' [-Wunused-parameter] static int cli_parse_show_cache(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/cache.c:1832:52: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_cache(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/cache.c:1832:90: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_cache(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from include/common/hathreads.h:32, from include/common/xref.h:4, from include/types/hlua.h:10, from include/types/applet.h:26, from include/types/action.h:27, from src/cache.c:16: src/cache.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cache.c:1902:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &filter_kws); ^~~~~~~~~ src/cache.c:1905:2: warning: missing initializer for field 'level' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "cache", NULL }, "show cache : show cache status", cli_parse_show_cache, cli_io_handler_show_cache, NULL, NULL }, ^ In file included from src/cache.c:17: include/types/cli.h:36:6: note: 'level' declared here int level; /* this is the level needed to show the keyword usage and to use it */ ^~~~~ src/cache.c:1906:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/cache.c:17: include/types/cli.h:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/hathreads.h:32, from include/common/xref.h:4, from include/types/hlua.h:10, from include/types/applet.h:26, from include/types/action.h:27, from src/cache.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cache.c:1909:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ src/cache.c:1913:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "cache-store", parse_cache_store }, ^ In file included from src/cache.c:16: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/cache.c:1914:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from src/cache.c:16: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/xref.h:4, from include/types/hlua.h:10, from include/types/applet.h:26, from include/types/action.h:27, from src/cache.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cache.c:1918:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_actions); ^~~~~~~~~ src/cache.c:1922:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "cache-use", parse_cache_use }, ^ In file included from src/cache.c:16: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/cache.c:1923:3: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { NULL, NULL } ^ In file included from src/cache.c:16: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/xref.h:4, from include/types/hlua.h:10, from include/types/applet.h:26, from include/types/action.h:27, from src/cache.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/cache.c:1927:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions); ^~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/cache.c:1937:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("cache", cfg_parse_cache, cfg_post_parse_section_cache); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169: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/cache.c:1938:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("cache", cfg_cache_postparser); ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:318:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/cache.c:1939:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(post_check_cache); ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/applet.o In file included from include/common/http.h:27, from include/types/proto_http.h:27, from include/types/hlua.h:12, from include/types/applet.h:26, from include/proto/applet.h:29, from src/applet.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/proto/applet.h:29, from src/applet.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/proto/applet.h:29, from src/applet.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/proto/applet.h:29, from src/applet.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/proto/applet.h:29, from src/applet.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from src/applet.c:18: include/proto/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/applet.c:18: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from src/applet.c:18: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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 src/applet.c:19: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/applet.c:19: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/applet.c: In function 'task_run_applet': src/applet.c:59:76: warning: unused parameter 'state' [-Wunused-parameter] struct task *task_run_applet(struct task *t, void *context, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/flt_trace.o In file included from include/common/htx.h:28, from src/flt_trace.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/htx.h:31, from src/flt_trace.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/htx.h:31, from src/flt_trace.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/flt_trace.c:16: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/flt_trace.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from src/flt_trace.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/channel.h:41, from include/proto/filters.h:30, from src/flt_trace.c:28: 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/filters.h:30, from src/flt_trace.c:28: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/flt_trace.c:32: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ src/flt_trace.c: In function 'trace_hexdump': src/flt_trace.c:94:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < ist.len + padding; i++) { ^ src/flt_trace.c:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (i < ist.len) ^ src/flt_trace.c:108:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for(j = i - 15; j <= i && j < ist.len; j++) ^ src/flt_trace.c: In function 'trace_raw_hexdump': src/flt_trace.c:122:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (block1 > b_contig_data(buf, out)) ^ src/flt_trace.c: In function 'trace_deinit': src/flt_trace.c:185:28: warning: unused parameter 'px' [-Wunused-parameter] trace_deinit(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c: In function 'trace_check': src/flt_trace.c:200:27: warning: unused parameter 'px' [-Wunused-parameter] trace_check(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c:200:48: warning: unused parameter 'fconf' [-Wunused-parameter] trace_check(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~~~~^~~~~ src/flt_trace.c: In function 'trace_init_per_thread': src/flt_trace.c:207:37: warning: unused parameter 'px' [-Wunused-parameter] trace_init_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c: In function 'trace_deinit_per_thread': src/flt_trace.c:217:39: warning: unused parameter 'px' [-Wunused-parameter] trace_deinit_per_thread(struct proxy *px, struct flt_conf *fconf) ~~~~~~~~~~~~~~^~ src/flt_trace.c: In function 'trace_http_payload': src/flt_trace.c:491:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (!ret || ret >= data) ^~ src/flt_trace.c:505:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (ret != len) ^~ src/flt_trace.c: In function 'trace_http_reply': src/flt_trace.c:568:65: warning: unused parameter 'status' [-Wunused-parameter] trace_http_reply(struct stream *s, struct filter *filter, short status, ~~~~~~^~~~~~ src/flt_trace.c:569:25: warning: unused parameter 'msg' [-Wunused-parameter] const struct buffer *msg) ~~~~~~~~~~~~~~~~~~~~~^~~ src/flt_trace.c: In function 'trace_http_forward_data': src/flt_trace.c:599:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ((ret != len) || ^~ src/flt_trace.c: In function 'trace_tcp_forward_data': src/flt_trace.c:649:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (ret != len) ^~ src/flt_trace.c: In function 'parse_trace_flt': src/flt_trace.c:699:59: warning: unused parameter 'private' [-Wunused-parameter] struct flt_conf *fconf, char **err, void *private) ~~~~~~^~~~~~~ In file included from include/common/hathreads.h:32, from src/flt_trace.c:15: src/flt_trace.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/flt_trace.c:760:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, flt_register_keywords, &flt_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/frontend.o In file included from src/frontend.c:25: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/frontend.c:30: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/frontend.c:31: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/global.h:33, from src/frontend.c:33: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/channel.h:32, from src/frontend.c:37: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/frontend.c:37: 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/frontend.c:37: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/frontend.c:43: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217: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/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/frontend.c:47: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/frontend.c:47: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/frontend.c: In function 'smp_fetch_fe_id': src/frontend.c:176:35: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fe_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/frontend.c:176:73: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:176:83: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_id(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_name': src/frontend.c:186:37: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fe_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/frontend.c:186:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:186:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_name(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_defbe': src/frontend.c:200:38: warning: unused parameter 'args' [-Wunused-parameter] smp_fetch_fe_defbe(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~~~~~~~^~~~ src/frontend.c:200:76: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_defbe(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:200:86: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_defbe(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_req_rate': src/frontend.c:219:79: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_req_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:219:89: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_req_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_sess_rate': src/frontend.c:232:80: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:232:90: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_sess_rate(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: In function 'smp_fetch_fe_conn': src/frontend.c:245:75: warning: unused parameter 'kw' [-Wunused-parameter] smp_fetch_fe_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~~~~~~~^~ src/frontend.c:245:85: warning: unused parameter 'private' [-Wunused-parameter] smp_fetch_fe_conn(const struct arg *args, struct sample *smp, const char *kw, void *private) ~~~~~~^~~~~~~ src/frontend.c: At top level: src/frontend.c:258:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_conn", smp_fetch_fe_conn, ARG1(1,FE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:259:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_defbe", smp_fetch_fe_defbe, 0, NULL, SMP_T_STR, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:260:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_id", smp_fetch_fe_id, 0, NULL, SMP_T_SINT, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:261:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_name", smp_fetch_fe_name, 0, NULL, SMP_T_STR, SMP_USE_FTEND, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:262:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_req_rate", smp_fetch_fe_req_rate, ARG1(1,FE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ src/frontend.c:263:2: warning: missing initializer for field 'val' of 'struct sample_fetch' [-Wmissing-field-initializers] { "fe_sess_rate", smp_fetch_fe_sess_rate, ARG1(1,FE), NULL, SMP_T_SINT, SMP_USE_INTRN, }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/frontend.c:33: include/types/sample.h:301:15: note: 'val' declared here unsigned int val; /* fetch validity (SMP_VAL_*) */ ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/frontend.c:25: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_fetch_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/frontend.c:267:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/frontend.c:276:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/signal.o In file included from include/common/standard.h:36, from include/proto/signal.h:15, from src/signal.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/proto/signal.h:15, from src/signal.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/proto/log.h:34, from src/signal.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from src/signal.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from src/signal.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/signal.c:19: 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/hathreads.h:32, from src/signal.c:16: src/signal.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/signal.c:35:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_sig_handlers, "sig_handlers", sizeof(struct sig_handler)); ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/ev_select.o In file included from include/common/standard.h:36, from include/common/ticks.h:56, from src/ev_select.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/ticks.h:56, from src/ev_select.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/ev_select.c:21: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/global.h:33, from src/ev_select.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/ev_select.c:23: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/ev_select.c: In function '_do_poll': src/ev_select.c:159:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < (maxfd + FD_SETSIZE - 1)/(8*sizeof(int)); i++) { ^ src/ev_select.c:183:37: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] for (fds = 0; (fds * BITS_PER_INT) < maxfd; fds++) { ^ src/ev_select.c:82:45: warning: unused parameter 'p' [-Wunused-parameter] REGPRM3 static void _do_poll(struct poller *p, int exp, int wake) ~~~~~~~~~~~~~~~^ src/ev_select.c: In function '_do_test': src/ev_select.c:282:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ~~~~~~~~~~~~~~~^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/lb_chash.o In file included from include/common/standard.h:36, from src/lb_chash.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/lb_chash.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/lb_chash.c:25: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_chash.c:25: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_chash.c:25: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/lb_chash.c:29: 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))); ^ src/lb_chash.c: In function 'chash_server_is_eligible': src/lb_chash.c:313:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return s->served < slots; ^ src/lb_chash.c: In function 'chash_get_next_server': src/lb_chash.c:446:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!s->maxconn || (!s->nbpend && s->served < srv_dynamic_maxconn(s))) { ^ src/lb_chash.c: In function 'chash_init_server_tree': src/lb_chash.c:502:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (node = 0; node < srv->lb_nodes_tot; node++) { ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/proto_sockpair.o In file included from include/common/standard.h:36, from src/proto_sockpair.c:35: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/proto_sockpair.c:35: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/proto_sockpair.c:36: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/global.h:33, from src/proto_sockpair.c:39: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/proto_sockpair.c:39: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_sockpair.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison 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/proto_sockpair.c:41: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/proto_sockpair.c:41: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/proto_sockpair.c:31: src/proto_sockpair.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct protocol *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/proto_sockpair.c:78:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, protocol_register, &proto_sockpair); ^~~~~~~~~ src/proto_sockpair.c: In function 'sockpair_add_listener': src/proto_sockpair.c:87:66: warning: unused parameter 'port' [-Wunused-parameter] static void sockpair_add_listener(struct listener *listener, int port) ~~~~^~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/mux_pt.o In file included from include/proto/connection.h:26, from src/mux_pt.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/mux_pt.c:15: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/mux_pt.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long 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/connection.h:30, from src/mux_pt.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/mux_pt.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_pt.c:15: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison 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_pt.c:15: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/mux_pt.c:15: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/mux_pt.c:14: src/mux_pt.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/mux_pt.c:25:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_pt_ctx, "mux_pt", sizeof(struct mux_pt_ctx)); ^~~~~~~~~~~~~~~~~~~ src/mux_pt.c: In function 'mux_pt_io_cb': src/mux_pt.c:57:47: warning: unused parameter 't' [-Wunused-parameter] static struct task *mux_pt_io_cb(struct task *t, void *tctx, unsigned short status) ~~~~~~~~~~~~~^ src/mux_pt.c:57:77: warning: unused parameter 'status' [-Wunused-parameter] static struct task *mux_pt_io_cb(struct task *t, void *tctx, unsigned short status) ~~~~~~~~~~~~~~~^~~~~~ src/mux_pt.c: In function 'mux_pt_init': src/mux_pt.c:93:63: warning: unused parameter 'prx' [-Wunused-parameter] static int mux_pt_init(struct connection *conn, struct proxy *prx, struct session *sess, ~~~~~~~~~~~~~~^~~ src/mux_pt.c:93:84: warning: unused parameter 'sess' [-Wunused-parameter] static int mux_pt_init(struct connection *conn, struct proxy *prx, struct session *sess, ~~~~~~~~~~~~~~~~^~~~ src/mux_pt.c:94:25: warning: unused parameter 'input' [-Wunused-parameter] struct buffer *input) ~~~~~~~~~~~~~~~^~~~~ src/mux_pt.c: In function 'mux_pt_attach': src/mux_pt.c:171:83: warning: unused parameter 'sess' [-Wunused-parameter] static struct conn_stream *mux_pt_attach(struct connection *conn, struct session *sess) ~~~~~~~~~~~~~~~~^~~~ src/mux_pt.c: In function 'mux_pt_ctl': src/mux_pt.c:346:81: warning: unused parameter 'output' [-Wunused-parameter] static int mux_pt_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *output) ~~~~~~^~~~~~ In file included from src/mux_pt.c:14: src/mux_pt.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct mux_proto_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mux_pt.c:388:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, register_mux_proto, &mux_proto_pt); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/task.o In file included from include/common/standard.h:36, from src/task.c:18: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/task.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/task.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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/proto_http.h:27, from include/types/hlua.h:12, from include/types/applet.h:26, from include/proto/proxy.h:28, from src/task.c:25: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/proto/proxy.h:28, from src/task.c:25: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from src/task.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/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from src/task.c:16: src/task.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/task.c:29:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_task, "task", sizeof(struct task)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/task.c:30:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_tasklet, "tasklet", sizeof(struct tasklet)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:131:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/task.c:35:1: note: in expansion of macro 'DECLARE_POOL' DECLARE_POOL(pool_head_notification, "notification", sizeof(struct notification)); ^~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:277:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/task.c:46:1: note: in expansion of macro '__decl_aligned_spinlock' __decl_aligned_spinlock(rq_lock); /* spin lock related to run queue */ ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:287:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_rwlock_init, &(lock)) ^~~~~~~~~ src/task.c:47:1: note: in expansion of macro '__decl_aligned_rwlock' __decl_aligned_rwlock(wq_lock); /* RW lock related to the wait queue */ ^~~~~~~~~~~~~~~~~~~~~ src/task.c: In function 'init_task': src/task.c:553:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < MAX_THREADS; i++) { ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/lb_fwrr.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fwrr.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/lb_fwrr.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/lb_fwrr.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fwrr.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fwrr.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/lb_fwrr.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))); ^ src/lb_fwrr.c: In function 'fwrr_update_server_weight': src/lb_fwrr.c:232:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv->npos > prev_next) ^ src/lb_fwrr.c:234:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (srv->npos < grp->curr_pos + 2) ^ src/lb_fwrr.c: In function 'fwrr_queue_srv': src/lb_fwrr.c:353:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] s->npos >= 2 * grp->curr_weight || ^~ src/lb_fwrr.c:354:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] s->npos >= grp->curr_weight + grp->next_weight) { ^~ src/lb_fwrr.c: In function 'fwrr_get_server_from_group': src/lb_fwrr.c:463:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (s1->cur_eweight && s1->npos <= grp->curr_pos) ^~ src/lb_fwrr.c: In function 'fwrr_get_next_server': src/lb_fwrr.c:571:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!srv->maxconn || (!srv->nbpend && srv->served < srv_dynamic_maxconn(srv))) { ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/channel.o In file included from include/common/buffer.h:30, from src/channel.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32, from src/channel.c:19: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/channel.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/channel.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/channel.c:19: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/channel.h:32, from src/channel.c:21: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream.h:32, from include/proto/channel.h:41, from src/channel.c:21: 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/channel.c:21: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/channel.c: In function 'co_inject': src/channel.c:85:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || len > c_size(chn)) { ^ In file included from include/common/config.h:25, from src/channel.c:18: src/channel.c: In function 'ci_putblk': src/channel.c:154:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (unlikely(len > max - c_data(chn))) { ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/channel.c: In function 'co_getline': src/channel.c:206:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (max > co_data(chn)) { ^ src/channel.c:220:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] (ret < co_data(chn) || channel_may_recv(chn)) && ^ src/channel.c: In function 'co_getblk': src/channel.c:243:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len + offset > co_data(chn)) { ^ src/channel.c: In function 'co_getline_nc': src/channel.c:291:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (l = 0; l < *len1 && (*blk1)[l] != '\n'; l++); ^ src/channel.c:292:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < *len1 && (*blk1)[l] == '\n') { ^ src/channel.c:298:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (l = 0; l < *len2 && (*blk2)[l] != '\n'; l++); ^ src/channel.c:299:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < *len2 && (*blk2)[l] == '\n') { ^ src/channel.c: In function 'ci_getline_nc': src/channel.c:367:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (l = 0; l < *len1 && (*blk1)[l] != '\n'; l++); ^ src/channel.c:368:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < *len1 && (*blk1)[l] == '\n') { ^ src/channel.c:374:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (l = 0; l < *len2 && (*blk2)[l] != '\n'; l++); ^ src/channel.c:375:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < *len2 && (*blk2)[l] == '\n') { ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/http_conv.o In file included from src/http_conv.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from src/http_conv.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/http_conv.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from src/http_conv.c:34: 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))); ^ src/http_conv.c: In function 'sample_conv_http_date': src/http_conv.c:41:84: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_http_date(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/http_conv.c: In function 'sample_conv_q_preferred': src/http_conv.c:71:86: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_q_preferred(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/http_conv.c: In function 'sample_conv_url_dec': src/http_conv.c:218:82: warning: unused parameter 'private' [-Wunused-parameter] static int sample_conv_url_dec(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/http_conv.c: In function 'smp_conv_req_capture': src/http_conv.c:248:83: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_req_capture(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/http_conv.c: In function 'smp_conv_res_capture': src/http_conv.c:293:83: warning: unused parameter 'private' [-Wunused-parameter] static int smp_conv_res_capture(const struct arg *args, struct sample *smp, void *private) ~~~~~~^~~~~~~ src/http_conv.c: At top level: src/http_conv.c:344:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "http_date", sample_conv_http_date, ARG1(0,SINT), NULL, SMP_T_SINT, SMP_T_STR}, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:345:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "language", sample_conv_q_preferred, ARG2(1,STR,STR), NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:346:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "capture-req", smp_conv_req_capture, ARG1(1,SINT), NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:347:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "capture-res", smp_conv_res_capture, ARG1(1,SINT), NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:348:2: warning: missing initializer for field 'private' of 'struct sample_conv' [-Wmissing-field-initializers] { "url_dec", sample_conv_url_dec, ARG1(0,SINT), NULL, SMP_T_STR, SMP_T_STR}, ^ In file included from include/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_conv.c:30: include/types/sample.h:279:8: note: 'private' declared here void *private; /* private values. only used by maps and Lua */ ^~~~~~~ src/http_conv.c:349:2: warning: missing initializer for field 'out_type' of 'struct sample_conv' [-Wmissing-field-initializers] { NULL, NULL, 0, 0, 0 }, ^ In file included from include/types/vars.h:7, from include/types/arg.h:31, from include/types/acl.h:29, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_conv.c:30: include/types/sample.h:278:15: note: 'out_type' declared here unsigned int out_type; /* output sample type */ ^~~~~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_conv.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct sample_conv_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_conv.c:352:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, sample_register_convs, &sample_conv_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/uri_auth.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from src/uri_auth.c:20: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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 src/uri_auth.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from src/uri_auth.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from src/uri_auth.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from src/uri_auth.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/uri_auth.c:20: 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))); ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/chunk.o In file included from src/chunk.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/chunk.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/chunk.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/chunk.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/chunk.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/chunk.c: In function 'init_trash_buffers': src/chunk.c:93:28: warning: unused parameter 'first' [-Wunused-parameter] int init_trash_buffers(int first) ~~~~^~~~~ src/chunk.c: In function 'chunk_printf': src/chunk.c:141:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ret >= chk->size) ^~ src/chunk.c: In function 'chunk_appendf': src/chunk.c:164:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (ret >= chk->size - chk->data) ^~ src/chunk.c: In function 'chunk_htmlencode': src/chunk.c:186:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < src->data; i++) { ^ src/chunk.c: In function 'chunk_asciiencode': src/chunk.c:228:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < src->data; i++) { ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/chunk.c:19: src/chunk.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:326:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_alloc, (fct)) ^~~~~~~~~ src/chunk.c:311:1: note: in expansion of macro 'REGISTER_PER_THREAD_ALLOC' REGISTER_PER_THREAD_ALLOC(alloc_trash_buffers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:338:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_free, (fct)) ^~~~~~~~~ src/chunk.c:312:1: note: in expansion of macro 'REGISTER_PER_THREAD_FREE' REGISTER_PER_THREAD_FREE(free_trash_buffers_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/compression.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/compression.c:29: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/compression.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/compression.c:29: 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/compression.c:29: src/compression.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:272:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/compression.c:45:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(comp_pool_lock); ^~~~~~~~~~~~~~~ src/compression.c:100:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "identity", 8, "identity", 8, identity_init, identity_add_data, identity_flush, identity_finish, identity_end }, ^ In file included from src/compression.c:36: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:106:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "deflate", 7, "deflate", 7, deflate_init, deflate_add_data, deflate_flush, deflate_finish, deflate_end }, ^ In file included from src/compression.c:36: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:107:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "raw-deflate", 11, "deflate", 7, raw_def_init, deflate_add_data, deflate_flush, deflate_finish, deflate_end }, ^ In file included from src/compression.c:36: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:108:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { "gzip", 4, "gzip", 4, gzip_init, deflate_add_data, deflate_flush, deflate_finish, deflate_end }, ^ In file included from src/compression.c:36: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ src/compression.c:110:2: warning: missing initializer for field 'next' of 'const struct comp_algo' [-Wmissing-field-initializers] { NULL, 0, NULL, 0, NULL , NULL, NULL, NULL, NULL } ^ In file included from src/compression.c:36: include/types/compression.h:78:20: note: 'next' declared here struct comp_algo *next; ^~~~ In file included from include/common/cfgparse.h:27, from src/compression.c:29: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/compression.c:149:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_comp_ctx, "comp_ctx", sizeof(struct comp_ctx)); ^~~~~~~~~~~~~~~~~~~ src/compression.c: In function 'init_comp_ctx': src/compression.c:159:70: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] if (global.maxzlibmem > 0 && (global.maxzlibmem - zlib_used_memory) < sizeof(struct comp_ctx)) ^ src/compression.c: In function 'identity_init': src/compression.c:209:44: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_init(struct comp_ctx **comp_ctx, int level) ~~~~~~~~~~~~~~~~~~^~~~~~~~ src/compression.c:209:58: warning: unused parameter 'level' [-Wunused-parameter] static int identity_init(struct comp_ctx **comp_ctx, int level) ~~~~^~~~~ src/compression.c: In function 'identity_add_data': src/compression.c:218:47: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_add_data(struct comp_ctx *comp_ctx, const char *in_data, int in_len, struct buffer *out) ~~~~~~~~~~~~~~~~~^~~~~~~~ src/compression.c: In function 'identity_flush': src/compression.c:233:44: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_flush(struct comp_ctx *comp_ctx, struct buffer *out) ~~~~~~~~~~~~~~~~~^~~~~~~~ src/compression.c:233:69: warning: unused parameter 'out' [-Wunused-parameter] static int identity_flush(struct comp_ctx *comp_ctx, struct buffer *out) ~~~~~~~~~~~~~~~^~~ src/compression.c: In function 'identity_finish': src/compression.c:238:45: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_finish(struct comp_ctx *comp_ctx, struct buffer *out) ~~~~~~~~~~~~~~~~~^~~~~~~~ src/compression.c:238:70: warning: unused parameter 'out' [-Wunused-parameter] static int identity_finish(struct comp_ctx *comp_ctx, struct buffer *out) ~~~~~~~~~~~~~~~^~~ src/compression.c: In function 'identity_end': src/compression.c:246:43: warning: unused parameter 'comp_ctx' [-Wunused-parameter] static int identity_end(struct comp_ctx **comp_ctx) ~~~~~~~~~~~~~~~~~~^~~~~~~~ src/compression.c: In function 'deflate_flush_or_finish': src/compression.c:615:72: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((global.comp_rate_lim > 0 && (read_freq_ctr(&global.comp_bps_out) > global.comp_rate_lim)) || /* rate */ ^ src/compression.c: In function 'zlib_parse_global_memlevel': src/compression.c:655:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int zlib_parse_global_memlevel(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/compression.c:655:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int zlib_parse_global_memlevel(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/compression.c:656:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/compression.c:656:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/compression.c:656:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/compression.c: In function 'zlib_parse_global_windowsize': src/compression.c:677:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int zlib_parse_global_windowsize(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/compression.c:677:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int zlib_parse_global_windowsize(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/compression.c:678:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/compression.c:678:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/compression.c:678:84: 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/compression.c:29: src/compression.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/compression.c:709:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/regex.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/regex.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/regex.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/regex.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/regex.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/regex.c:17: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/regex.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))); ^ src/regex.c: In function 'regex_exec_match': src/regex.c:219:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i=0; i size)) ^ In file included from include/types/global.h:30, from src/pipe.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/pipe.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/pipe.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/pipe.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/hathreads.h:32, from src/pipe.c:17: src/pipe.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/pipe.c:23:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(pool_head_pipe, "pipe", sizeof(struct pipe)); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:272:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/pipe.c:27:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(pipes_lock); /* lock used to protect pipes list */ ^~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/memory.o In file included from include/common/http.h:27, from include/types/proto_http.h:27, from include/types/hlua.h:12, from include/types/applet.h:26, from src/memory.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/buffer.h:30, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from src/memory.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from src/memory.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from src/memory.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from src/memory.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/memory.c:19: 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/memory.c:30: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from src/memory.c:30: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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 src/memory.c:32: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/memory.c:32: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/memory.c: In function 'create_pool': src/memory.c:139:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (thr = 0; thr < MAX_THREADS; thr++) ^ src/memory.c: In function '__pool_refill_alloc': src/memory.c:190:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (++allocated > avail) ^ src/memory.c: In function 'pool_gc': src/memory.c:256:32: warning: unused parameter 'pool_ctx' [-Wunused-parameter] void pool_gc(struct pool_head *pool_ctx) ~~~~~~~~~~~~~~~~~~^~~~~~~~ src/memory.c: In function '__pool_put_to_cache': src/memory.c:292:44: warning: unused parameter 'pool' [-Wunused-parameter] void __pool_put_to_cache(struct pool_head *pool, void *ptr, ssize_t idx) ~~~~~~~~~~~~~~~~~~^~~~ src/memory.c: In function 'init_pools': src/memory.c:586:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (thr = 0; thr < MAX_THREADS; thr++) { ^ src/memory.c: At top level: src/memory.c:599:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "pools", NULL }, "show pools : report information about the memory pools usage", NULL, cli_io_handler_dump_pools }, ^ In file included from src/memory.c:15: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/memory.c:600:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/memory.c:15: include/types/cli.h:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/hathreads.h:32, from include/common/xref.h:4, from include/types/hlua.h:10, from include/types/applet.h:26, from src/memory.c:14: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/memory.c:603:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/memory.c:667:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &mem_cfg_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/time.o In file included from include/common/standard.h:36, from src/time.c:18: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/time.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/time.c:19: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/htx.o In file included from src/htx.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/htx.h:28, from src/htx.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/htx.h:31, from src/htx.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/htx.c:14: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/htx.c: In function 'htx_defrag': src/htx.c:43:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] for (old = htx_get_head(htx); old != -1; old = htx_get_next(htx, old)) { ^~ src/htx.c:54:18: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (htx->first == old) ^~ src/htx.c:75:18: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return ((blkpos == -1) ? NULL : htx_get_blk(htx, blkpos)); ^~ src/htx.c: In function 'htx_prepare_blk_expansion': src/htx.c:243:17: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] else if (delta > htx_free_space(htx)) { ^ src/htx.c:249:13: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (delta < tailroom) { ^ src/htx.c:274:13: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (delta < headroom) { ^ src/htx.c: In function 'htx_remove_blk': src/htx.c:366:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (pos == htx->first) ^~ src/htx.c:367:51: warning: operand of ?: changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] htx->first = (blk ? htx_get_blk_pos(htx, blk) : -1); ^~ src/htx.c: In function 'htx_xfer_blks': src/htx.c:683:47: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (sl->hdrs_bytes != -1 && sl->hdrs_bytes > count) { ^ src/htx.c:731:3: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ src/htx.c: In function 'htx_add_data': src/htx.c:979:10: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (len > htx_free_data_space(htx)) ^ src/htx.c:1010:11: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (room < len) ^ src/htx.c:1013:3: warning: label 'append_data' defined but not used [-Wunused-label] append_data: ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/lb_map.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/lb_map.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/lb_map.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/lb_map.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_map.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_map.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/lb_map.c:23: 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))); ^ src/lb_map.c: In function 'recalc_server_map': src/lb_map.c:112:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((cur->flags & SRV_F_BACKUP) == flag && ^~ src/lb_map.c: In function 'map_get_server_rr': src/lb_map.c:238:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!srv->maxconn || (!srv->nbpend && srv->served < srv_dynamic_maxconn(srv))) { ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/lb_fwlc.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fwlc.c:18: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/lb_fwlc.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/lb_fwlc.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fwlc.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fwlc.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/lb_fwlc.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))); ^ src/lb_fwlc.c: In function 'fwlc_get_next_server': src/lb_fwlc.c:335:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!s->maxconn || (!s->nbpend && s->served < srv_dynamic_maxconn(s))) { ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/lb_fas.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/lb_fas.c:24: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/lb_fas.c:24: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/lb_fas.c:24: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fas.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/lb_fas.c:24: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/lb_fas.c:28: 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))); ^ src/lb_fas.c: In function 'fas_get_next_server': src/lb_fas.c:331:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!s->maxconn || (!s->nbpend && s->served < srv_dynamic_maxconn(s))) { ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/auth.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/auth.c:28: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/auth.c:28: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/auth.c:28: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/auth.c:28: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/auth.c:28: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/auth.c:35: 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))); ^ src/auth.c: In function 'pat_match_auth': src/auth.c:287:67: warning: unused parameter 'fill' [-Wunused-parameter] pat_match_auth(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ In file included from include/types/global.h:28, from src/auth.c:28: src/auth.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(const char *, int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:314:2: note: in expansion of macro 'INITCALL2' INITCALL2(STG_REGISTER, hap_register_build_opts, (str), 0) ^~~~~~~~~ src/auth.c:320:1: note: in expansion of macro 'REGISTER_BUILD_OPTS' REGISTER_BUILD_OPTS("Encrypted password support via crypt(3): "CRYPT_STATE_MSG); ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/hathreads.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hathreads.c:26: 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 'long 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/hathreads.c:26: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/hathreads.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/hathreads.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))); ^ src/hathreads.c: In function 'ha_tkillall': src/hathreads.c:147:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (thr = 0; thr < global.nbthread; thr++) { ^ src/hathreads.c: In function 'dummy_thread_function': src/hathreads.c:200:42: warning: unused parameter 'data' [-Wunused-parameter] static void *dummy_thread_function(void *data) ~~~~~~^~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/buffer.o In file included from include/common/buffer.h:30, from src/buffer.c:18: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/buffer.h:32, from src/buffer.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/time.h:31, from include/proto/activity.h:27, from include/common/buffer.h:36, from src/buffer.c:18: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from src/buffer.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from src/buffer.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/buffer.h:29, from src/buffer.c:18: src/buffer.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:277:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/buffer.c:27:1: note: in expansion of macro '__decl_aligned_spinlock' __decl_aligned_spinlock(buffer_wq_lock); ^~~~~~~~~~~~~~~~~~~~~~~ src/buffer.c: In function '__offer_buffer': src/buffer.c:116:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (avail <= threshold) ^~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/hpack-tbl.o In file included from include/common/http-hdr.h:31, from include/common/hpack-tbl.h:33, from src/hpack-tbl.c:34: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/hpack-tbl.c:34: include/common/hpack-tbl.h: In function 'hpack_valid_idx': include/common/hpack-tbl.h:172:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/hpack-tbl.c:37: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/hpack-tbl.c:37: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-tbl.c:37: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-tbl.c:37: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/sha1.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/freq_ctr.o In file included from include/common/standard.h:36, from src/freq_ctr.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/freq_ctr.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/freq_ctr.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/lru.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/xxhash.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/action.o In file included from include/common/standard.h:36, from src/action.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/action.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proto_http.h:27, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from include/proto/action.h:25, from src/action.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from include/proto/action.h:25, from src/action.c:18: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/types/action.h:27, from include/proto/action.h:25, from src/action.c:18: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/action.c: In function 'act_resolution_cb': src/action.c:73:79: warning: unused parameter 'nameserver' [-Wunused-parameter] int act_resolution_cb(struct dns_requester *requester, struct dns_nameserver *nameserver) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/action.c: In function 'act_resolution_error_cb': src/action.c:89:66: warning: unused parameter 'error_code' [-Wunused-parameter] int act_resolution_error_cb(struct dns_requester *requester, int error_code) ~~~~^~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/hpack-dec.o In file included from include/common/standard.h:36, from src/hpack-dec.c:33: 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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/hpack-dec.c:33: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http-hdr.h:31, from include/common/hpack-tbl.h:33, from include/common/hpack-dec.h:34, from src/hpack-dec.c:34: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/hpack-dec.h:34, from src/hpack-dec.c:34: include/common/hpack-tbl.h: In function 'hpack_valid_idx': include/common/hpack-tbl.h:172:13: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ In file included from include/common/h2.h:34, from src/hpack-dec.c:38: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-dec.c:41: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-dec.c:41: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/shctx.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/shctx.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/shctx.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/shctx.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/shctx.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/shctx.c:17: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/shctx.c:19: 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:96:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (*uaddr != value) ^~ src/shctx.c: In function 'shctx_row_reserve_hot': src/shctx.c:43:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (data_len > shctx->nbav * shctx->block_size) ^ src/shctx.c:49:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!first && data_len > shctx->max_obj_size)) ^ src/shctx.c: In function 'shctx_row_inc_hot': src/shctx.c:159:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (count >= first->block_count) ^~ src/shctx.c: In function 'shctx_row_dec_hot': src/shctx.c:186:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (count >= first->block_count) ^~ src/shctx.c: In function 'shctx_row_data_append': src/shctx.c:209:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len > first->block_count * shctx->block_size - first->len) ^ src/shctx.c: In function 'shctx_row_data_get': src/shctx.c:257:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (len > first->len) ^ src/shctx.c:264:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (count >= first->block_count || len <= 0) ^~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/http.o In file included from include/common/http.h:27, from src/http.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from src/http.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/http.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ src/http.c: In function 'http_extract_cookie_value': src/http.c:734:48: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (cookie_name_l == 0 || (att_end - att_beg == cookie_name_l && ^~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/proto_udp.o In file included from include/common/standard.h:36, from include/types/global.h:30, from src/proto_udp.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/proto_udp.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/proto_udp.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/proto_udp.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/proto_udp.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/http_acl.o In file included from src/http_acl.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27, from src/http_acl.c:23: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from src/http_acl.c:26: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ src/http_acl.c: In function 'pat_parse_meth': src/http_acl.c:40:74: warning: unused parameter 'mflags' [-Wunused-parameter] static int pat_parse_meth(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~^~~~~~ src/http_acl.c:40:89: warning: unused parameter 'err' [-Wunused-parameter] static int pat_parse_meth(const char *text, struct pattern *pattern, int mflags, char **err) ~~~~~~~^~~ src/http_acl.c: In function 'pat_match_meth': src/http_acl.c:78:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (pattern->len != smp->data.u.meth.str.data) ^~ src/http_acl.c:60:90: warning: unused parameter 'fill' [-Wunused-parameter] static struct pattern *pat_match_meth(struct sample *smp, struct pattern_expr *expr, int fill) ~~~~^~~~ src/http_acl.c: At top level: src/http_acl.c:97:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base", "base", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:98:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_beg", "base", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:99:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_dir", "base", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:100:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_dom", "base", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:101:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_end", "base", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:102:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_len", "base", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:103:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_reg", "base", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:104:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "base_sub", "base", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:106:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook", "req.cook", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:107:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_beg", "req.cook", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:108:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_dir", "req.cook", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:109:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_dom", "req.cook", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:110:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_end", "req.cook", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:111:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_len", "req.cook", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:112:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_reg", "req.cook", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:113:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "cook_sub", "req.cook", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:115:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr", "req.hdr", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:116:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_beg", "req.hdr", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:117:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_dir", "req.hdr", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:118:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_dom", "req.hdr", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:119:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_end", "req.hdr", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:120:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_len", "req.hdr", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:121:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_reg", "req.hdr", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:122:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "hdr_sub", "req.hdr", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:130:2: warning: missing initializer for field 'smp' of 'struct acl_keyword' [-Wmissing-field-initializers] { "http_auth_group", NULL, PAT_MATCH_STR, NULL, pat_idx_list_str, pat_del_list_ptr, NULL, pat_match_auth }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:101:23: note: 'smp' declared here struct sample_fetch *smp; /* the sample fetch we depend on */ ^~~ src/http_acl.c:131:2: warning: missing initializer for field 'smp' of 'struct acl_keyword' [-Wmissing-field-initializers] { "method", NULL, PAT_MATCH_STR, pat_parse_meth, pat_idx_list_str, pat_del_list_ptr, NULL, pat_match_meth }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:101:23: note: 'smp' declared here struct sample_fetch *smp; /* the sample fetch we depend on */ ^~~ src/http_acl.c:133:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path", "path", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:134:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_beg", "path", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:135:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_dir", "path", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:136:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_dom", "path", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:137:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_end", "path", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:138:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_len", "path", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:139:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_reg", "path", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:140:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "path_sub", "path", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:142:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "req_ver", "req.ver", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:143:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "resp_ver", "res.ver", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:145:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook", "res.cook", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:146:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_beg", "res.cook", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:147:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_dir", "res.cook", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:148:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_dom", "res.cook", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:149:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_end", "res.cook", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:150:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_len", "res.cook", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:151:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_reg", "res.cook", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:152:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "scook_sub", "res.cook", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:154:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr", "res.hdr", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:155:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_beg", "res.hdr", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:156:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_dir", "res.hdr", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:157:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_dom", "res.hdr", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:158:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_end", "res.hdr", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:159:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_len", "res.hdr", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:160:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_reg", "res.hdr", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:161:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "shdr_sub", "res.hdr", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:163:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url", "url", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:164:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_beg", "url", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:165:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_dir", "url", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:166:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_dom", "url", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:167:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_end", "url", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:168:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_len", "url", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:169:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_reg", "url", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:170:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "url_sub", "url", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:172:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp", "urlp", PAT_MATCH_STR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:173:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_beg", "urlp", PAT_MATCH_BEG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:174:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_dir", "urlp", PAT_MATCH_DIR }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:175:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_dom", "urlp", PAT_MATCH_DOM }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:176:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_end", "urlp", PAT_MATCH_END }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:177:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_len", "urlp", PAT_MATCH_LEN }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:178:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_reg", "urlp", PAT_MATCH_REG }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ src/http_acl.c:179:2: warning: missing initializer for field 'parse' of 'struct acl_keyword' [-Wmissing-field-initializers] { "urlp_sub", "urlp", PAT_MATCH_SUB }, ^ In file included from include/types/proxy.h:41, from include/types/global.h:33, from src/http_acl.c:29: include/types/acl.h:95:8: note: 'parse' declared here int (*parse)(const char *text, struct pattern *pattern, int flags, char **err); ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from include/common/chunk.h:28, from src/http_acl.c:19: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct acl_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/http_acl.c:184:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, acl_register_keywords, &acl_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/mailers.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/version.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/hash.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/protocol.o In file included from include/common/standard.h:36, from src/protocol.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/protocol.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from src/protocol.c:18: src/protocol.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(long unsigned int *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/common/hathreads.h:272:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_LOCK, ha_spin_init, &(lock)) ^~~~~~~~~ src/protocol.c:31:1: note: in expansion of macro '__decl_spinlock' __decl_spinlock(proto_lock); ^~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/hdr_idx.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/arg.o In file included from include/common/standard.h:36, from src/arg.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/arg.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/sample.h:30, from include/types/vars.h:7, from include/types/arg.h:31, from include/proto/arg.h:25, from src/arg.c:18: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ src/arg.c: In function 'make_arg_list': src/arg.c:117:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (nbarg = 0; nbarg < ARGM_NBARGS && ((mask >> (nbarg * ARGT_BITS)) & ARGT_MASK); nbarg++); ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/hpack-enc.o In file included from include/common/http.h:27, from include/common/hpack-enc.h:35, from src/hpack-enc.c:33: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/global.h:30, from src/hpack-enc.c:37: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/global.h:30, from src/hpack-enc.c:37: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-enc.c:37: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/hpack-enc.c:37: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/config.h:25, from include/common/debug.h:25, from include/common/buf.h:35, from include/common/hpack-enc.h:33, from src/hpack-enc.c:33: src/hpack-enc.c: In function 'hpack_encode_header': src/hpack-enc.c:180:44: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if (likely(n.len < 127 && len + 2 + n.len <= size)) { ^~ include/common/compiler.h:124:38: note: in definition of macro 'likely' #define likely(x) (__builtin_expect((x) != 0, 1)) ^ src/hpack-enc.c:187:48: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] len + 1 + hpack_len_to_bytes(n.len) + n.len <= size) { ^~ src/hpack-enc.c:201:46: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] len + hpack_len_to_bytes(v.len) + v.len > size) { ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/base64.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/hpack-huff.o src/hpack-huff.c: In function 'huff_enc': src/hpack-huff.c:1395:35: warning: unused parameter 'out' [-Wunused-parameter] int huff_enc(const char *s, char *out) ~~~~~~^~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/dict.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC ebtree/ebtree.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC ebtree/eb32sctree.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC ebtree/ebsttree.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC ebtree/eb64tree.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/http_htx.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_htx.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 'long 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/http_htx.c:15: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/http_htx.c:15: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/http_htx.c:15: 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/http_htx.c:18: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/http_htx.c: In function 'http_str_to_htx': src/http_htx.c:692:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if ((flags & HTX_SL_F_BODYLESS) && raw.len > ret) { ^ src/http_htx.c:718:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] while (raw.len > ret) { ^ src/http_htx.c: In function 'http_htx_init': src/http_htx.c:798:1: warning: label 'end' defined but not used [-Wunused-label] end: ^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/http_htx.c:14: src/http_htx.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169: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/http_htx.c:802:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("http_htx", http_htx_init); ^~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/wdt.o In file included from include/common/standard.h:36, from src/wdt.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/wdt.c:19: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/wdt.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/wdt.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/wdt.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from src/wdt.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))); ^ src/wdt.c: In function 'wdt_handler': src/wdt.c:116:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (thr != tid) ^~ src/wdt.c:46:48: warning: unused parameter 'arg' [-Wunused-parameter] void wdt_handler(int sig, siginfo_t *si, void *arg) ~~~~~~^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from src/wdt.c:16: src/wdt.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:318:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/wdt.c:179:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(init_wdt); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:330:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_init, (fct)) ^~~~~~~~~ src/wdt.c:180:1: note: in expansion of macro 'REGISTER_PER_THREAD_INIT' REGISTER_PER_THREAD_INIT(init_wdt_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:334:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_deinit, (fct)) ^~~~~~~~~ src/wdt.c:181:1: note: in expansion of macro 'REGISTER_PER_THREAD_DEINIT' REGISTER_PER_THREAD_DEINIT(deinit_wdt_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC ebtree/ebimtree.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC ebtree/eb32tree.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/activity.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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/activity.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/activity.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/activity.c:13: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/channel.h:32, from src/activity.c:19: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from src/activity.c:19: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/activity.c:22: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/activity.c:22: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ src/activity.c: In function 'cfg_parse_prof_tasks': src/activity.c:44:50: warning: unused parameter 'section_type' [-Wunused-parameter] static int cfg_parse_prof_tasks(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/activity.c:44:78: warning: unused parameter 'curpx' [-Wunused-parameter] static int cfg_parse_prof_tasks(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/activity.c:45:47: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~~~^~~~~ src/activity.c:45:66: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~~~~~~~~~^~~~ src/activity.c:45:76: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ~~~~^~~~ src/activity.c: In function 'cli_parse_set_profiling': src/activity.c:65:55: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_set_profiling(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/activity.c:65:93: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_set_profiling(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ In file included from include/common/cfgparse.h:27, from src/activity.c:13: src/activity.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/activity.c:138:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws); ^~~~~~~~~ src/activity.c:142:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "profiling", NULL }, "show profiling : show CPU profiling options", NULL, cli_io_handler_show_profiling, NULL }, ^ In file included from include/proto/cli.h:28, from src/activity.c:20: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/activity.c:143:2: warning: missing initializer for field 'io_release' of 'struct cli_kw' [-Wmissing-field-initializers] { { "set", "profiling", NULL }, "set profiling : enable/disable CPU profiling", cli_parse_set_profiling, NULL }, ^ In file included from include/proto/cli.h:28, from src/activity.c:20: include/types/cli.h:34:9: note: 'io_release' declared here void (*io_release)(struct appctx *appctx); ^~~~~~~~~~ src/activity.c:144:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from include/proto/cli.h:28, from src/activity.c:20: include/types/cli.h:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/activity.c:13: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/activity.c:147:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC ebtree/ebmbtree.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/mworker-prog.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker-prog.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 'long 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/mworker-prog.c:22: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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/mworker-prog.c:22: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker-prog.c:22: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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/mworker-prog.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mworker-prog.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/common/cfgparse.h:27, from src/mworker-prog.c:22: src/mworker-prog.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/cfgparse.h:149:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_REGISTER, cfg_register_section, (name), (parse), (post)) ^~~~~~~~~ src/mworker-prog.c:284:1: note: in expansion of macro 'REGISTER_CONFIG_SECTION' REGISTER_CONFIG_SECTION("program", cfg_parse_program, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:169: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/mworker-prog.c:285:1: note: in expansion of macro 'REGISTER_CONFIG_POSTPARSER' REGISTER_CONFIG_POSTPARSER("program", cfg_program_postparser); ^~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC ebtree/ebistree.o make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/xprt_handshake.o In file included from include/proto/connection.h:26, from src/xprt_handshake.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/xprt_handshake.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/proto/connection.h:28, from src/xprt_handshake.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long 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/connection.h:30, from src/xprt_handshake.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/types/proto_http.h:31, from include/types/hlua.h:12, from include/types/applet.h:26, from include/proto/obj_type.h:27, from include/proto/connection.h:31, from src/xprt_handshake.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/xprt_handshake.c:13: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from src/xprt_handshake.c:13: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from src/xprt_handshake.c:13: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/xprt_handshake.c:14: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/xprt_handshake.c:14: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/proto/connection.h:27, from src/xprt_handshake.c:13: src/xprt_handshake.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct pool_head **, char *, unsigned int)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:175:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, arg2, arg3) ^~~~~~~~~~~~~~~~~ include/common/memory.h:126:2: note: in expansion of macro 'INITCALL3' INITCALL3(STG_POOL, create_pool_callback, (ptr), (name), (size)) ^~~~~~~~~ include/common/memory.h:136:2: note: in expansion of macro 'REGISTER_POOL' REGISTER_POOL(&ptr, name, size) ^~~~~~~~~~~~~ src/xprt_handshake.c:25:1: note: in expansion of macro 'DECLARE_STATIC_POOL' DECLARE_STATIC_POOL(xprt_handshake_ctx_pool, "xprt_handshake_ctx_pool", sizeof(struct xprt_handshake_ctx)); ^~~~~~~~~~~~~~~~~~~ src/xprt_handshake.c: In function 'xprt_handshake_from_buf': src/xprt_handshake.c:30:58: warning: unused parameter 'conn' [-Wunused-parameter] static size_t xprt_handshake_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~~~~~~~~~~~~~~~~^~~~ src/xprt_handshake.c:30:70: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] static size_t xprt_handshake_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~~~^~~~~~~~ src/xprt_handshake.c:30:101: warning: unused parameter 'buf' [-Wunused-parameter] static size_t xprt_handshake_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~~~~~~~~~~~~~~~~~~^~~ src/xprt_handshake.c:30:113: warning: unused parameter 'count' [-Wunused-parameter] static size_t xprt_handshake_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~~~~^~~~~ src/xprt_handshake.c:30:124: warning: unused parameter 'flags' [-Wunused-parameter] static size_t xprt_handshake_from_buf(struct connection *conn, void *xprt_ctx, const struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/xprt_handshake.c: In function 'xprt_handshake_to_buf': src/xprt_handshake.c:35:56: warning: unused parameter 'conn' [-Wunused-parameter] static size_t xprt_handshake_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~~~~~~~~~~~~~~~~^~~~ src/xprt_handshake.c:35:68: warning: unused parameter 'xprt_ctx' [-Wunused-parameter] static size_t xprt_handshake_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~~~^~~~~~~~ src/xprt_handshake.c:35:93: warning: unused parameter 'buf' [-Wunused-parameter] static size_t xprt_handshake_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~~~~~~~~~~~~^~~ src/xprt_handshake.c:35:105: warning: unused parameter 'count' [-Wunused-parameter] static size_t xprt_handshake_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~~~~^~~~~ src/xprt_handshake.c:35:116: warning: unused parameter 'flags' [-Wunused-parameter] static size_t xprt_handshake_to_buf(struct connection *conn, void *xprt_ctx, struct buffer *buf, size_t count, int flags) ~~~~^~~~~ src/xprt_handshake.c: In function 'xprt_handshake_io_cb': src/xprt_handshake.c:40:55: warning: unused parameter 't' [-Wunused-parameter] static struct task *xprt_handshake_io_cb(struct task *t, void *bctx, unsigned short state) ~~~~~~~~~~~~~^ src/xprt_handshake.c:40:85: warning: unused parameter 'state' [-Wunused-parameter] static struct task *xprt_handshake_io_cb(struct task *t, void *bctx, unsigned short state) ~~~~~~~~~~~~~~~^~~~~ src/xprt_handshake.c: In function 'xprt_handshake_subscribe': src/xprt_handshake.c:207:56: warning: unused parameter 'conn' [-Wunused-parameter] static int xprt_handshake_subscribe(struct connection *conn, void *xprt_ctx, int event_type, void *param) ~~~~~~~~~~~~~~~~~~~^~~~ src/xprt_handshake.c: In function 'xprt_handshake_unsubscribe': src/xprt_handshake.c:232:58: warning: unused parameter 'conn' [-Wunused-parameter] static int xprt_handshake_unsubscribe(struct connection *conn, void *xprt_ctx, int event_type, void *param) ~~~~~~~~~~~~~~~~~~~^~~~ src/xprt_handshake.c: In function 'xprt_handshake_add_xprt': src/xprt_handshake.c:255:55: warning: unused parameter 'conn' [-Wunused-parameter] static int xprt_handshake_add_xprt(struct connection *conn, void *xprt_ctx, void *toadd_ctx, const struct xprt_ops *toadd_ops, void **oldxprt_ctx, const struct xprt_ops **oldxprt_ops) ~~~~~~~~~~~~~~~~~~~^~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/h2.o In file included from include/common/http-hdr.h:31, from include/common/h2.h:33, from src/h2.c:30: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/standard.h:36, from include/common/htx.h:31, from include/common/h2.h:34, from src/h2.c:30: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/htx.h:31, from include/common/h2.h:34, from src/h2.c:30: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/h2.h:34, from src/h2.c:30: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ src/h2.c: In function 'h2_make_h1_request': src/h2.c:191:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = !!phdr; i < list[idx].n.len; i++) ^ src/h2.c: In function 'h2_make_h1_trailers': src/h2.c:402:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < list[idx].n.len; i++) ^ src/h2.c: In function 'h2_make_htx_request': src/h2.c:653:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = !!phdr; i < list[idx].n.len; i++) ^ src/h2.c: In function 'h2_make_htx_response': src/h2.c:909:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = !!phdr; i < list[idx].n.len; i++) ^ src/h2.c: In function 'h2_make_htx_trailers': src/h2.c:1040:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (i = 0; i < list[idx].n.len; i++) ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/debug.o In file included from include/common/standard.h:36, from src/debug.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from src/debug.c:23: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/http.h:27, from include/types/proxy.h:32, from include/types/global.h:33, from src/debug.c:25: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/debug.c:25: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/debug.c:25: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/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/debug.c:31: 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/debug.c:31: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/debug.c:31: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/debug.c:31: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/debug.c:31: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/debug.c: In function 'ha_thread_dump': src/debug.c:79:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (thr != tid) ^~ src/debug.c: In function 'debug_handler': src/debug.c:474:24: warning: unused parameter 'sig' [-Wunused-parameter] void debug_handler(int sig, siginfo_t *si, void *arg) ~~~~^~~ src/debug.c:474:40: warning: unused parameter 'si' [-Wunused-parameter] void debug_handler(int sig, siginfo_t *si, void *arg) ~~~~~~~~~~~^~ src/debug.c:474:50: warning: unused parameter 'arg' [-Wunused-parameter] void debug_handler(int sig, siginfo_t *si, void *arg) ~~~~~~^~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from src/debug.c:18: src/debug.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:318:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_post_check, (fct)) ^~~~~~~~~ src/debug.c:546:1: note: in expansion of macro 'REGISTER_POST_CHECK' REGISTER_POST_CHECK(init_debug); ^~~~~~~~~~~~~~~~~~~ include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:330:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_init, (fct)) ^~~~~~~~~ src/debug.c:547:1: note: in expansion of macro 'REGISTER_PER_THREAD_INIT' REGISTER_PER_THREAD_INIT(init_debug_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ src/debug.c:564:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "threads", NULL }, "show threads : show some threads debugging information", NULL, cli_io_handler_show_threads, NULL }, ^ In file included from include/proto/cli.h:28, from src/debug.c:28: include/types/cli.h:35:8: note: 'private' declared here void *private; ^~~~~~~ src/debug.c:565:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from include/proto/cli.h:28, from src/debug.c:28: include/types/cli.h:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/hathreads.h:32, from include/common/mini-clist.h:183, from include/common/memory.h:33, from include/common/debug.h:26, from include/common/buf.h:35, from src/debug.c:18: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/debug.c:568:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/mworker.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker.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 'long 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/mworker.c:20: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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/mworker.c:20: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mworker.c:20: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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/mworker.c:20: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mworker.c:20: 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/mworker.c:38: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from include/proto/stream_interface.h:31, from src/mworker.c:38: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986: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/mworker.c:38: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/stream_interface.h:32, from src/mworker.c:38: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/mworker.c: In function 'mworker_catch_sighup': src/mworker.c:231:47: warning: unused parameter 'sh' [-Wunused-parameter] void mworker_catch_sighup(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ src/mworker.c: In function 'mworker_catch_sigchld': src/mworker.c:253:48: warning: unused parameter 'sh' [-Wunused-parameter] void mworker_catch_sigchld(struct sig_handler *sh) ~~~~~~~~~~~~~~~~~~~~^~ In file included from include/common/cfgparse.h:27, from src/mworker.c:20: src/mworker.c: At top level: include/common/initcall.h:109: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:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ include/types/global.h:330:2: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, hap_register_per_thread_init, (fct)) ^~~~~~~~~ src/mworker.c:392:1: note: in expansion of macro 'REGISTER_PER_THREAD_INIT' REGISTER_PER_THREAD_INIT(mworker_pipe_register_per_thread); ^~~~~~~~~~~~~~~~~~~~~~~~ src/mworker.c: In function 'cli_parse_reload': src/mworker.c:554:36: warning: unused parameter 'args' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~~^~~~ src/mworker.c:554:48: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mworker.c:554:86: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_reload(char **args, char *payload, struct appctx *appctx, void *private) ~~~~~~^~~~~~~ src/mworker.c: In function 'mworker_parse_global_max_reloads': src/mworker.c:565:62: warning: unused parameter 'section_type' [-Wunused-parameter] static int mworker_parse_global_max_reloads(char **args, int section_type, struct proxy *curpx, ~~~~^~~~~~~~~~~~ src/mworker.c:565:90: warning: unused parameter 'curpx' [-Wunused-parameter] static int mworker_parse_global_max_reloads(char **args, int section_type, struct proxy *curpx, ~~~~~~~~~~~~~~^~~~~ src/mworker.c:566:26: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int linenum, char **err) ~~~~~~~~~~~~~~^~~~~ In file included from include/common/cfgparse.h:27, from src/mworker.c:20: src/mworker.c: At top level: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cfg_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mworker.c:625:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cfg_register_keywords, &mworker_kws); ^~~~~~~~~ src/mworker.c:635:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/mworker.c:25: include/types/cli.h:31:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ In file included from include/common/cfgparse.h:27, from src/mworker.c:20: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct cli_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ src/mworker.c:638:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC src/http_msg.o In file included from include/proto/channel.h:31, from src/http_msg.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 'long unsigned int'} [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/htx.h:28, from include/proto/channel.h:32, from src/http_msg.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/common/htx.h:31, from include/proto/channel.h:32, from src/http_msg.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/channel.h:32, from src/http_msg.c:14: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/channel.h:34, from src/http_msg.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~~~~~ In file included from include/types/channel.h:26, from include/proto/channel.h:36, from src/http_msg.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/channel.h:41, from src/http_msg.c:14: 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/http_msg.c:14: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from src/http_msg.c:16: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:217:10: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] if (len > msg->body_len) ^ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' CC contrib/prometheus-exporter/service-prometheus.o In file included from include/types/proxy.h:30, from include/proto/log.h:34, from include/common/cfgparse.h:30, from contrib/prometheus-exporter/service-prometheus.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 'long 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 contrib/prometheus-exporter/service-prometheus.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:488:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:533:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:578:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ~~~~~~~^~~~~ In file included from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:35, 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 contrib/prometheus-exporter/service-prometheus.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:1055:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/proto/activity.h:27, from include/common/buffer.h:36, from include/types/checks.h:21, from include/types/server.h:44, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from contrib/prometheus-exporter/service-prometheus.c:16: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:597:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ~~~~^~~~~~~ include/common/time.h:597: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:44, 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 contrib/prometheus-exporter/service-prometheus.c:16: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:172: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/stream.h:32, from include/proto/log.h:37, from include/common/cfgparse.h:30, from contrib/prometheus-exporter/service-prometheus.c:16: 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 contrib/prometheus-exporter/service-prometheus.c:19: include/common/htx.h: In function 'htx_get_head': include/common/htx.h:383: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->head : -1); ^~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:414: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:484: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/common/htx.h: In function 'htx_get_max_blksz': include/common/htx.h:694:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] if (max != -1 && free > max) ^ In file included from include/proto/session.h:35, from include/proto/connection.h:32, from include/proto/applet.h:30, from contrib/prometheus-exporter/service-prometheus.c:28: include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:251:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] (srv->max_idle_conns == -1 || srv->max_idle_conns > srv->curr_idle_conns) && ^~ include/proto/server.h:260:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (retadd > srv->max_idle_conns) { ^ In file included from include/proto/applet.h:30, from contrib/prometheus-exporter/service-prometheus.c:28: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:972: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:972: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:986:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ~~~~~~~~~~~~~~~~~~~^~~~ In file included from include/proto/stream_interface.h:32, from contrib/prometheus-exporter/service-prometheus.c:41: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:494:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:505:10: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ contrib/prometheus-exporter/service-prometheus.c: In function 'promex_dump_metric_header': contrib/prometheus-exporter/service-prometheus.c:1165:73: warning: unused parameter 'htx' [-Wunused-parameter] static int promex_dump_metric_header(struct appctx *appctx, struct htx *htx, ~~~~~~~~~~~~^~~ contrib/prometheus-exporter/service-prometheus.c: In function 'promex_dump_srv_metrics': contrib/prometheus-exporter/service-prometheus.c:2101:64: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] metric = mkf_u32(FO_CONFIG|FN_LIMIT, (sv->max_idle_conns == -1) ? 0 : sv->max_idle_conns); ^~ contrib/prometheus-exporter/service-prometheus.c: In function 'promex_appctx_init': contrib/prometheus-exporter/service-prometheus.c:2382:68: warning: unused parameter 'px' [-Wunused-parameter] static int promex_appctx_init(struct appctx *appctx, struct proxy *px, struct stream *strm) ~~~~~~~~~~~~~~^~ contrib/prometheus-exporter/service-prometheus.c:2382:87: warning: unused parameter 'strm' [-Wunused-parameter] static int promex_appctx_init(struct appctx *appctx, struct proxy *px, struct stream *strm) ~~~~~~~~~~~~~~~^~~~ contrib/prometheus-exporter/service-prometheus.c: In function 'service_parse_prometheus_exporter': contrib/prometheus-exporter/service-prometheus.c:2476:74: warning: unused parameter 'args' [-Wunused-parameter] static enum act_parse_ret service_parse_prometheus_exporter(const char **args, int *cur_arg, struct proxy *px, ~~~~~~~~~~~~~^~~~ contrib/prometheus-exporter/service-prometheus.c:2476:85: warning: unused parameter 'cur_arg' [-Wunused-parameter] static enum act_parse_ret service_parse_prometheus_exporter(const char **args, int *cur_arg, struct proxy *px, ~~~~~^~~~~~~ contrib/prometheus-exporter/service-prometheus.c: At top level: contrib/prometheus-exporter/service-prometheus.c:2504:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "prometheus-exporter", service_parse_prometheus_exporter }, ^ In file included from include/proto/stream.h:27, from include/proto/log.h:37, from include/common/cfgparse.h:30, from contrib/prometheus-exporter/service-prometheus.c:16: include/types/action.h:183:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ In file included from include/common/cfgparse.h:27, from contrib/prometheus-exporter/service-prometheus.c:16: include/common/initcall.h:109:10: warning: cast between incompatible function types from 'void (*)(struct action_kw_list *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] .fct = (void (*)(void *,void *,void *))function, \ ^ include/common/initcall.h:151:2: note: in expansion of macro '__DECLARE_INITCALL' __DECLARE_INITCALL(__VA_ARGS__) ^~~~~~~~~~~~~~~~~~ include/common/initcall.h:163:2: note: in expansion of macro '_DECLARE_INITCALL' _DECLARE_INITCALL(stage, __LINE__, function, arg1, 0, 0) ^~~~~~~~~~~~~~~~~ contrib/prometheus-exporter/service-prometheus.c:2508:1: note: in expansion of macro 'INITCALL1' INITCALL1(STG_REGISTER, service_keywords_register, &service_actions); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' LD haproxy make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' + pushd contrib/halog ~/RPM/BUILD/haproxy-2.0.20/contrib/halog ~/RPM/BUILD/haproxy-2.0.20 + make halog 'OPTIMIZE=-pipe -frecord-gcc-switches -Wall -g -O2' make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20/contrib/halog' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -o halog -I../../include -I../../ebtree ../../ebtree/ebtree.c ../../ebtree/eb32tree.c ../../ebtree/eb64tree.c ../../ebtree/ebmbtree.c ../../ebtree/ebsttree.c ../../ebtree/ebistree.c ../../ebtree/ebimtree.c halog.c fgets2.c make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20/contrib/halog' + popd ~/RPM/BUILD/haproxy-2.0.20 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.63285 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/haproxy-buildroot + : + /bin/rm -rf -- /usr/src/tmp/haproxy-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd haproxy-2.0.20 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install-bin DESTDIR=/usr/src/tmp/haproxy-buildroot PREFIX=/usr TARGET=linux-glibc make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' /bin/install: creating directory '/usr/src/tmp/haproxy-buildroot' /bin/install: creating directory '/usr/src/tmp/haproxy-buildroot/usr' /bin/install: creating directory '/usr/src/tmp/haproxy-buildroot/usr/sbin' 'haproxy' -> '/usr/src/tmp/haproxy-buildroot/usr/sbin/haproxy' make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' + make 'INSTALL=/usr/libexec/rpm-build/install -p' install-man DESTDIR=/usr/src/tmp/haproxy-buildroot PREFIX=/usr make: Entering directory '/usr/src/RPM/BUILD/haproxy-2.0.20' /bin/install: creating directory '/usr/src/tmp/haproxy-buildroot/usr/share' /bin/install: creating directory '/usr/src/tmp/haproxy-buildroot/usr/share/man' /bin/install: creating directory '/usr/src/tmp/haproxy-buildroot/usr/share/man/man1' 'doc/haproxy.1' -> '/usr/src/tmp/haproxy-buildroot/usr/share/man/man1/haproxy.1' make: Leaving directory '/usr/src/RPM/BUILD/haproxy-2.0.20' + install -p -D -m 0644 /usr/src/RPM/SOURCES/haproxy.cfg /usr/src/tmp/haproxy-buildroot/etc/haproxy/haproxy.cfg + install -D -m 0755 /usr/src/RPM/SOURCES/haproxy.init /usr/src/tmp/haproxy-buildroot/etc/rc.d/init.d/haproxy + install -p -D -m 0644 /usr/src/RPM/SOURCES/haproxy.service /usr/src/tmp/haproxy-buildroot/lib/systemd/system/haproxy.service + install -p -D -m 0644 /usr/src/RPM/SOURCES/haproxy.logrotate /usr/src/tmp/haproxy-buildroot/etc/logrotate.d/haproxy + install -d -m 0755 /usr/src/tmp/haproxy-buildroot/var/lib/haproxy + install -d -m 0755 /usr/src/tmp/haproxy-buildroot/usr/share/haproxy + install -d -m 0755 /usr/src/tmp/haproxy-buildroot/usr/bin + install -p -m 0755 contrib/halog/halog /usr/src/tmp/haproxy-buildroot/usr/bin/halog + cp -p examples/errorfiles/400.http examples/errorfiles/403.http examples/errorfiles/408.http examples/errorfiles/500.http examples/errorfiles/502.http examples/errorfiles/503.http examples/errorfiles/504.http examples/errorfiles/README /usr/src/tmp/haproxy-buildroot/usr/share/haproxy/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/haproxy-buildroot (auto) Verifying and fixing files in /usr/src/tmp/haproxy-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/haproxy-buildroot/ (default) Compressing files in /usr/src/tmp/haproxy-buildroot (auto) Adjusting library links in /usr/src/tmp/haproxy-buildroot ./var/lib: ./lib: Verifying ELF objects in /usr/src/tmp/haproxy-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) section [ 5] '.dynsym': symbol 721 (__start_init_STG_REGISTER): symbol in dynamic symbol table with non-default visibility section [ 5] '.dynsym': symbol 811 (__stop_init_STG_PREPARE): symbol in dynamic symbol table with non-default visibility section [ 5] '.dynsym': symbol 1176 (__start_init_STG_PREPARE): symbol in dynamic symbol table with non-default visibility section [ 5] '.dynsym': symbol 1182 (__stop_init_STG_LOCK): symbol in dynamic symbol table with non-default visibility section [ 5] '.dynsym': symbol 1203 (__stop_init_STG_POOL): symbol in dynamic symbol table with non-default visibility section [ 5] '.dynsym': symbol 1211 (__start_init_STG_LOCK): symbol in dynamic symbol table with non-default visibility section [ 5] '.dynsym': symbol 1243 (__start_init_STG_POOL): symbol in dynamic symbol table with non-default visibility section [ 5] '.dynsym': symbol 1915 (__stop_init_STG_REGISTER): symbol in dynamic symbol table with non-default visibility verify-elf: WARNING: ./usr/sbin/haproxy: eu-elflint failed Hardlinking identical .pyc and .pyo files Processing files: haproxy-2.0.20-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.32642 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd haproxy-2.0.20 + DOCDIR=/usr/src/tmp/haproxy-buildroot/usr/share/doc/haproxy-2.0.20 + export DOCDIR + rm -rf /usr/src/tmp/haproxy-buildroot/usr/share/doc/haproxy-2.0.20 + /bin/mkdir -p /usr/src/tmp/haproxy-buildroot/usr/share/doc/haproxy-2.0.20 + cp -prL CHANGELOG LICENSE README ROADMAP doc/architecture.txt doc/configuration.txt doc/intro.txt doc/management.txt doc/proxy-protocol.txt examples/acl-content-sw.cfg examples/content-sw-sample.cfg examples/option-http_proxy.cfg examples/socks4.cfg examples/transparent_proxy.cfg examples/wurfl-example.cfg /usr/src/tmp/haproxy-buildroot/usr/share/doc/haproxy-2.0.20 + chmod -R go-w /usr/src/tmp/haproxy-buildroot/usr/share/doc/haproxy-2.0.20 + chmod -R a+rX /usr/src/tmp/haproxy-buildroot/usr/share/doc/haproxy-2.0.20 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.j35DLr find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZlFK3F find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DTXuMX Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zM4MYi Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PjbrBH Requires: /bin/kill, /bin/sh, /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(action), /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.10)(64bit), libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.16)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.5)(64bit), libc.so.6(GLIBC_2.6)(64bit), libcrypt.so.1()(64bit) >= set:igUtHYb0, libcrypt.so.1(XCRYPT_2.0)(64bit), libcrypto.so.1.1()(64bit) >= set:qivVi1mZE62EaP00dgqNtFyWMZvMQ4kZdA6VsTwTwcyY5cZw4N2HvqfCBH8r13m9iuJ5AoAr6J3vVkHjGmZcAnTTwB8h9EKQObLd22Ri5wpBc1gX5hJZ4ecBNCLMHkDVldfHlo4b3qCq0qWC0hZbY4M5Ozroii8ygDFlneA7dZoDsjxBbgngQs0TjupGIOfiZ9CBidmZk6hJWPS5t9gr0bzuvTqbxbjqBXk2ZHFRVnL2wFH7ho20Z1T6yeSVhXZyE2dFIqMWDeAR0K9vZmLgYUZ9dyVGog97t0yDz3Q9KeqjzDixI96kzIKS5jZykbjnT2Zg74MYtnOK953EjuRBOYfG2pdZpje4ptpwLZ4uC5ALtof1ZA3UqZdDh0splR0C9I58PgmyKZzuM3rSf9HO5, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libcrypto.so.1.1(OPENSSL_1_1_1)(64bit), liblua-5.3.so()(64bit) >= set:leZKmrUaBduFsmBYiwG0uI9ipsS8yvU6e6Hwdb6hbp8n2ELUnbC4o5DBJMdxFfdRUgHFBw3DKZsvsRslW8N53xK08sgX59cbWBOgSArN0ZCIoQYwX7QW5FxoHsdEVx3N9RhVfgjtjJDaG23JtbqEbW9d20SBWU5vF14, libpcre2-8.so.0()(64bit) >= set:khJAWf3PImZzwDBUAnrV7, libpthread.so.0(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.3.2)(64bit), libpthread.so.0(GLIBC_2.3.4)(64bit), librt.so.1(GLIBC_2.2.5)(64bit), librt.so.1(GLIBC_2.3.3)(64bit), libssl.so.1.1()(64bit) >= set:mfaBZ9iyX4r1fccKJnR7NOFhzCMpii9scG5rdnVdueJVheCGMjI48FOZkxJyING8MXmRzfZ4pSZAcyAf0CX5wZz9vQIOrZ0x2iZG4bPRbwDcIlFkg1Dn0oU7p6x3n5xZJNK240y5af0HkH1oFyCjuZn9kOUJ8qZ6qMTuXNfg7SXNzhGLz57lO5sF3699qyZFwgwV4JhjIfd5Zw2EAmjJL3jZ8XTnzByZfrT5cSkdHlwalQ99BcZx0zQyZcsuZg3, libssl.so.1.1(OPENSSL_1_1_0)(64bit), libssl.so.1.1(OPENSSL_1_1_1)(64bit), libsystemd.so.0()(64bit) >= set:nlZGfeZss, libsystemd.so.0(LIBSYSTEMD_209)(64bit), libz.so.1()(64bit) >= set:khb6pwma2nfgZKO, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /bin/sh, /usr/sbin/groupadd, /usr/sbin/useradd Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.31TZH9 Creating haproxy-debuginfo package Processing files: haproxy-debuginfo-2.0.20-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5jExpF find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RP9jxe find-requires: running scripts (debuginfo) Requires: haproxy = 2.0.20-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypt.so.1), debug64(libcrypto.so.1.1), debug64(liblua-5.3.so), debug64(libpcre2-8.so.0), debug64(libpthread.so.0), debug64(librt.so.1), debug64(libssl.so.1.1), debug64(libsystemd.so.0), debug64(libz.so.1) Adding to haproxy-debuginfo a strict dependency on haproxy Wrote: /usr/src/RPM/RPMS/x86_64/haproxy-2.0.20-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/haproxy-debuginfo-2.0.20-alt1.x86_64.rpm (w2T16.xzdio) 81.01user 9.19system 0:20.42elapsed 441%CPU (0avgtext+0avgdata 143624maxresident)k 0inputs+0outputs (0major+2847853minor)pagefaults 0swaps 3.20user 1.20system 0:27.14elapsed 16%CPU (0avgtext+0avgdata 134816maxresident)k 0inputs+0outputs (0major+203960minor)pagefaults 0swaps --- haproxy-2.0.20-alt1.x86_64.rpm.repo 2021-01-19 11:50:43.000000000 +0000 +++ haproxy-2.0.20-alt1.x86_64.rpm.hasher 2023-09-17 09:22:32.489781871 +0000 @@ -90,4 +90,4 @@ File: /lib/systemd/system/haproxy.service 100644 root:root 6cf5ade20ea558c1153036fcad042444 -File: /usr/bin/halog 100755 root:root f501c613f9d6138384abdbea775cc2af -File: /usr/sbin/haproxy 100755 root:root 74bd424b3ff909aa59b139becb51df0c +File: /usr/bin/halog 100755 root:root eab07df2f5180946ea7520738e4371de +File: /usr/sbin/haproxy 100755 root:root fddddceee61be671424cd2e96fc7c3d2 File: /usr/share/doc/haproxy-2.0.20 40755 root:root @@ -119,2 +119,2 @@ File: /var/lib/haproxy 40755 _haproxy:_haproxy -RPMIdentity: 57d98ecaa4b718a957508a5ead6d0bc12888f60f71a7569bdc9d0e9cbcf43e9ff75802fd1f38672bb203fb08f0840441d0901f7b2f843246ba176c63fe69a10b +RPMIdentity: a7d371aaafdcb80045cc61919e9e48002316c6136f4cd5bc5c173864d6f7ff811e7347c3fc3adae52f1db191a6b4144dca642ec3cdb95af187784f1e5a5a5cc7 --- haproxy-debuginfo-2.0.20-alt1.x86_64.rpm.repo 2021-01-19 11:50:43.000000000 +0000 +++ haproxy-debuginfo-2.0.20-alt1.x86_64.rpm.hasher 2023-09-17 09:22:32.555782593 +0000 @@ -1,7 +1,7 @@ -/usr/lib/debug/.build-id/a2 40755 root:root -/usr/lib/debug/.build-id/a2/9bd02de174f952fb8d81c93c09a97c8a212063 120777 root:root ../../../../sbin/haproxy -/usr/lib/debug/.build-id/a2/9bd02de174f952fb8d81c93c09a97c8a212063.debug 120777 root:root ../../usr/sbin/haproxy.debug -/usr/lib/debug/.build-id/b1 40755 root:root -/usr/lib/debug/.build-id/b1/83072e5065dd30f6e71f59f6b648f8de6f4153 120777 root:root ../../../../bin/halog -/usr/lib/debug/.build-id/b1/83072e5065dd30f6e71f59f6b648f8de6f4153.debug 120777 root:root ../../usr/bin/halog.debug +/usr/lib/debug/.build-id/08 40755 root:root +/usr/lib/debug/.build-id/08/23e2c14e89246484db9ecf72fdb88e332d1c52 120777 root:root ../../../../bin/halog +/usr/lib/debug/.build-id/08/23e2c14e89246484db9ecf72fdb88e332d1c52.debug 120777 root:root ../../usr/bin/halog.debug +/usr/lib/debug/.build-id/d0 40755 root:root +/usr/lib/debug/.build-id/d0/67db89dafcfb81339fc426cc3efca3b9479404 120777 root:root ../../../../sbin/haproxy +/usr/lib/debug/.build-id/d0/67db89dafcfb81339fc426cc3efca3b9479404.debug 120777 root:root ../../usr/sbin/haproxy.debug /usr/lib/debug/usr/bin/halog.debug 100644 root:root @@ -310,10 +310,10 @@ Provides: haproxy-debuginfo = 2.0.20-alt1:p9+264880.100.1.1 -File: /usr/lib/debug/.build-id/a2 40755 root:root -File: /usr/lib/debug/.build-id/a2/9bd02de174f952fb8d81c93c09a97c8a212063 120777 root:root ../../../../sbin/haproxy -File: /usr/lib/debug/.build-id/a2/9bd02de174f952fb8d81c93c09a97c8a212063.debug 120777 root:root ../../usr/sbin/haproxy.debug -File: /usr/lib/debug/.build-id/b1 40755 root:root -File: /usr/lib/debug/.build-id/b1/83072e5065dd30f6e71f59f6b648f8de6f4153 120777 root:root ../../../../bin/halog -File: /usr/lib/debug/.build-id/b1/83072e5065dd30f6e71f59f6b648f8de6f4153.debug 120777 root:root ../../usr/bin/halog.debug -File: /usr/lib/debug/usr/bin/halog.debug 100644 root:root 9452e2bba1ce37a7ff58b2f3f79ce04f -File: /usr/lib/debug/usr/sbin/haproxy.debug 100644 root:root 22b01c9c97d15a9c0110632d0b907a86 +File: /usr/lib/debug/.build-id/08 40755 root:root +File: /usr/lib/debug/.build-id/08/23e2c14e89246484db9ecf72fdb88e332d1c52 120777 root:root ../../../../bin/halog +File: /usr/lib/debug/.build-id/08/23e2c14e89246484db9ecf72fdb88e332d1c52.debug 120777 root:root ../../usr/bin/halog.debug +File: /usr/lib/debug/.build-id/d0 40755 root:root +File: /usr/lib/debug/.build-id/d0/67db89dafcfb81339fc426cc3efca3b9479404 120777 root:root ../../../../sbin/haproxy +File: /usr/lib/debug/.build-id/d0/67db89dafcfb81339fc426cc3efca3b9479404.debug 120777 root:root ../../usr/sbin/haproxy.debug +File: /usr/lib/debug/usr/bin/halog.debug 100644 root:root b80c572053e626ba2f0aed94c6d22bc1 +File: /usr/lib/debug/usr/sbin/haproxy.debug 100644 root:root dd228994ff065da33837849e3c1fbaea File: /usr/src/debug/haproxy-2.0.20 40755 root:root @@ -606,2 +606,2 @@ File: /usr/src/debug/haproxy-2.0.20/src/xxhash.c 100644 root:root cb1574c3683e7e9bc24b1ffbcee79dc3 -RPMIdentity: c3e9f6833cb38314e3648b9371761e5dfee6f0ce3dc0e14accf0c46b4cc4e2ae6ddd746a5f263f2bd84e79eb201bd4d170cce501c0c53636811649ea2b661147 +RPMIdentity: 6bba94c92e0778dae51dbdf810dca9752734398e26ba938357eedcb9f7acb5e5b8904bbc330fd77ac44d712adcf573952dc25f984ae8cadcd1f0e019e02faa99