https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93836
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic CC| |egallager at gcc dot gnu.org, | |msebor at gcc dot gnu.org --- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Roland Illig from comment #2) > Thanks for the explanation. I think it might make sense to have a static > analysis tool for cases like this, to prevent this mistake from the > beginning, or at least be notified quickly, before the translators have to > write bug reports. It's not the first time I saw this kind of bug. :) Maybe Martin Sebor can add a check for it in -Wformat-diag?