This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Not quoted option names in errors and warnings
- From: Martin Sebor <msebor at gmail dot com>
- To: Martin Liška <mliska at suse dot cz>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Thu, 15 Nov 2018 09:54:20 -0700
- Subject: Re: Not quoted option names in errors and warnings
- References: <0748e3ca-81f8-ae51-1aad-9be45a16550a@suse.cz>
On 11/15/2018 03:12 AM, Martin Liška wrote:
Hi.
I've done a quick grep of gcc/po/gcc.pot and I see quite a lot of missing quotations
of option names (~400). Is it something we should fix? How important is that?
That's quite a few... I've been fixing these as I notice them,
usually as part of related changes. The most onerous part of
the cleanup is adjusting tests, especially under the target-
specific ones. It's (obviously) not critical but I think it
would be nice to make the quoting consistent throughout over
time (if not in one go) and then put in place a -Wformat
checker to detect the missing quoting as new diagnostics are
introduced. Do you think it might be scriptable?
Martin