xref: /freebsd/sys/conf/kern.mk (revision df7f5d4de4592a8948a25ce01e5bddfbb7ce39dc)
1#	$Id$
2
3#
4# Warning flags for compiling the kernel and components of the kernel.
5#
6CWARNFLAGS?=	-Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
7		-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
8		-Wpointer-arith # -W -Winline -Wunused -Wcast-qual
9#
10# The following flags are next up for working on:
11#	-Wformat -Wall
12#
13# When working on removing warnings from code, the `-Werror' flag should be
14# of material assistance.
15#
16