<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g <br>
-I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I<br>
src/http -I src/http/modules \<br>
        -o objs/src/http/ngx_http_core_module.o \<br>
        src/http/ngx_http_core_module.c<br>
src/http/ngx_http_core_module.c: В функции «ngx_http_subrequest»:<br>
src/http/ngx_http_core_module.c:2368:5: ошибка: неявное приведение большого<br>
целого значения к беззнаковому типу [-Werror=overflow]<br>
        sr->uri_changes = NGX_HTTP_MAX_URI_CHANGES + 1;<br>
        ^<br>
cc1: all warnings being treated as errors<br>
make[1]: *** [objs/src/http/ngx_http_core_module.o] Ошибка 1<br>
make[1]: Выход из каталога '/*****/nginx-1.15.8'<br>
make: *** [build] Ошибка 2<br><br></blockquote><div><br></div><div>Здравствуйте.</div><div><br></div><div>Под поле uri_changes в ngx_http_request_t (src/http/ngx_http_request.h) отведено 4 бита:</div><div> unsigned uri_changes:4;</div><div><br></div><div>Можете попробовать увеличить до 8 или поменять тип на uint8_t, но я не разработчик и сохранение работоспособности и/или совместимости гарантировать не могу.</div><div><br></div></div></div></div></div>