RESOLVED FIXED315007
REGRESSION(313391@main): [WPE][GTK] Building with Clang-22 produces too many warnings again
https://bugs.webkit.org/show_bug.cgi?id=315007
Summary REGRESSION(313391@main): [WPE][GTK] Building with Clang-22 produces too many ...
Adrian Perez
Reported 2026-05-18 03:24:16 PDT
In 313356@main we introduced -Wno-unsafe-buffer-usage-in-format-attr-call to silence the humungous amount of compiler warnings we get for the GTK and WPE ports. Then 313391@main shuffled things around and the warnings are back... because the flag to suppress this particular warning needs to be indicated *after* -Wunsafe-buffer-usage. That patch puts -Wno-unsafe-buffer-usage-in-format-attr-call in the global list of compiler flags, but those are always added *before* target-specific compiler flags, and we end up with them being the wrong order. I think we could have a list of unsafe-buffer-usage related flags, that always get applied per-target, and that way the per port Options{WPE,GTK}.cmake files have a chance of modifying the list before it gets attached to targets.
Attachments
Adrian Perez
Comment 1 2026-05-18 03:51:24 PDT
EWS
Comment 2 2026-05-18 23:34:40 PDT
Committed 313465@main (94043d8f9138): <https://commits.webkit.org/313465@main> Reviewed commits have been landed. Closing PR #65097 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.