diff options
author | assar <assar@FreeBSD.org> | 2001-07-22 00:12:23 +0000 |
---|---|---|
committer | assar <assar@FreeBSD.org> | 2001-07-22 00:12:23 +0000 |
commit | 14120392f06eb42607135dd708e110c5faec4a53 (patch) | |
tree | 5d607b2a58aea6995de086cbe60ba39dafd34455 | |
parent | 6833b4cd915e72ca84c9cdfcf99ee35856352de2 (diff) | |
download | FreeBSD-src-14120392f06eb42607135dd708e110c5faec4a53.zip FreeBSD-src-14120392f06eb42607135dd708e110c5faec4a53.tar.gz |
revert previous accidental commit
-rw-r--r-- | share/mk/bsd.kern.mk | 6 | ||||
-rw-r--r-- | sys/conf/kern.mk | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk index ba78e3b..d81fd7c 100644 --- a/share/mk/bsd.kern.mk +++ b/share/mk/bsd.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: 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: |