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