Bug 198659

Summary: [GTK] GLContextEGL.h must be built with @no-unify
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

Michael Catanzaro
Reported 2019-06-07 07:54:07 PDT
[ 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
Michael Catanzaro
Comment 1 2019-06-07 07:57:46 PDT
Note You need to log in before you can comment on or make changes to this bug.