-Werror holds things back, because it makes the gcc maintainers hesitant to add more warnings on grounds of &quot;it will break old code that uses -Werror&quot;, and in fact I was surprised to see that this warning is going into -Wall.