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


Wolfgang Bangerth <bangerth@ices.utexas.edu> writes:

>> > I am not familiar with the translation community, but if you are: one of
>> > the really necessary additions in their processes would be a small
>> > program that does what my small script tried to do in a thourough way
>> > (i.e., for example, taking into account positional parameters).
>>
>> Doesn't 'msgfmt --check-format' already do this?
>
> 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"
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.

zw


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