Name
mk_compiler_warnings — Turn on compiler warnings
Synopsis
MODULES="... compiler ..."
mk_compiler_warnings
warning
...
Description
Turns on the given list of warning flags
(-W
warning
).
The error
flag will be ignored
if the user disallowed it via the
--allow-werror
option to
configure.
Examples
# Turn on all warnings and promote warnings to errors
mk_compiler_warnings all error