freebsd-src/sys/conf/kern.mk
Bruce Evans 6b30bfd370 Oops, forgot to cvs add bsd.kern.mk.
Centralized the definition of CWARNFLAGS into bsd.kern.mk.
1996-10-08 22:10:49 +00:00

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.
#