summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.mk
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-07-22 00:12:23 +0000
committerassar <assar@FreeBSD.org>2001-07-22 00:12:23 +0000
commit14120392f06eb42607135dd708e110c5faec4a53 (patch)
tree5d607b2a58aea6995de086cbe60ba39dafd34455 /sys/conf/kern.mk
parent6833b4cd915e72ca84c9cdfcf99ee35856352de2 (diff)
downloadFreeBSD-src-14120392f06eb42607135dd708e110c5faec4a53.zip
FreeBSD-src-14120392f06eb42607135dd708e110c5faec4a53.tar.gz
revert previous accidental commit
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r--sys/conf/kern.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index ba78e3b..d81fd7c 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -3,8 +3,12 @@
#
# Warning flags for compiling the kernel and components of the kernel.
#
+# 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.
+#
CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
- -Wmissing-prototypes -Wpointer-arith -Winline \
+ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-fformat-extensions -ansi
#
# The following flags are next up for working on:
OpenPOWER on IntegriCloud