Re: Translated strings with sprintf %-directives

2019-09-08 Thread Andreas Schwab
On Sep 08 2019, Bernd Edlinger wrote: > Shouldn't there be an automatic check that the %-directives are given in > the original and the translated message are exactly the same? There is, but only if the original message is marked as a format string in the first place. Andreas. -- Andreas Schw

Translated strings with sprintf %-directives

2019-09-08 Thread Bernd Edlinger
Hi Joseph, I just noticed that translated strings might have different sprintf arguments than the original message: $ LANG=de_DE.UTF-8 gcc -v --help|&grep shadow -Wintrinsic-shadow Warnen, wenn eine Benutzer-Prozedur denselben Namen wie ein Intrinsic hat. -Wshadow-ivar