summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.mk
blob: 003beaf0f9f713635ef45f833fe3d40862e7ff0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#	$Id: bsd.kern.mk,v 1.9 1998/05/01 18:13:37 bde Exp $

#
# 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 -Winline -Wuninitialized -Wformat \
		-fformat-extensions -ansi
#
# The following flags are next up for working on:
#	-W -Wunused -Wcast-qual -Wall
#
# When working on removing warnings from code, the `-Werror' flag should be
# of material assistance.
#
OpenPOWER on IntegriCloud