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: Checking format specifiers


> > If it does, then it is not very successful: it doesn't give an error for
> > any of the translations we have.
>
> IIRC msgfmt --check-format only checks formats with the "#, c-format"

That's right...

> annotation, which we deliberately do not put on any of the
> translations, because --check-format pukes on the extended format
> specifiers used by the diagnostic printers.

...but that's wrong:
   gcc/po> grep "#, c-format" *po | wc -l
   9849
I checked that, and it seems as if all (or all that I looked at) messages have 
this attribute.

W.

-------------------------------------------------------------------------
Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                               www: http://www.ices.utexas.edu/~bangerth/


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