Actions
Bug #8161
closedaw: this statement may fall through
Start date:
2017-05-05
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Building with gcc 7.1:
aw.c: In function 'filter': aw.c:287:3: error: this statement may fall through [-Werror=implicit-fallthrough=] perror("fork"); ^~~~~~~~~~~~~~ aw.c:288:2: note: here default: ^~~~~~~ aw.c: In function 'invoke': aw.c:412:3: error: this statement may fall through [-Werror=implicit-fallthrough=] perror("fork"); ^~~~~~~~~~~~~~ aw.c:413:2: note: here default: ^~~~~~~ Date: Fri May 5 14:06:12 2017 +0300 aw: this statement may fall through aw.c: In function 'filter': aw.c:287:3: error: this statement may fall through [-Werror=implicit-fallthrough=] perror("fork"); ^~~~~~~~~~~~~~ aw.c:288:2: note: here default: ^~~~~~~ aw.c: In function 'invoke': aw.c:412:3: error: this statement may fall through [-Werror=implicit-fallthrough=] perror("fork"); ^~~~~~~~~~~~~~ aw.c:413:2: note: here default: ^~~~~~~ cc1: all warnings being treated as errors
Actions