This is the mail archive of the
mailing list for the GCC project.
-Werror for certain warnings?
- From: Erik <sigra at home dot se>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 08 Nov 2006 05:01:56 +0100
- Subject: -Werror for certain warnings?
"info:/gcc/Warning Options" mentions -Werror, that treats all warnings
as errors and -Werror-implicit-function-declaration, which treats
implicit function declarations as errors but it does not mention how to
treat other certain kinds of warnings as errors. For example
-Werror-shadow does not work. How is it supposed to be done?