https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110322
Xi Ruoyao <xry111 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xry111 at gcc dot gnu.org
--- Comment #5 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> Note -Wformat-nonliteral is not enabled by default either (though IIRC
> Debian and Ubuntu turn it on by default).
I guess we should make the case "casting a non-char pointer implicitly to the
format string" default.