1997-10-21 10:36:07 +00:00
|
|
|
# $Id: bsd.kern.mk,v 1.6 1997/10/21 06:53:24 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 \
|
1997-10-21 10:36:07 +00:00
|
|
|
-Wpointer-arith -Winline -Wuninitialized
|
|
|
|
# -W -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.
|
|
|
|
#
|