Bug 194290

Summary: [WPE] WindowViewBackend does not build because of wl_array_for_each macro
Product: WebKit Reporter: Olivier Blin <olivier.blin>
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply, cgarcia, loic.yhuel, mcatanzaro, zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Olivier Blin
Reported 2019-02-05 08:58:19 PST
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
Attachments
Olivier Blin
Comment 1 2019-03-04 02:42:18 PST
*** This bug has been marked as a duplicate of bug 194898 ***
Note You need to log in before you can comment on or make changes to this bug.