Project

General

Profile

Bug #8162

cscope-fast: this statement may fall through

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

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

History

#1

Updated by Electric Monk over 2 years ago

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

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>

Also available in: Atom PDF