summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-05-24 01:02:45 +0000
committerpeter <peter@FreeBSD.org>2002-05-24 01:02:45 +0000
commita984a1d71889dc6fd0e25db41ff5e4866a9f545c (patch)
treebbab4dea6b71c8926a6aa69c69d850b4e8ea936a /share
parentd9d0d520249b49e516a8541b88c20cb75ed5e17c (diff)
downloadFreeBSD-src-a984a1d71889dc6fd0e25db41ff5e4866a9f545c.zip
FreeBSD-src-a984a1d71889dc6fd0e25db41ff5e4866a9f545c.tar.gz
For now, make the .ifdef GCC3 case default. We should change -Wno-format
back to -fformat-extensions (or whatever) when we have the functionality. We are gaining warnings again that should be fixed but the are being hidden by NO_WERROR and all the -Wformat noise.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.kern.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk
index 35a091a..a1de155 100644
--- a/share/mk/bsd.kern.mk
+++ b/share/mk/bsd.kern.mk
@@ -7,16 +7,10 @@
# most of the remaining warnings. Warnings introduced with -Wall will
# also pop up, but are easier to fix.
#
-# XXX FIXME - revert when there is a gcc3 with -fformat-extensions
-.ifndef GCC3
-CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
- -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
- -fformat-extensions -ansi
-.else
+# 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
-.endif
#
# The following flags are next up for working on:
# -W
OpenPOWER on IntegriCloud