diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 22:53:58 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 22:53:58 +0000 |
commit | c590848cf5d691aba15e5a6579fb75c5fbefab93 (patch) | |
tree | 0431365b81d30f65309097970b63cd65a1e3475f /sys/conf | |
parent | afb6772e77fc6a8c94e11d0c65417ce422532467 (diff) | |
download | FreeBSD-src-c590848cf5d691aba15e5a6579fb75c5fbefab93.zip FreeBSD-src-c590848cf5d691aba15e5a6579fb75c5fbefab93.tar.gz |
Turn on -Wall and -Wcast-qual
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kern.mk | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 40e18cf..af02e59 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -1,15 +1,21 @@ -# $Id: bsd.kern.mk,v 1.11 1998/12/14 21:03:27 archie Exp $ +# $Id: bsd.kern.mk,v 1.12 1998/12/17 22:36:21 dfr Exp $ # # Warning flags for compiling the kernel and components of the kernel. # -CWARNFLAGS?= -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ - -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused \ +#CWARNFLAGS?= -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ +# -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ +# -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused \ +# -fformat-extensions -ansi + +CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ + -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -fformat-extensions -ansi + + # # The following flags are next up for working on: -# -W -Wcast-qual -Wall +# -W ( note: -W may be included by -Wall ) # # When working on removing warnings from code, the `-Werror' flag should be # of material assistance. |