6b30bfd370
Centralized the definition of CWARNFLAGS into bsd.kern.mk.
16 lines
439 B
Makefile
16 lines
439 B
Makefile
# $Id$
|
|
|
|
#
|
|
# Warning flags for compiling the kernel and components of the kernel.
|
|
#
|
|
CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
|
|
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
|
|
-Winline -Wunused -Wpointer-arith -Wcast-qual
|
|
#
|
|
# The following flags are next up for working on:
|
|
# -Wformat -Wall
|
|
#
|
|
# When working on removing warnings from code, the `-Werror' flag should be
|
|
# of material assistance.
|
|
#
|