freebsd-dev/sys/conf/kern.mk

16 lines
489 B
Makefile
Raw Normal View History

# $Id: bsd.kern.mk,v 1.2 1996/10/09 18:41:40 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 # -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.
#