[Webkit-unassigned] [Bug 194290] New: [WPE] WindowViewBackend does not build because of wl_array_for_each macro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 5 08:58:19 PST 2019


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

            Bug ID: 194290
           Summary: [WPE] WindowViewBackend does not build because of
                    wl_array_for_each macro
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: olivier.blin at softathome.com
                CC: bugs-noreply at webkitgtk.org, cgarcia at igalia.com,
                    loic.yhuel at softathome.com, mcatanzaro at igalia.com,
                    zan at falconsigh.net

WindowViewBackend does not build with clang, because the wl_array_for_each() macro is used with a pointer to void, which does not allow to do arithmetic:

Tools/wpe/backends/WindowViewBackend.cpp:445:106: error: arithmetic on a pointer to void
        for (p = (states)->data; (const char *) p < ((const char *) (states)->data + (states)->size); (p)++)
                                                                                                      ~~~^

Also see this wayland issue: https://gitlab.freedesktop.org/wayland/wayland/issues/34

-- 
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/20190205/7a2442b9/attachment.html>


More information about the webkit-unassigned mailing list