You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tp -I src/http/modules
-o objs/addon/nginx-rtmp-module/ngx_rtmp_eval.o
../nginx-rtmp-module/ngx_rtmp_eval.c
../nginx-rtmp-module/ngx_rtmp_eval.c: In function 'ngx_rtmp_eval':
../nginx-rtmp-module/ngx_rtmp_eval.c:160:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
160 | switch (c) {
| ^~~~~~
../nginx-rtmp-module/ngx_rtmp_eval.c:170:13: note: here
170 | case ESCAPE:
| ^~~~
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:1339: objs/addon/nginx-rtmp-module/ngx_rtmp_eval.o] Error 1
make[1]: Leaving directory '/usr/src/nginx'
make: *** [Makefile:8: build] Error 2
I got around this by removing the -Werror in objs/Makefile in nginx source, but this isn't ideal when you want to built this automated or in a dockerfile. I'd try to fix it myself, but not sure what the fix should be.
The text was updated successfully, but these errors were encountered:
tp -I src/http/modules
-o objs/addon/nginx-rtmp-module/ngx_rtmp_eval.o
../nginx-rtmp-module/ngx_rtmp_eval.c
../nginx-rtmp-module/ngx_rtmp_eval.c: In function 'ngx_rtmp_eval':
../nginx-rtmp-module/ngx_rtmp_eval.c:160:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
160 | switch (c) {
| ^~~~~~
../nginx-rtmp-module/ngx_rtmp_eval.c:170:13: note: here
170 | case ESCAPE:
| ^~~~
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:1339: objs/addon/nginx-rtmp-module/ngx_rtmp_eval.o] Error 1
make[1]: Leaving directory '/usr/src/nginx'
make: *** [Makefile:8: build] Error 2
I got around this by removing the -Werror in objs/Makefile in nginx source, but this isn't ideal when you want to built this automated or in a dockerfile. I'd try to fix it myself, but not sure what the fix should be.
The text was updated successfully, but these errors were encountered: