diff options
author | bde <bde@FreeBSD.org> | 1998-09-09 10:04:58 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-09-09 10:04:58 +0000 |
commit | 38ad69f345a0d683f184a8d1546f72eb101b99d9 (patch) | |
tree | 682711c415154d625ccb90c9cbf4cebc751df42b /share/mk/bsd.kern.mk | |
parent | 0e7b8a8da00468c7f405389fe9ed2c70467ab13c (diff) | |
download | FreeBSD-src-38ad69f345a0d683f184a8d1546f72eb101b99d9.zip FreeBSD-src-38ad69f345a0d683f184a8d1546f72eb101b99d9.tar.gz |
Turned on -Wformat -fformat-extensions. -fformat-extensions requires a
-current version of gcc. Without it, -Wformat would complain about all
the nonstandard %[Dbrz] formats in the kernel.
Diffstat (limited to 'share/mk/bsd.kern.mk')
-rw-r--r-- | share/mk/bsd.kern.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk index c5cd865..003beaf 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. |