[Webkit-unassigned] [Bug 245371] Misc compiler warnings, mid September 2022 edition
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 19 12:41:34 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=245371
Michael Catanzaro <mcatanzaro at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mcatanzaro at gnome.org
--- Comment #1 from Michael Catanzaro <mcatanzaro at gnome.org> ---
[1318/6886] Building CXX object Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/compiler/translator/ShaderLang.cpp.o
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/src/compiler/translator/ShaderLang.cpp: In function ‘void sh::InitBuiltInResources(ShBuiltInResources*)’:
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/src/compiler/translator/ShaderLang.cpp:181:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct ShBuiltInResources’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
181 | memset(resources, 0, sizeof(*resources));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/src/compiler/translator/ShaderLang.cpp:12:
/home/mcatanzaro/Projects/WebKit/Source/ThirdParty/ANGLE/include/GLSLANG/ShaderLang.h:408:8: note: ‘struct ShBuiltInResources’ declared here
408 | struct ShBuiltInResources
| ^~~~~~~~~~~~~~~~~~
[3603/6886] Building CXX object Source/WebCore/CMakeFiles...vedSources/unified-sources/UnifiedSource-2f84417a-2.cpp.o
In file included from /home/mcatanzaro/Projects/WebKit/WebKitBuild/gtk3/WebCore/DerivedSources/unified-sources/UnifiedSource-2f84417a-2.cpp:1:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/css/CSSComputedStyleDeclaration.cpp: In function ‘WTF::Ref<WebCore::CSSValue> WebCore::valueForAnimationTimingFunction(const TimingFunction&)’:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/css/CSSComputedStyleDeclaration.cpp:1512:1: warning: control reaches end of non-void function [-Wreturn-type]
1512 | }
| ^
--
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/20220919/7b698343/attachment-0001.htm>
More information about the webkit-unassigned
mailing list