[Bug c++/80191] diagnostic placeholder "new initializer" must be marked for translation

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 26 21:45:00 GMT 2017


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
I wonder if it would be worthwhile to add format specifier to the pretty
printer for terms of the grammar (say %T or something).  That would make it
possible to a) clearly distinguish them from plain English text that must be
translated and perhaps also help diagnose unquoted %s arguments via -Wformat,
and b) format them in a distinct font (such as italics or terminals that
support it, as for instance Gnome terminal does).


More information about the Gcc-bugs mailing list