https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99733

--- Comment #3 from Roland Illig <roland.illig at gmx dot de> ---
(In reply to Iain Sandoe from comment #2)
> Personally, I would have preferred "'pch_address_space' : " but that
> triggers another warning about punctuation in diagnostics. So I left the
> colon out (on purpose, it was not an accident ;) ).

It should have been as simple as writing %<pch_address_space%> instead of
'pch_address_space'.  Wasn't the diagnostic clear enough?  Martin Sebor did put
a lot of work into making the diagnostics uniform in style in 2019.

>From c-format.c:
> inform (format_string_loc,
>     "if avoiding the apostrophe is not feasible, enclose "
>     "it in a pair of %qs and %qs directives instead",
>     "%<", "%>");

Reply via email to