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