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:
Ruslan Ermilov 2006-05-30 19:18:01 +00:00
parent 89d500c6a8
commit a2f3563e84

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: