diff options
author | bde <bde@FreeBSD.org> | 1999-01-29 10:57:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-01-29 10:57:18 +0000 |
commit | 480f04f96750f46e8cb48177566cbbd51b0e828d (patch) | |
tree | aebeca0600def36d4c7ec4fb4693a15dc4d486ae /sys/conf/kern.mk | |
parent | 33c0a6b08a9aff3582dc06757c6c2422b79c5d7b (diff) | |
download | FreeBSD-src-480f04f96750f46e8cb48177566cbbd51b0e828d.zip FreeBSD-src-480f04f96750f46e8cb48177566cbbd51b0e828d.tar.gz |
Fixed comment and whitespace lossage in recent commits. The -W flag
is not implied by -Wall as claimed by gcc.1. Adding it causes a
measly 7193 new warnings for LINT, mostly for "unused parameter" and
"comparison between signed and unsigned".
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r-- | sys/conf/kern.mk | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 4ae998a..16b4f74 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -1,15 +1,22 @@ -# $Id: bsd.kern.mk,v 1.13 1999/01/27 22:53:58 dillon Exp $ +# $Id: bsd.kern.mk,v 1.14 1999/01/29 06:22:19 dillon Exp $ # # 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 -Wcast-qual \ +# 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 -Wcast-qual \ -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 alpha, make sure that we don't use floating-point registers and |