[Bug web/82448] GCC web guide contains wrong information about Werror

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 7 01:29:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82448

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> Note that -Werror= does work for most warnings, just not for
> -Wsequence-point. This is simply a bug in the old release, which has been
> fixed in current releases.

And that bug was fixed in 4.4 with:
2008-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

  * c-common.c (warn_for_collisions_1): Use appropriate option when warning.


More information about the Gcc-bugs mailing list