[Webkit-unassigned] [Bug 255915] New: REGRESSION(263331 at main): [GTK] MiniBrowser cannot be built with clang due to fallthrough attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 25 01:45:22 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=255915

            Bug ID: 255915
           Summary: REGRESSION(263331 at main): [GTK] MiniBrowser cannot be
                    built with clang due to fallthrough attribute
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

The error:

  ../Tools/MiniBrowser/gtk/main.c:288:13: error: expected expression
              [[fallthrough]];
              ^
  ../Tools/MiniBrowser/gtk/main.c:291:13: error: expected expression
              [[fallthrough]];
              ^

We should probably use __attribute__((fallthrough)) instead because the MiniBrowser
is C code, not C++. Likely GCC just goes ahead and recognizes [[fallthrough]] also
while parsing C these days.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230425/77e8293d/attachment.htm>


More information about the webkit-unassigned mailing list