From 64fc62d40722d2b430a610b36544ae2d69ef87c4 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 25 Aug 2002 08:05:02 +0000 Subject: [PATCH] Turned format checking back on. It was left turned off for too long after the gcc lossage that caused it to be turned off was fixed. Tested with: i386/{GENERIC,LINT,...}, alpha/GENERIC --- share/mk/bsd.kern.mk | 8 +------- sys/conf/kern.mk | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk index a1de155ff2af..edc21efbe802 100644 --- a/share/mk/bsd.kern.mk +++ b/share/mk/bsd.kern.mk @@ -6,18 +6,12 @@ # 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. -# -# XXX FIXME - revert to -fformat-extensions when we've re-added it CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ - -Wno-format -ansi + -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 i386, do not align the stack to 16-byte boundaries. Otherwise GCC diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index a1de155ff2af..edc21efbe802 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -6,18 +6,12 @@ # 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. -# -# XXX FIXME - revert to -fformat-extensions when we've re-added it CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ - -Wno-format -ansi + -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 i386, do not align the stack to 16-byte boundaries. Otherwise GCC