[Webkit-unassigned] [Bug 200223] [GTK] Compilation errors when GL is disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 30 08:25:47 PDT 2019


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

--- Comment #6 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to Philippe Normand from comment #5)
> This is beyond GStreamer:
> 
> In file included from /usr/include/X11/Xlib.h:44,
>                  from /usr/include/gtk-3.0/gdk/gdkx.h:30,
>                  from
> /home/phil/WebKit/Source/WebCore/platform/graphics/PlatformDisplay.cpp:54,
>                  from
> DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:2:
> DerivedSources/ForwardingHeaders/wtf/Threading.h:75:5: error: expected
> identifier before numeric constant
>      None = 0,
>      ^~~~

Files including Xlib.h must be excluded from unified build. Solution is to add @no-unify to PlatformDisplay.cpp in Sources.txt.

If you're bored or have 25 hours today, you could git grep to try to find every .cpp that includes gdkx.h and Xlib.h and mark them all as @no-unify.

-- 
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/20190730/8da551a7/attachment.html>


More information about the webkit-unassigned mailing list