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
A number of switch case fall-through warnings are triggered. This is gcc13-13.2.1,
[ 55s] /home/abuild/rpmbuild/BUILD/nanomsg-1.2.1/src/transports/inproc/sinproc.c: In function ‘nn_sinproc_shutdown_events’:
[ 55s] /home/abuild/rpmbuild/BUILD/nanomsg-1.2.1/src/transports/inproc/sinproc.c:224:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
[ 55s] 224 | switch (type) {
[ 55s] | ^~~~~~
[ 55s] /home/abuild/rpmbuild/BUILD/nanomsg-1.2.1/src/transports/inproc/sinproc.c:242:5: note: here
[ 55s] 242 | case NN_SINPROC_SRC_PEER:
[ 55s] | ^~~~
[ 55s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/nanomsg-1.2.1/build'
If this fall-through is intended, in case of src == NN_FSM_ACTION and type != NN_FSM_STOP, please mark it with /* FALLTHRU */ or __attribute__ ((fallthrough)), or [[fallthrough]]; in C++17.
The second one is a 500 line switch-case statement which, which has some fall-through cases that may or may not be intended.
[ 56s] /home/abuild/rpmbuild/BUILD/nanomsg-1.2.1/src/transports/ws/sws.c: In function ‘nn_sws_handler’:
[ 56s] /home/abuild/rpmbuild/BUILD/nanomsg-1.2.1/src/transports/ws/sws.c:974:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
[ 56s] 974 | switch (src) {
[ 56s] | ^~~~~~
[ 56s] /home/abuild/rpmbuild/BUILD/nanomsg-1.2.1/src/transports/ws/sws.c:1495:5: note: here
[ 56s] 1495 | case NN_SWS_STATE_CLOSING_CONNECTION:
[ 56s] | ^~~~
[ 56s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/nanomsg-1.2.1/build'
[ 56s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/nanomsg-1.2.1/build'
A number of switch case fall-through warnings are triggered. This is gcc13-13.2.1,
If this fall-through is intended, in case of
src == NN_FSM_ACTION
andtype != NN_FSM_STOP
, please mark it with/* FALLTHRU */
or__attribute__ ((fallthrough))
, or[[fallthrough]];
in C++17.The second one is a 500 line switch-case statement which, which has some fall-through cases that may or may not be intended.
Full flags are:
The text was updated successfully, but these errors were encountered: