Closed jaygooby closed 2 years ago
If I remove -Werror
from the nginx objs/Makefile
then it will compile
It looks like the compiler's dataflow analysis is behaving differently, not a bug.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. 此 issue 因为最近没有任何活动已经被标记,如果在此之后的一段时间内仍没有任何活动则会被关闭。感谢您对项目的支持。
Building nginx on MacOS 12.3.1 with Xcode gcc
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
,nginx 1.20.1
and ngx_wafcurrent
branch.I downloaded the nginx and ngx_waf sources. Using the
current
branch of ngx_waf I addedcjson
anduthash
:nginx configures OK, but
make
generates these errors (and many more that I haven't pasted here for sake of clarity):Which I guess are coming from the
uthash
library?ngx_waf
.current
Output of
nginx -V
.It doesn't compile, but this is how it was configured:
LIB_MODSECURITY=/opt/modsecurity ./configure --add-module=/tmp/nw/ngx_waf-current
Optional Info
MacOS 12.3.1
nginx
is running in a virtual environment such asDocker
. If it is running inDocker
, please provide the image name.Not running under Docker