-Werror for certain warnings?

Erik sigra@home.se
Wed Nov 8 04:01:00 GMT 2006


"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?



More information about the Gcc-help mailing list