This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Special handling of "%H" (Re: Support for %d$c format specifier in diagnostics.c)
"Zack Weinberg" <zack@codesourcery.com> writes:
| > The next line in dwarfout.c probably should not use warning() since
| > this could be subject to translation? (I mean ABOUT-GCC-NLS mentions
| > that internal error message probably should be output in ASCII string
| > without translation for eventual inspection by the developer
| > community, which uses English mostly.)
| >
| > ./dwarfout.c: warning ("%Hinternal regno botch: '%D' has regno =
| > %d\n",
|
| The intent documented in ABOUT-GCC-NLS, as I understand it, is that
| these internal messages do not *need* to be translated, but it does
Apart from the fact that I find phrase like "regno botch" a little
misguided (just like grokdeclarator) for GCC, I think all the
diagnostic markers are translated -- see diagnostic_build_prefix.
-- Gaby