Bug 198659
Summary: | [GTK] GLContextEGL.h must be built with @no-unify | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | PC | ||
OS: | Linux |
Michael Catanzaro
[ 87%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-41.cpp.o
In file included from /home/mcatanzaro/buildroot-2019.05/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/X11/Xlib.h:44:0,
from /home/mcatanzaro/buildroot-2019.05/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/EGL/eglplatform.h:124,
from /home/mcatanzaro/buildroot-2019.05/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/EGL/egl.h:39,
from /home/mcatanzaro/buildroot-2019.05/output/build/webkitgtk-2.25.1/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:30,
from /home/mcatanzaro/buildroot-2019.05/output/build/webkitgtk-2.25.1/DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-26.cpp:5:
/home/mcatanzaro/buildroot-2019.05/output/build/webkitgtk-2.25.1/Source/WebCore/rendering/style/RenderStyleConstants.h:70:5: error: expected identifier before numeric constant
None = 0,
^
It's clashing with Xlib.h. Any file using the keyword "None" has to either use @no-unify or else rename to avoid clashing with X11's None.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Committed r246199: <https://trac.webkit.org/changeset/246199>