summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.mk
blob: 5a87913e3c1a289839cf58b8ae69dadc81cce6f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#	$FreeBSD$

#
# Warning flags for compiling the kernel and components of the kernel.
#
CWARNFLAGS?=	-Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
		-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
		-Wpointer-arith # -W -Winline -Wunused -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.
#
OpenPOWER on IntegriCloud