Enable -Wundef warnings for kernel/module compiles. From cpp.info:

`-Wundef'
     Warn whenever an identifier which is not a macro is encountered in
     an `#if' directive, outside of `defined'.  Such identifiers are
     replaced with zero.
This commit is contained in:
ru 2006-05-30 19:18:01 +00:00
parent 74aa397f16
commit dc7d7b0c51

View File

@ -12,7 +12,10 @@ CWARNFLAGS=
.else
CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-fformat-extensions -std=c99
${_wundef} -fformat-extensions -std=c99
.if !defined(NO_UNDEF)
_wundef= -Wundef
.endif
.endif
#
# The following flags are next up for working on: