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: Special handling of "%H" (Re: Support for %d$c format specifierindiagnostics.c)


> 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


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