https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97622
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- No. If it is the -Wformat-diag warning, just ignore it. It has been added without any attempt to resolve the warnings and warns for many things that are just fine.