﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
2104	I encountered an error when compiling nginx-quic.	yiguihai@…		"{{{
src/event/ngx_event_quic_transport.c: In function ‘ngx_quic_create_stream’:
src/event/ngx_event_quic_transport.c:60:27: error: comparison is always true due to limited range of data type [-Werror=type-limits]
      : ((uint32_t) value) <= 16383 ? 2                                        \
                           ^
src/event/ngx_event_quic_transport.c:1376:15: note: in expansion of macro ‘ngx_quic_varint_len’
         len = ngx_quic_varint_len(sf->type);
               ^
src/event/ngx_event_quic_transport.c:61:27: error: comparison is always true due to limited range of data type [-Werror=type-limits]
      : ((uint64_t) value) <= 1073741823 ?  4                                  \
                           ^
src/event/ngx_event_quic_transport.c:1376:15: note: in expansion of macro ‘ngx_quic_varint_len’
         len = ngx_quic_varint_len(sf->type);
               ^
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/tmp/boringssl/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I /tmp/libpcre -I /tmp/zlib -I objs \
	-o objs/src/event/ngx_event_quic_protection.o \
	src/event/ngx_event_quic_protection.c
cc1: all warnings being treated as errors
make[1]: *** [objs/src/event/ngx_event_quic_transport.o] Error 1
objs/Makefile:1015: recipe for target 'objs/src/event/ngx_event_quic_transport.o' failed
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/runner/work/shadowsocks_install/shadowsocks_install/nginx-quic-quic'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2
Error: Process completed with exit code 2.
}}}

Here is a link to the detailed error message
[https://github.com/yiguihai/shadowsocks_install/runs/1494348970?check_suite_focus=true#step:13:835]"	defect	closed	minor		nginx-package		fixed	nginx-quic			nginx-quic
