Project

General

Profile

Bug #11939

libgen: this statement may fall through

Added by Toomas Soome 14 days ago. Updated 6 days ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Build error with gcc 8:

../common/reg_compile.c: In function '_compile':
../common/reg_compile.c:330:4: error: this statement may fall through [-Werror=implicit-fallthrough=]
    switch (c) {
    ^~~~~~
../common/reg_compile.c:409:3: note: here
   defchar:
   ^~~~~~~
cc1: all warnings being treated as errors

Testing done: build/install/boot

History

#1

Updated by Toomas Soome 6 days ago

  • Description updated (diff)
#2

Updated by Electric Monk 6 days ago

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

git commit 50450c3dedc4cfa86ef99c6d9aee64f2a5ea0511

commit  50450c3dedc4cfa86ef99c6d9aee64f2a5ea0511
Author: Toomas Soome <tsoome@me.com>
Date:   2019-11-15T14:02:23.000Z

    11939 libgen: this statement may fall through
    Reviewed by: Matthias Scheler <matthias.scheler@tegile.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF