Bug 194290
| Summary: | [WPE] WindowViewBackend does not build because of wl_array_for_each macro | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Olivier Blin <olivier.blin> |
| Component: | WPE WebKit | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Olivier Blin
*** This bug has been marked as a duplicate of bug 194898 ***