[Webkit-unassigned] [Bug 246289] New: Warnings when building ANGLE
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 10 12:35:17 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=246289
Bug ID: 246289
Summary: Warnings when building ANGLE
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: ANGLE
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at gnome.org
CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com
ANGLE should compile quietly. Currently there are a couple warnings, then a warning about my previous failed attempt to quiet a warning, and finally there is noisy output from the adjust-angle-include-paths.py script that should be quiet. I'll try to fix this without patching the source code if possible.
[1449/7121] Building CXX object Source/ThirdParty/ANGLE/C...ANGLE.dir/src/libANGLE/renderer/gl/renderergl_utils.cpp.o
In file included from /home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/include/platform/FeaturesGL_autogen.h:13,
from /home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/RendererGL.h:19,
from /home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/ContextGL.h:14,
from /home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp:24:
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp: In function ‘void rx::nativegl_gl::InitializeFeatures(const rx::FunctionsGL*, angle::FeaturesGL*)’:
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp:2024:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
2024 | !isMesa || isIntel && (Is9thGenIntel(device) || IsGeminiLake(device) ||
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2025 | IsCoffeeLake(device) || Is11thGenIntel(device) ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026 | Is12thGenIntel(device)));
| ~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/include/platform/Feature.h:19:36: note: in definition of macro ‘ANGLE_FEATURE_CONDITION’
19 | (set)->feature.enabled = cond; \
| ^~~~
[1501/7121] Building CXX object Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/State.cpp.o
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/src/libANGLE/State.cpp:10: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas]
10 | #pragma clang diagnostic ignored "-Wglobal-constructors"
|
[1528/7121] Building C object Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/common/third_party/xxhash/xxhash.c.o
cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C
[1571/7121] cd /home/mcatanzaro/Projects/WebKit/WebKitBui...Kit/Source/ThirdParty/ANGLE/adjust-angle-include-paths.py
Postprocessed ANGLE header entry_points_egl_autogen.h
Postprocessed ANGLE header entry_points_egl_ext_autogen.h
Postprocessed ANGLE header entry_points_gles_2_0_autogen.h
Postprocessed ANGLE header entry_points_gles_3_0_autogen.h
Postprocessed ANGLE header entry_points_gles_ext_autogen.h
Postprocessed ANGLE header egl.h
Postprocessed ANGLE header eglext.h
Postprocessed ANGLE header eglplatform.h
Postprocessed ANGLE header gl.h
Postprocessed ANGLE header gl2.h
Postprocessed ANGLE header gl2ext.h
Postprocessed ANGLE header gl2platform.h
Postprocessed ANGLE header gl3.h
Postprocessed ANGLE header gl31.h
Postprocessed ANGLE header gl3platform.h
Postprocessed ANGLE header gl32.h
Postprocessed ANGLE header glplatform.h
--
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/20221010/bce5d0ba/attachment-0001.htm>
More information about the webkit-unassigned
mailing list