https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91148
--- Comment #1 from Michael Meissner <meissner at gcc dot gnu.org> --- Or we can just decorate the sources with: /* Disable warnings about misspelling built-in in GCC diagnostics. */ #if __GNUC__ >= 10 # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wformat-diag" #endif