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 specifierindiagnostics.c)
- From: Ishikawa <ishikawa at yk dot rim dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org, "Joseph S. Myers" <jsm at polyomino dot org dot uk>, Gabriel Dos Reis <gdr at integrable-solutions dot net>, Zack Weinberg <zack at codesourcery dot com>, Jonathan Lennox <lennox at cs dot columbia dot edu>, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sat, 09 Aug 2003 05:28:32 +0900
- Subject: Re: Special handling of "%H" (Re: Support for %d$c format specifierindiagnostics.c)
- References: <m19WKhW-000H3mC@standard.erephon> <3F1BA8DC.A31C89BF@yk.rim.or.jp> <m31xwkxmgd.fsf@uniton.integrable-solutions.net> <3F1C680A.D5BB65E@yk.rim.or.jp> <200307212239.SAA04473@caip.rutgers.edu> <3F1D5728.D7BCD2A8@yk.rim.or.jp> <m34r1er3bg.fsf@uniton.integrable-solutions.net> <3F1EADB7.B0FC6154@yk.rim.or.jp> <87el0hjkgc.fsf@egil.codesourcery.com> <3F1F448C.D7C443BE@yk.rim.or.jp> <877k68h9g4.fsf@egil.codesourcery.com> <3F20A01A.C5DA01D4@yk.rim.or.jp> <3F22EF22.DFD8FADB@yk.rim.or.jp> <3F22B963.2C0A8A4@yk.rim.or.jp> <87he5984cu.fsf@egil.codesourcery.com> <16165.33881.345374.469112@grandcentral.cs.columbia.edu> <87el096afr.fsf@egil.codesourcery.com> <3F281322.66512D3C@yk.rim.or.jp> <Pine.LNX.4.56.0307302124560.11559@kern.srcf.societies.cam.ac.uk> <m3k79zpwgc.fsf@uniton.integrable-solutions.net> <3F28F437.F1FDD05@yk.rim.or.jp> <Pine.LNX.4.56.0307311430040.13691@kern.srcf.societies.cam.ac.uk> <3F32B387.D7E89397@yk.rim.or.jp>
> BTW, I wrote earlier:
>
> >I will be happy to work on an external PO file checker once the
> >positional parameter support in mainline CVS. (I have already worked
> >on a premiliminary modification to GNU gettext msgfmt since this
> >support positional parameter to begin with.)
>
> After I wrote to the translation project and gnu-gettext-bug address
> with my kludgy patch,
> I heard from Bruno Haible. After reading the
> problems my e-mail explained, he has modified gettext suite.
> (So I don't need to work on external PO file checker!)
>
> He has written a special handler for the format specifiers used by
> GCC'S internal diagnostic routine in version 3.3 and intends to
> incoporate it to the next release of gettext. He noted that the
> format character set is not quite an "extension" of the standard C
> printf format character set and so devised a new format recognition
> routine solely for GCC internal diagnostic formating routine.
>
> With his patch, the PO file can be checked in a more
> satisfactory manner for GCC messages in the future. (We need to
> update gettext() when GCC 3.4 appears, though since there seem
> to have been a few additions in the latest CVS in comparison
> with the GCC 3.3. Such a modification should not be hard.)
>
Bruno has informed that the patch is available now
from CVS server.
|The support for "xgettext --language=GCC-source" is now in the gettext
CVS.
|You can check it out through the instructions given at
|http://savannah.gnu.org/projects/gettext
Note that he seems to have changed the language name to
"GCC-source".
I will check it out and see how it fares in real world
environment.
Happy Hacking,
Ishikawa, Chiaki