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)
Ishikawa <ishikawa@yk.rim.or.jp> writes:
[...]
| But I would like to point out the subtle problem in anyway below.
| I was trying to write a one paragraph memo for future GCC po
| translators,
| and realized this subtle problem.
Thanks for taking the time to explain.
[...]
| This pecularity is OK with me if this caution/tule is widely announced
| and
| understood with the PO translators.
For the time being, I really prefer to make that caution.
And if in the future we decide to implement a better algorithm that
gets rid of %^H, then there won't be any clash.
[...]
| The rule then is to
| leave the first %H reference intact and not count it
| as part of positional argument, and
| begin counting at the next argument (second argument) and
| use that number accordingly in positional notation.
|
| Got it?
Yes, thank you. I support announcing that rule.
-- Gaby