Project

General

Profile

Actions

Bug #8162

closed

cscope-fast: this statement may fall through

Added by Toomas Soome over 6 years ago. Updated over 6 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:
External Bug:

Description

Buiding with gcc 7.1:

    main.c:554:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
         myexit(0);
         ^~~~~~~~~
    main.c:556:4: note: here
        default:
        ^~~~~~~

    scanner.l:989:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if (first != 0 && identcmp(yytext, "call")) {
          ^
    scanner.l:999:2: note: here
      default:
      ^~~~~~~

    cc1: all warnings being treated as errors
Actions #1

Updated by Electric Monk over 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 92e800cb34cfa1782db2b305db525b6853deb198

commit  92e800cb34cfa1782db2b305db525b6853deb198
Author: Toomas Soome <tsoome@me.com>
Date:   2017-05-30T18:04:35.000Z

    8162 cscope-fast: this statement may fall through
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF