summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-29 06:22:19 +0000
committerdillon <dillon@FreeBSD.org>1999-01-29 06:22:19 +0000
commitde76830961c5693554bdb2eb9332143ace09d660 (patch)
tree6c991b9434a10a4e42f1ef07f46be442fb90b58f
parent93bf3b92b94f1c5f528613f515d7a3b02f2b0161 (diff)
downloadFreeBSD-src-de76830961c5693554bdb2eb9332143ace09d660.zip
FreeBSD-src-de76830961c5693554bdb2eb9332143ace09d660.tar.gz
Cleanup bsd.kern.mk after last commit.
-rw-r--r--share/mk/bsd.kern.mk18
-rw-r--r--sys/conf/kern.mk18
2 files changed, 8 insertions, 28 deletions
diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk
index af02e59..4ae998a 100644
--- a/share/mk/bsd.kern.mk
+++ b/share/mk/bsd.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).
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index af02e59..4ae998a 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).
OpenPOWER on IntegriCloud