1996-10-09 18:41:40 +00:00
|
|
|
# $Id: bsd.kern.mk,v 1.1 1996/10/08 22:10:49 bde Exp $
|
1996-10-08 22:10:49 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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 \
|
1996-10-09 18:41:40 +00:00
|
|
|
-Winline -Wpointer-arith # -Wunused -Wcast-qual
|
1996-10-08 22:10:49 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|