freebsd-nq/sys/conf/kern.mk
1997-10-21 10:39:27 +00:00

16 lines
503 B
Makefile

# $Id: bsd.kern.mk,v 1.7 1997/10/21 10:36:07 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
#
# The following flags are next up for working on:
# -W -Wunused -Wcast-qual -Wformat -Wall
#
# When working on removing warnings from code, the `-Werror' flag should be
# of material assistance.
#