diff options
author | bde <bde@FreeBSD.org> | 2002-08-25 08:05:02 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-08-25 08:05:02 +0000 |
commit | 25ef4f34f6975ae7c3ba491b10d7faf73dd958c9 (patch) | |
tree | 18cbacdc928ce93ce849c4f2ec81ba1483caf7bc | |
parent | 004cc5ab23f39efef04f896b26959922d5791502 (diff) | |
download | FreeBSD-src-25ef4f34f6975ae7c3ba491b10d7faf73dd958c9.zip FreeBSD-src-25ef4f34f6975ae7c3ba491b10d7faf73dd958c9.tar.gz |
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
-rw-r--r-- | share/mk/bsd.kern.mk | 8 | ||||
-rw-r--r-- | 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 a1de155..edc21ef 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 a1de155..edc21ef 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 |