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 <m...@gcc.gnu.org> * c-common.c (warn_for_collisions_1): Use appropriate option when warning.