aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/kern.mk
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-27 22:53:58 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-27 22:53:58 +0000
commit0bcef6efa1e66a8ed16f4d6cb8aedb547352f078 (patch)
treea03f833dbb55da1d3914a09f96dd7b0e9b9118c8 /sys/conf/kern.mk
parentcdb96ab47007a71b4be15da89965cabe84c79137 (diff)
downloadsrc-0bcef6efa1e66a8ed16f4d6cb8aedb547352f078.tar.gz
src-0bcef6efa1e66a8ed16f4d6cb8aedb547352f078.zip
Turn on -Wall and -Wcast-qual
Notes
Notes: svn path=/head/; revision=43308
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r--sys/conf/kern.mk16
1 files changed, 11 insertions, 5 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 40e18cf84cae..af02e59e80ea 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -1,15 +1,21 @@
-# $Id: bsd.kern.mk,v 1.11 1998/12/14 21:03:27 archie Exp $
+# $Id: bsd.kern.mk,v 1.12 1998/12/17 22:36:21 dfr 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 \
+#CWARNFLAGS?= -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
+# -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
+# -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused \
+# -fformat-extensions -ansi
+
+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 -Wcast-qual -Wall
+# -W ( note: -W may be included by -Wall )
#
# When working on removing warnings from code, the `-Werror' flag should be
# of material assistance.