[Webkit-unassigned] [Bug 239339] -Wdangling-pointer warning when building ANGLE with GCC 12

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 18 17:28:02 PDT 2022


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

Michael Catanzaro <mcatanzaro at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at gnome.org

--- Comment #2 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Kenneth Russell from comment #1)
> Please consider filing this bug on http://anglebug.com/ as well. These
> warnings would be best fixed upstream and from there rolled into WebKit.

I agree that would be ideal, but I'd rather not get involved with this upstream.

> If you can provide a comprehensive list of the warnings from your build (or,
> even better, a patch addressing them - please see
> https://chromium.googlesource.com/angle/angle/+/refs/heads/main/doc/
> ContributingCode.md ) then we can help get them fixed.
> 
> Thanks.

These are the only non-suppressed warnings currently.

We have a list of warnings to suppress at the bottom of Source/ThirdParty/ANGLE/CMakeLists.txt:

-Wno-cast-align
-Wno-extra
-Wno-suggest-attribute=format
-Wno-undef
-Wno-unused-parameter
-Wno-return-type
-Wno-comment

I'll either add -Wdangling-pointer there, or maybe just replace the list with -w (warnings are useful for upstream, not for downstream).

If you want, I can disable that and record all the warnings that I see. I would expect it to be quite a lot.

-- 
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/20220419/d795ba63/attachment-0001.htm>


More information about the webkit-unassigned mailing list