>>> haproxy 1.9.1 Extracting gzip -d -c /home/buildroot/autobuild/instance-1/dl/haproxy/haproxy-1.9.1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1 -xf - >>> haproxy 1.9.1 Patching >>> haproxy 1.9.1 Configuring >>> haproxy 1.9.1 Building PATH="/home/buildroot/autobuild/instance-1/output/host/bin:/home/buildroot/autobuild/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 PATH="/home/buildroot/autobuild/instance-1/output/host/bin:/home/buildroot/autobuild/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-ar" AS="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-as" LD="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-ld" NM="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-nm" CC="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-gcc" GCC="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-gcc" CPP="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-cpp" CXX="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-g++" FC="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-gfortran" F77="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-gfortran" RANLIB="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-ranlib" READELF="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-readelf" STRIP="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-strip" OBJCOPY="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/instance-1/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/home/buildroot/autobuild/instance-1/output/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl LD=/home/buildroot/autobuild/instance-1/output/host/bin/nios2-linux-gnu-gcc PREFIX=/usr TARGET=custom USE_THREAD=1 PCRE_CONFIG=/home/buildroot/autobuild/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/bin/pcre-config USE_PCRE=1 USE_ZLIB=1 ADDLIB="-latomic" -C /home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1 make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1' CC src/ev_poll.o CC src/proto_http.o CC src/cfgparse-listen.o CC src/proto_htx.o In file included from include/common/standard.h:36:0, from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/htx.h:28:0, from src/proto_htx.c:16: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/common/htx.h:29:0, from src/proto_htx.c:16: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:36:0, from include/common/htx.h:31, from src/proto_htx.c:16: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/types/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/common/ticks.h:56, from src/ev_poll.c:23: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/ticks.h:56:0, from src/ev_poll.c:23: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/common/standard.h:38:0, from include/common/htx.h:31, from src/proto_htx.c:16: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from src/ev_poll.c:24:0: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/common/htx.h:31:0, from src/proto_htx.c:16: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from src/proto_htx.c:16:0: include/common/htx.h: At top level: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/types/global.h:33, from src/ev_poll.c:26: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/types/global.h:33, from src/ev_poll.c:26: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/types/global.h:33, from src/ev_poll.c:26: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/lb_map.h:26, from include/types/backend.h:32, from include/types/proxy.h:42, from include/types/acl.h:32, from include/proto/acl.h:26, from src/proto_htx.c:22: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/channel.h:34:0, from src/proto_htx.c:24: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ src/ev_poll.c: In function '_do_poll': src/ev_poll.c:166:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (fds = 0; (fds * 8*sizeof(**fd_evts)) < maxfd; fds++) { ^ src/ev_poll.c:173:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (count = 0, fd = fds * 8*sizeof(**fd_evts); count < 8*sizeof(**fd_evts) && fd < maxfd; count++, fd++) { ^ src/ev_poll.c:91:45: warning: unused parameter 'p' [-Wunused-parameter] REGPRM2 static void _do_poll(struct poller *p, int exp) ^ src/ev_poll.c: In function '_do_test': src/ev_poll.c:308:44: warning: unused parameter 'p' [-Wunused-parameter] REGPRM1 static int _do_test(struct poller *p) ^ In file included from src/proto_htx.c:24:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/proto_http.c:27: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/cfgparse-listen.c:14: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/proto_http.c:27: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/cfgparse-listen.c:14: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from src/proto_http.c:52:0: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/channel.h:32:0, from src/proto_http.c:53: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/proto/log.h:37:0, from include/proto/server.h:36, from include/proto/session.h:35, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/cfgparse-listen.c:22: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/cfgparse-listen.c:22: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/cfgparse-listen.c:22: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ In file included from src/proto_http.c:53:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/proto_htx.c:26: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from src/cfgparse-listen.c:22:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1023:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ In file included from src/proto_http.c:63:0: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:40:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ^~~ In file included from src/proto_http.c:66:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ In file included from src/proto_htx.c:26:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ In file included from src/proto_http.c:68:0: include/proto/queue.h: In function 'server_has_room': include/proto/connection.h:1023:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ In file included from src/proto_http.c:70:0: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from src/proto_htx.c:32:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ In file included from src/proto_htx.c:33:0: include/proto/proxy.h: At top level: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/proto/applet.h:30:0, from include/proto/stream_interface.h:31, from src/proto_http.c:73: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1023:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ src/proto_htx.c: In function 'htx_wait_for_request': src/proto_htx.c:109:7: warning: signed and unsigned type in conditional expression [-Wsign-compare] : tv_ms_elapsed(&s->logs.tv_accept, &now) - s->logs.t_handshake); ^ src/proto_http.c: In function 'http_change_connection_header': src/proto_http.c:477:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (wanted == (txn->flags & (TX_CON_CLO_SET|TX_CON_KAL_SET))) ^~ src/proto_http.c: In function 'http_adjust_conn_mode': src/proto_http.c:524:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((txn->flags & TX_CON_WANT_MSK) < tmp) ^ src/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_http.c: In function 'http_wait_for_request': src/proto_http.c:641:44: warning: signed and unsigned type in conditional expression [-Wsign-compare] eol = sol + (msg->sl.rq.l ? msg->sl.rq.l : ci_data(req)); ^ src/proto_http.c:1111:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((msg->flags & HTTP_MSGF_CNT_LEN) && (msg->chunk_len != cl)) { ^~ src/proto_htx.c: In function 'htx_adjust_conn_mode': src/proto_htx.c:2324:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((txn->flags & TX_CON_WANT_MSK) < tmp) ^ src/proto_htx.c: In function 'htx_apply_redirect_rule': src/proto_htx.c:2367:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (qs < path.len) { ^ src/proto_htx.c:2415:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (qs < path.len) { ^ src/proto_htx.c:2332:92: warning: unused parameter 'txn' [-Wunused-parameter] int htx_apply_redirect_rule(struct redirect_rule *rule, struct stream *s, struct http_txn *txn) ^~~ src/proto_htx.c: In function 'htx_transform_header_str': src/proto_htx.c:2575:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (output->data == -1) ^~ src/proto_htx.c:2562:45: warning: unused parameter 's' [-Wunused-parameter] int htx_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ^ src/proto_htx.c:2562:64: warning: unused parameter 'chn' [-Wunused-parameter] int htx_transform_header_str(struct stream* s, struct channel *chn, struct htx *htx, ^~~ src/proto_htx.c: In function 'htx_req_replace_stline': src/proto_htx.c:2683:21: warning: unused parameter 'px' [-Wunused-parameter] struct proxy *px, struct stream *s) ^~ src/proto_http.c: In function 'http_wait_for_request_body': src/proto_http.c:3211:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (http_body_bytes(msg) < msg->body_len) ^ src/proto_http.c:3254:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (http_body_bytes(msg) >= msg->body_len) /* we have enough bytes now */ ^~ src/proto_http.c: In function 'http_wait_for_response': src/proto_http.c:4277:44: warning: signed and unsigned type in conditional expression [-Wsign-compare] eol = sol + (msg->sl.st.l ? msg->sl.st.l : ci_data(rep)); ^ src/proto_htx.c: In function 'htx_manage_client_side_cookies': src/proto_htx.c:4272:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((hdr_end - hdr_beg) != ctx.value.len) { ^~ src/proto_http.c:4742:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((msg->flags & HTTP_MSGF_CNT_LEN) && (msg->chunk_len != cl)) { ^~ src/proto_htx.c: In function 'htx_check_request_for_cacheability': src/proto_htx.c:4618:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/proto_htx.c: In function 'htx_check_response_for_cacheability': src/proto_htx.c:4697:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < v.len && *(v.ptr+i) != '=' && *(v.ptr+i) != ',' && ^ src/proto_htx.c:4702:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i < v.len && *(v.ptr + i) == '=') { ^ src/proto_htx.c: In function 'htx_stats_check_uri': src/proto_htx.c:4789:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (uri_auth->uri_len > uri.len) ^ src/proto_htx.c: In function 'htx_reply_and_close': src/proto_htx.c:5319:50: warning: unused parameter 'status' [-Wunused-parameter] void htx_reply_and_close(struct stream *s, short status, struct buffer *msg) ^~~~~~ src/proto_htx.c: In function 'htx_capture_headers': src/proto_htx.c:5491:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h->namelen && (h->namelen == n.len) && ^~ src/proto_htx.c:5503:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (v.len > h->len) ^ CC src/stream.o src/proto_http.c: In function 'stats_check_uri': src/proto_http.c:7062:46: warning: unused parameter 'si' [-Wunused-parameter] int stats_check_uri(struct stream_interface *si, struct http_txn *txn, struct proxy *backend) ^~ src/proto_http.c: In function 'http_capture_bad_message': src/proto_http.c:7133:57: warning: signed and unsigned type in conditional expression [-Wsign-compare] (msg->err_pos >= 0) ? msg->err_pos : msg->next, ^ In file included from include/types/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ src/proto_http.c: In function 'http_msg_forward_chunked_body': src/proto_http.c:5495:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_CRLF; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/proto_http.c:5498:3: note: here case HTTP_MSG_CHUNK_CRLF: ^~~~ src/proto_http.c:5510:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_CHUNK_SIZE; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/proto_http.c:5513:3: note: here case HTTP_MSG_CHUNK_SIZE: ^~~~ src/proto_http.c:5537:19: warning: this statement may fall through [-Wimplicit-fallthrough=] msg->msg_state = HTTP_MSG_TRAILERS; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/proto_http.c:5540:3: note: here case HTTP_MSG_TRAILERS: ^~~~ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/stream.c:17: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/stream.c:17: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from src/stream.c:22:0: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from src/stream.c:37:0: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from src/stream.c:38:0: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/stream.c:41: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/stream.c:41: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from src/stream.c:41:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1023:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ In file included from src/stream.c:48:0: include/proto/hlua.h: In function 'hlua_ctx_destroy': include/proto/hlua.h:40:50: warning: unused parameter 'lua' [-Wunused-parameter] static inline void hlua_ctx_destroy(struct hlua *lua) { } ^~~ In file included from src/stream.c:56:0: include/proto/proto_http.h: In function 'http_body_bytes': include/proto/proto_http.h:221:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > msg->body_len) ^ src/stream.c: In function 'process_sticking_rules': src/stream.c:1509:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/stream.c: In function 'process_store_rules': src/stream.c:1586:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s->store_count < (sizeof(s->store) / sizeof(s->store[0]))) { ^ src/stream.c: In function 'cli_parse_show_sess': src/stream.c:3155:51: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stream.c:3155:89: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_show_sess(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stream.c: In function 'cli_parse_shutdown_session': src/stream.c:3407:58: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stream.c:3407:96: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_session(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stream.c: In function 'cli_parse_shutdown_sessions_server': src/stream.c:3442:66: warning: unused parameter 'payload' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stream.c:3442:104: warning: unused parameter 'private' [-Wunused-parameter] static int cli_parse_shutdown_sessions_server(char **args, char *payload, struct appctx *appctx, void *private) ^~~~~~~ src/stream.c: At top level: src/stream.c:3465:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "show", "sess", NULL }, "show sess [id] : report the list of current sessions or dump this session", cli_parse_show_sess, cli_io_handler_dump_sess, cli_release_show_sess }, ^ In file included from src/stream.c:28:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3466:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "shutdown", "session", NULL }, "shutdown session : kill a specific session", cli_parse_shutdown_session, NULL, NULL }, ^ In file included from src/stream.c:28:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3467:2: warning: missing initializer for field 'private' of 'struct cli_kw' [-Wmissing-field-initializers] { { "shutdown", "sessions", "server" }, "shutdown sessions server : kill sessions on a server", cli_parse_shutdown_sessions_server, NULL, NULL }, ^ In file included from src/stream.c:28:0: include/types/cli.h:33:8: note: 'private' declared here void *private; ^~~~~~~ src/stream.c:3468:2: warning: missing initializer for field 'usage' of 'struct cli_kw' [-Wmissing-field-initializers] {{},} ^ In file included from src/stream.c:28:0: include/types/cli.h:29:14: note: 'usage' declared here const char *usage; /* usage message */ ^~~~~ src/stream.c:3475:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "use-service", stream_parse_use_service }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ src/stream.c:3482:2: warning: missing initializer for field 'match_pfx' of 'struct action_kw' [-Wmissing-field-initializers] { "use-service", stream_parse_use_service }, ^ In file included from include/proto/stream.h:27:0, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/stream.c:17: include/types/action.h:175:6: note: 'match_pfx' declared here int match_pfx; ^~~~~~~~~ CC src/mux_h2.o src/proto_http.c: In function 'manage_client_side_cookies': src/proto_http.c:6330:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. In file included from include/types/proxy.h:30:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/chunk.h: In function 'chunk_initlen': include/common/chunk.h:78:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < 0 || (size && len > size)) ^ In file included from include/common/http.h:27:0, from include/types/proxy.h:32, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/ist.h: In function 'ist2str': include/common/ist.h:477:74: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_lc': include/common/ist.h:522:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) ^~~~~ include/common/ist.h: In function 'ist2str_uc': include/common/ist.h:567:77: warning: unused parameter 'count' [-Wunused-parameter] static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) ^~~~~ In file included from include/types/proxy.h:32:0, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/http.h: At top level: include/common/http.h:139:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int http_get_status_idx(unsigned int status); ^~~~~ In file included from include/common/standard.h:38:0, from include/types/listener.h:36, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/namespace.h: In function 'my_socketat': include/common/namespace.h:26:57: warning: unused parameter 'ns' [-Wunused-parameter] static inline int my_socketat(const struct netns_entry *ns, int domain, int type, int protocol) ^~ In file included from include/types/listener.h:36:0, from include/types/connection.h:31, from include/types/server.h:39, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/standard.h: In function 'is_inet_addr': include/common/standard.h:958:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(struct in6_addr) / sizeof(int); i++) ^ In file included from include/types/checks.h:21:0, from include/types/server.h:47, from include/types/acl.h:33, from include/types/proxy.h:41, from include/proto/log.h:34, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/buffer.h: In function 'b_alloc_margin': include/common/buffer.h:161:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((pool_head_buffer->allocated - pool_head_buffer->used + cached) > margin) { ^ In file included from include/proto/fd.h:32:0, from include/proto/stream.h:29, from include/proto/log.h:37, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/common/time.h: In function 'tv_leaving_poll': include/common/time.h:587:40: warning: unused parameter 'timeout' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~ include/common/time.h:587:53: warning: unused parameter 'interrupted' [-Wunused-parameter] static inline void tv_leaving_poll(int timeout, int interrupted) ^~~~~~~~~~~ In file included from include/proto/log.h:37:0, from include/common/cfgparse.h:30, from src/mux_h2.c:13: include/proto/stream.h: At top level: include/proto/stream.h:203:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:241:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_be_http_req_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:281:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_inc_http_err_ctr(struct stream *s) ^~~~~~ include/proto/stream.h:316:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:322:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_add_srv_conn(struct stream *sess, struct server *srv) ^~~~~~ include/proto/stream.h:329:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_del_srv_conn(struct stream *sess) ^~~~~~ include/proto/stream.h:342:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline stream_init_srv_conn(struct stream *sess) ^~~~~~ In file included from include/common/cfgparse.h:31:0, from src/mux_h2.c:13: include/proto/proxy.h:121:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_conn_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:131:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_sess_ctr(struct listener *l, struct proxy *fe) ^~~~~~ include/proto/proxy.h:142:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_be_ctr(struct proxy *be) ^~~~~~ include/proto/proxy.h:150:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline proxy_inc_fe_req_ctr(struct proxy *fe) ^~~~~~ In file included from include/common/h2.h:34:0, from src/mux_h2.c:16: include/common/htx.h:229:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p1(const struct htx_sl *sl) ^~~~~ include/common/htx.h:234:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p2(const struct htx_sl *sl) ^~~~~ include/common/htx.h:239:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_p3(const struct htx_sl *sl) ^~~~~ include/common/htx.h:244:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_meth(const struct htx_sl *sl) ^~~~~ include/common/htx.h:249:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_uri(const struct htx_sl *sl) ^~~~~ include/common/htx.h:254:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_req_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:260:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_vsn(const struct htx_sl *sl) ^~~~~ include/common/htx.h:265:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_code(const struct htx_sl *sl) ^~~~~ include/common/htx.h:270:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static inline const struct ist htx_sl_res_reason(const struct htx_sl *sl) ^~~~~ include/common/htx.h: In function 'htx_get_tail': include/common/htx.h:389:32: warning: signed and unsigned type in conditional expression [-Wsign-compare] return (htx->used ? htx->tail : -1); ^ include/common/htx.h: In function 'htx_get_prev': include/common/htx.h:424:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (head == -1 || pos == head) ^~ In file included from include/common/hpack-dec.h:34:0, from src/mux_h2.c:17: include/common/hpack-tbl.h: In function 'hpack_valid_idx': include/common/hpack-tbl.h:160:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return idx < dht->used + HPACK_SHT_SIZE; ^ In file included from include/proto/queue.h:35:0, from include/proto/server.h:35, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/backend.h: At top level: include/proto/backend.h:61:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline be_set_sess_last(struct proxy *be) ^~~~~~ In file included from include/proto/server.h:35:0, from include/proto/session.h:35, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/queue.h: In function 'server_has_room': include/proto/queue.h:80:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return !s->maxconn || s->cur_sess < srv_dynamic_maxconn(s); ^ include/proto/queue.h: In function 'may_dequeue_tasks': include/proto/queue.h:89:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (!s->maxconn || s->cur_sess < srv_dynamic_maxconn(s))); ^ In file included from include/proto/session.h:35:0, from include/proto/connection.h:32, from src/mux_h2.c:23: include/proto/server.h: At top level: include/proto/server.h:63:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_inc_sess_ctr(struct server *s) ^~~~~~ include/proto/server.h:71:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline srv_set_sess_last(struct server *s) ^~~~~~ include/proto/server.h: In function 'srv_add_to_idle_list': include/proto/server.h:238:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (srv && srv->pool_purge_delay > 0 && (srv->max_idle_conns == -1 || ^~ In file included from src/mux_h2.c:23:0: include/proto/connection.h: In function 'conn_get_best_mux_entry': include/proto/connection.h:1023:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h:1023:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!fallback || (item->mode == proto_mode && fallback->mode != proto_mode)) ^~ include/proto/connection.h: In function 'conn_get_best_mux': include/proto/connection.h:1037:74: warning: unused parameter 'conn' [-Wunused-parameter] static inline const struct mux_ops *conn_get_best_mux(struct connection *conn, ^~~~ In file included from include/proto/stream_interface.h:32:0, from src/mux_h2.c:27: include/proto/channel.h: In function 'channel_htx_may_recv': include/proto/channel.h:492:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ include/proto/channel.h:503:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rem > global.tune.maxrewrite) ^ src/mux_h2.c: In function 'h2_has_too_many_cs': src/mux_h2.c:302:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return h2c->nb_cs > h2_settings_max_concurrent_streams; ^ src/mux_h2.c: In function 'h2_max_streams': src/mux_h2.c:374:46: warning: unused parameter 'conn' [-Wunused-parameter] static int h2_max_streams(struct connection *conn) ^~~~ src/mux_h2.c: In function 'h2s_new': src/mux_h2.c:829:2: warning: label 'out_free_h2s' defined but not used [-Wunused-label] out_free_h2s: ^~~~~~~~~~~~ src/mux_h2.c: In function 'h2c_frt_stream_new': src/mux_h2.c:844:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h2c->nb_streams >= h2_settings_max_concurrent_streams) ^~ src/mux_h2.c: In function 'h2c_bck_stream_new': src/mux_h2.c:895:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h2c->nb_streams >= h2_settings_max_concurrent_streams) ^~ src/mux_h2.c: In function 'h2c_handle_settings': src/mux_h2.c:1388:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c:1392:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (offset = 0; offset < h2c->dfl; offset += 6) { ^ src/mux_h2.c: In function 'h2c_handle_window_update': src/mux_h2.c:1643:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_handle_goaway': src/mux_h2.c:1724:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_handle_priority': src/mux_h2.c:1758:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c:1761:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h2_get_n32(&h2c->dbuf, 0) == h2c->dsi) { ^~ src/mux_h2.c: In function 'h2c_handle_rst_stream': src/mux_h2.c:1792:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl) ^ src/mux_h2.c: In function 'h2c_frt_handle_headers': src/mux_h2.c:1836:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c:1898:2: warning: label 'strm_err' defined but not used [-Wunused-label] strm_err: ^~~~~~~~ src/mux_h2.c: In function 'h2c_bck_handle_headers': src/mux_h2.c:1927:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c:1959:2: warning: label 'strm_err' defined but not used [-Wunused-label] strm_err: ^~~~~~~~ src/mux_h2.c: In function 'h2c_frt_handle_data': src/mux_h2.c:1983:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c: In function 'h2_io_cb': src/mux_h2.c:2626:43: warning: unused parameter 't' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ^ src/mux_h2.c:2626:72: warning: unused parameter 'status' [-Wunused-parameter] static struct task *h2_io_cb(struct task *t, void *ctx, unsigned short status) ^~~~~~ src/mux_h2.c: In function 'h2_timeout_task': src/mux_h2.c:2741:83: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_timeout_task(struct task *t, void *context, unsigned short state) ^~~~~ src/mux_h2.c: In function 'h2_detach': src/mux_h2.c:2913:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (LIST_ISEMPTY(&h2c->conn->list) && h2c->nb_streams < h2_settings_max_concurrent_streams) { ^ src/mux_h2.c: In function 'h2_deferred_shut': src/mux_h2.c:3053:51: warning: unused parameter 't' [-Wunused-parameter] static struct task *h2_deferred_shut(struct task *t, void *ctx, unsigned short state) ^ src/mux_h2.c:3053:80: warning: unused parameter 'state' [-Wunused-parameter] static struct task *h2_deferred_shut(struct task *t, void *ctx, unsigned short state) ^~~~~ src/mux_h2.c: In function 'h2_shutw': src/mux_h2.c:3085:63: warning: unused parameter 'mode' [-Wunused-parameter] static void h2_shutw(struct conn_stream *cs, enum cs_shw_mode mode) ^~~~ src/mux_h2.c: In function 'h2s_decode_headers': src/mux_h2.c:3118:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) ^ src/mux_h2.c:3150:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (read_n32(hdrs) == h2s->id) { ^~ src/mux_h2.c: In function 'h2_frt_transfer_data': src/mux_h2.c:3325:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (flen > block1) ^ src/mux_h2.c:3330:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (flen > block1) ^ src/mux_h2.c:3388:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (block1 > flen) ^ src/mux_h2.c: In function 'h2s_frt_make_resp_headers': src/mux_h2.c:3558:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (hdr = 1; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ src/mux_h2.c: In function 'h2s_frt_make_resp_data': src/mux_h2.c:3705:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((long long)size > h1m->curr_len) ^ src/mux_h2.c:3764:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (size > max) ^ src/mux_h2.c:3782:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (size + 9 > outbuf.size) { ^ src/mux_h2.c:3811:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!ret || len1 + len2 < size) { ^ src/mux_h2.c:3818:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len1 + len2 > size) { ^ src/mux_h2.c:3821:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len2 > sub) ^ In file included from include/common/config.h:25:0, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_frt_make_resp_headers': src/mux_h2.c:3969:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h2.c:4014:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ In file included from include/common/config.h:25:0, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_bck_make_req_headers': src/mux_h2.c:4168:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(hdr >= sizeof(list)/sizeof(list[0]) - 1)) ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h2.c:4224:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (hdr = 0; hdr < sizeof(list)/sizeof(list[0]); hdr++) { ^ In file included from include/common/config.h:25:0, from include/common/cfgparse.h:26, from src/mux_h2.c:13: src/mux_h2.c: In function 'h2s_htx_frt_make_resp_data': src/mux_h2.c:4389:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(fsize == count && ^ include/common/compiler.h:125:40: note: in definition of macro 'unlikely' #define unlikely(x) (__builtin_expect((x) != 0, 0)) ^ src/mux_h2.c:4400:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize <= b_size(&h2c->mbuf) / 4 && fsize + 9 <= b_room(&h2c->mbuf)) ^~ src/mux_h2.c:4400:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize <= b_size(&h2c->mbuf) / 4 && fsize + 9 <= b_room(&h2c->mbuf)) ^~ src/mux_h2.c:4483:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize > count) ^ src/mux_h2.c:4492:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fsize + 9 > outbuf.size) { ^ src/mux_h2.c: In function 'h2_rcv_buf': src/mux_h2.c:4641:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_rcv_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ^~~~~ src/mux_h2.c: In function 'h2_snd_buf': Makefile:985: recipe for target 'src/proto_http.o' failed make[1]: *** [src/proto_http.o] Error 1 make[1]: *** Waiting for unfinished jobs.... src/mux_h2.c:4717:88: warning: unused parameter 'flags' [-Wunused-parameter] static size_t h2_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t count, int flags) ^~~~~ src/mux_h2.c: In function 'h2_parse_header_table_size': src/mux_h2.c:4970:56: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/mux_h2.c:4970:84: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx, ^~~~~ src/mux_h2.c:4971:53: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/mux_h2.c:4971:72: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c:4971:82: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c: In function 'h2_parse_initial_window_size': src/mux_h2.c:4986:58: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/mux_h2.c:4986:86: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx, ^~~~~ src/mux_h2.c:4987:55: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/mux_h2.c:4987:74: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c:4987:84: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c: In function 'h2_parse_max_concurrent_streams': src/mux_h2.c:5002:61: warning: unused parameter 'section_type' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ^~~~~~~~~~~~ src/mux_h2.c:5002:89: warning: unused parameter 'curpx' [-Wunused-parameter] static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx, ^~~~~ src/mux_h2.c:5003:58: warning: unused parameter 'defpx' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~~ src/mux_h2.c:5003:77: warning: unused parameter 'file' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ src/mux_h2.c:5003:87: warning: unused parameter 'line' [-Wunused-parameter] struct proxy *defpx, const char *file, int line, ^~~~ make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-1/output/build/haproxy-1.9.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'