Project

General

Profile

Actions

Bug #9638

closed

libc/port/fp/sigfpe.c: this statement may fall through

Added by Toomas Soome almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-07-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build issue with gcc 8:

    ../port/fp/sigfpe.c: In function '_sigfpe_master':
    ../port/fp/sigfpe.c:137:3: error: this statement may fall through [-Werror=implicit-fallthrough=]
       switch (code) {
       ^~~~~~
    ../port/fp/sigfpe.c:156:2: note: here
      case ((intptr_t)(SIGFPE_ABORT)):
      ^~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF