freebsd-skq/share/mk/bsd.kern.mk

17 lines
534 B
Makefile
Raw Normal View History

# $Id: bsd.kern.mk,v 1.10 1998/09/09 10:04:58 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 -Wunused \
-fformat-extensions -ansi
#
# The following flags are next up for working on:
# -W -Wcast-qual -Wall
#
# When working on removing warnings from code, the `-Werror' flag should be
# of material assistance.
#