aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-09-09 10:04:58 +0000
committerBruce Evans <bde@FreeBSD.org>1998-09-09 10:04:58 +0000
commit405b59bcb5aa3dbca9064dfb4188ddbf22d4e9c0 (patch)
treefa412dbbeb2c5c4a6452a35c3181aa548824c117
parentc9db555954dad0455d2fa087e26866bbed82ade8 (diff)
Notes
-rw-r--r--share/mk/bsd.kern.mk7
-rw-r--r--sys/conf/kern.mk7
2 files changed, 8 insertions, 6 deletions
diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk
index c5cd8651c4ac..003beaf0f9f7 100644
--- a/share/mk/bsd.kern.mk
+++ b/share/mk/bsd.kern.mk
@@ -1,14 +1,15 @@
-# $Id: bsd.kern.mk,v 1.8 1997/10/21 10:39:27 bde Exp $
+# $Id: bsd.kern.mk,v 1.9 1998/05/01 18:13:37 bde 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 -ansi
+ -Wpointer-arith -Winline -Wuninitialized -Wformat \
+ -fformat-extensions -ansi
#
# The following flags are next up for working on:
-# -W -Wunused -Wcast-qual -Wformat -Wall
+# -W -Wunused -Wcast-qual -Wall
#
# When working on removing warnings from code, the `-Werror' flag should be
# of material assistance.
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index c5cd8651c4ac..003beaf0f9f7 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -1,14 +1,15 @@
-# $Id: bsd.kern.mk,v 1.8 1997/10/21 10:39:27 bde Exp $
+# $Id: bsd.kern.mk,v 1.9 1998/05/01 18:13:37 bde 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 -ansi
+ -Wpointer-arith -Winline -Wuninitialized -Wformat \
+ -fformat-extensions -ansi
#
# The following flags are next up for working on:
-# -W -Wunused -Wcast-qual -Wformat -Wall
+# -W -Wunused -Wcast-qual -Wall
#
# When working on removing warnings from code, the `-Werror' flag should be
# of material assistance.