diff options
author | bde <bde@FreeBSD.org> | 1996-11-11 15:49:27 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-11-11 15:49:27 +0000 |
commit | a963e0c4d3c9712abcd82f81889a3ef110d52df1 (patch) | |
tree | 260cf786af13b06d6f7b51f875fb258c0ef4e5e4 /sys/conf/kern.mk | |
parent | 91d087ad8a4049c68d6187111e2974126a637783 (diff) | |
download | FreeBSD-src-a963e0c4d3c9712abcd82f81889a3ef110d52df1.zip FreeBSD-src-a963e0c4d3c9712abcd82f81889a3ef110d52df1.tar.gz |
Turned off -W and -Winline so that the warnings that should be fixed for
2.2 are more obvious. -Winline is unimportant, but -W gives thousands
of warnings for comparisions. Turning off -W also loses warnings for:
- auto variables clobbered by longjmp. Not much of a problem in the kernel.
- functions returning without a value. I don't like losing this.
- an expression statement or the left side of a comma operand contains no
side effects. Turning this off also stops warnings for the low quality
debugging macros in gsc.c and lpt.c.
Should be in 2.2.
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r-- | sys/conf/kern.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index d6c5eaf..8aac111 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -1,11 +1,11 @@ -# $Id: bsd.kern.mk,v 1.1 1996/10/08 22:10:49 bde Exp $ +# $Id: bsd.kern.mk,v 1.2 1996/10/09 18:41:40 bde Exp $ # # Warning flags for compiling the kernel and components of the kernel. # -CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ +CWARNFLAGS?= -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline -Wpointer-arith # -Wunused -Wcast-qual + -Wpointer-arith # -W -Winline -Wunused -Wcast-qual # # The following flags are next up for working on: # -Wformat -Wall |