Re: [PATCH RFC] diagnostics: use -Wformat-diag more consistently

2025-05-22 Thread David Malcolm
On Thu, 2025-05-22 at 17:01 -0400, Jason Merrill wrote: > Tested x86_64-pc-linux-gnu, any objection? LGTM Thanks Dave > > -- 8< -- > > r10-1211 added various -Wformat-diag warnings about quoting in GCC > diagnostic strings, but didn't change these two quoting warnings to > use that > flag as w

[PATCH RFC] diagnostics: use -Wformat-diag more consistently

2025-05-22 Thread Jason Merrill
Tested x86_64-pc-linux-gnu, any objection? -- 8< -- r10-1211 added various -Wformat-diag warnings about quoting in GCC diagnostic strings, but didn't change these two quoting warnings to use that flag as well. gcc/c-family/ChangeLog: * c-format.cc (flag_chars_t::validate): Control quoti