1998-05-01 18:13:37 +00:00
|
|
|
# $Id: bsd.kern.mk,v 1.8 1997/10/21 10:39:27 bde Exp $
|
1996-10-08 22:10:49 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Warning flags for compiling the kernel and components of the kernel.
|
|
|
|
#
|
1996-11-11 15:49:27 +00:00
|
|
|
CWARNFLAGS?= -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
|
1996-10-08 22:10:49 +00:00
|
|
|
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
|
1998-05-01 18:13:37 +00:00
|
|
|
-Wpointer-arith -Winline -Wuninitialized -ansi
|
1996-10-08 22:10:49 +00:00
|
|
|
#
|
|
|
|
# The following flags are next up for working on:
|
1997-10-21 10:39:27 +00:00
|
|
|
# -W -Wunused -Wcast-qual -Wformat -Wall
|
1996-10-08 22:10:49 +00:00
|
|
|
#
|
|
|
|
# When working on removing warnings from code, the `-Werror' flag should be
|
|
|
|
# of material assistance.
|
|
|
|
#
|