aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-01-29 10:57:18 +0000
committerBruce Evans <bde@FreeBSD.org>1999-01-29 10:57:18 +0000
commit9a6c0bd6c9e0273d88ff515e5eb582961445acf3 (patch)
tree91b855e99aacf21122367a6d97068295c485d28c
parentfe5871fb09d4dfb7ff8261763277a0e780fec9a1 (diff)
Notes
-rw-r--r--share/mk/bsd.kern.mk21
-rw-r--r--sys/conf/kern.mk21
2 files changed, 28 insertions, 14 deletions
diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk
index 4ae998a21bf68..16b4f74849c7f 100644
--- a/share/mk/bsd.kern.mk
+++ b/share/mk/bsd.kern.mk
@@ -1,15 +1,22 @@
-# $Id: bsd.kern.mk,v 1.13 1999/01/27 22:53:58 dillon Exp $
+# $Id: bsd.kern.mk,v 1.14 1999/01/29 06:22:19 dillon Exp $
#
# Warning flags for compiling the kernel and components of the kernel.
#
-# 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 \
+# 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
+#
+# 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
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 4ae998a21bf68..16b4f74849c7f 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -1,15 +1,22 @@
-# $Id: bsd.kern.mk,v 1.13 1999/01/27 22:53:58 dillon Exp $
+# $Id: bsd.kern.mk,v 1.14 1999/01/29 06:22:19 dillon Exp $
#
# Warning flags for compiling the kernel and components of the kernel.
#
-# 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 \
+# 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
+#
+# 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