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
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
gcc@gcc.gnu.org
gcc-h...@gcc.gnu.org
Pook
Snapshot gcc-10-20190908 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/10-20190908/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 10 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision