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 quoting warnings
with -Wformat-diag.
{
format_warning_at_char (format_string_loc, format_string_cst,
format_chars - orig_format_chars - 1,
- OPT_Wformat_,
+ OPT_Wformat_diag,
"%s used within a quoted sequence",
_(s->name));
}
{
format_warning_at_char (format_string_loc, format_string_cst,
format_chars - orig_format_chars,
- OPT_Wformat_,
+ OPT_Wformat_diag,
"%qc conversion used unquoted",
format_char);
}