Project

General

Profile

Actions

Bug #8161

closed

aw: this statement may fall through

Added by Toomas Soome about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
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

Also available in: Atom PDF