We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../nginx-rtmp-module-master -I objs -I src/hrc/http/modules -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_eval.o ../nginx-rtmp-module-master/ngx_rtmp_eval.c ../nginx-rtmp-module-master/ngx_rtmp_eval.c: In function ‘ngx_rtmp_eval’: ../nginx-rtmp-module-master/ngx_rtmp_eval.c:160:17: error: this statement may fall through [-Werror=implicit-fallthrough=] switch (c) { ^~~~~~ ../nginx-rtmp-module-master/ngx_rtmp_eval.c:170:13: note: here case ESCAPE: ^~~~ cc1: all warnings being treated as errors make[1]: *** [objs/Makefile:1395: objs/addon/nginx-rtmp-module-master/ngx_rtmp_eval.o] Error 1 make[1]: Leaving directory '/root/nginx-1.15.9' make: *** [Makefile:11: install] Error 2
The text was updated successfully, but these errors were encountered:
This fix will work
diff -Nur a/ngx_rtmp_eval.c b/ngx_rtmp_eval.c --- a/ngx_rtmp_eval.c 2018-06-02 19:23:28.993466673 +0200 +++ b/ngx_rtmp_eval.c 2018-06-02 19:23:26.532371311 +0200 @@ -166,6 +166,7 @@ state = ESCAPE; continue; } + /* fall through */ case ESCAPE: ngx_rtmp_eval_append(&b, &c, 1, log);
Sorry, something went wrong.
No branches or pull requests
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../nginx-rtmp-module-master -I objs -I src/hrc/http/modules
-o objs/addon/nginx-rtmp-module-master/ngx_rtmp_eval.o
../nginx-rtmp-module-master/ngx_rtmp_eval.c
../nginx-rtmp-module-master/ngx_rtmp_eval.c: In function ‘ngx_rtmp_eval’:
../nginx-rtmp-module-master/ngx_rtmp_eval.c:160:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
switch (c) {
^~~~~~
../nginx-rtmp-module-master/ngx_rtmp_eval.c:170:13: note: here
case ESCAPE:
^~~~
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:1395: objs/addon/nginx-rtmp-module-master/ngx_rtmp_eval.o] Error 1
make[1]: Leaving directory '/root/nginx-1.15.9'
make: *** [Makefile:11: install] Error 2
The text was updated successfully, but these errors were encountered: