[Bug c/68845] -Werror=array-bounds=[12] doesn't turn warning into error
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 10 22:38:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68845
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at redhat dot com
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #1)
> Perhaps the
> following works?
>
> Warray-bounds
> Alias(-Warray-bounds=,1,0)
To answer my own question. It should work and it is how -Wformat is
implemented. However, there is bug 68833.
More information about the Gcc-bugs
mailing list