aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-29 06:22:19 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-29 06:22:19 +0000
commita91f66d4f6374976fe02167150ba00bfda5fbd37 (patch)
treed7d53e2cf7510c6d75dbc742ea12299efdca1d1e /sys/conf
parent94dc5b0701e642a868aad4774fde0cb90bb25711 (diff)
downloadsrc-a91f66d4f6374976fe02167150ba00bfda5fbd37.tar.gz
src-a91f66d4f6374976fe02167150ba00bfda5fbd37.zip
Cleanup bsd.kern.mk after last commit.
Notes
Notes: svn path=/head/; revision=43376
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.mk18
1 files changed, 4 insertions, 14 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index af02e59e80ea..4ae998a21bf6 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -1,26 +1,16 @@
-# $Id: bsd.kern.mk,v 1.12 1998/12/17 22:36:21 dfr Exp $
+# $Id: bsd.kern.mk,v 1.13 1999/01/27 22:53:58 dillon 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
+# Note that the newly added -Wcast-qual is responsible for generating
+# most of the remaining warnings. Warnings introduced with -Wall
+# will also pop up, but are easier to fix.
CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-fformat-extensions -ansi
-
-#
-# The following flags are next up for working on:
-# -W ( note: -W may be included by -Wall )
-#
-# When working on removing warnings from code, the `-Werror' flag should be
-# of material assistance.
-#
-
#
# On the alpha, make sure that we don't use floating-point registers and
# allow the use of EV56 instructions (only needed for low-level i/o).