https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
Xi Ruoyao <xry111 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xry111 at gcc dot gnu.org
--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
In GCC 14 several warnings will be turned to errors by default with C99 or a
newer C standard. But generally -Werror should *never* be the default.
Besides the reasons Segher and Rich have already given, the standard also
disallows the compiler from randomly rejecting code just because it "looks
suspicious".