This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Support %N$/*N$ style format arguments in GCC diagnostics


On Fri, 20 May 2005, Jakub Jelinek wrote:

> I'm not sure what to do about the special case for %H/%J at the beginning
> of (some of) the format strings.  The patch below doesn't take them into

What do any existing translations with these formats do?

I'd say Zack's comments in 
<http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02571.html> still apply: the 
leading %H/%J should become %1$H/%1$J with subsequent arguments counted 
from 2 (and any translations not in accordance with this should be drawn 
to the attention of their maintainers).

If this patch is approved then I think it should be considered for 4.0 
branch as well, as the translations are the same there.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]