diff options
author | bde <bde@FreeBSD.org> | 1996-08-31 14:48:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-08-31 14:48:13 +0000 |
commit | 7d4c1814f6c8b48aaba422848781244a3a8e1685 (patch) | |
tree | d30aec0f7e14e7c815c7a2ac90c600b28f51abf5 /sys/conf | |
parent | f8b5cfc537cc8181d579a4fd086b618c24806f74 (diff) | |
download | FreeBSD-src-7d4c1814f6c8b48aaba422848781244a3a8e1685.zip FreeBSD-src-7d4c1814f6c8b48aaba422848781244a3a8e1685.tar.gz |
Don't depend in the kernel on the gcc feature of doing arithmetic on
pointers of type `void *'. Warn about this in future.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/Makefile.i386 | 4 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 4 | ||||
-rw-r--r-- | sys/conf/kmod.mk | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 91d0712..bf60da1 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -1,7 +1,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.85 1996/06/12 05:54:46 gpalmer Exp $ +# $Id: Makefile.i386,v 1.86 1996/08/21 16:31:34 ache Exp $ # # Makefile for FreeBSD # @@ -28,7 +28,7 @@ I386= ${S}/i386 CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline -Wunused + -Winline -Wunused -Wpointer-arith # # The following flags are next up for working on: # -Wall diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 91d0712..bf60da1 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -1,7 +1,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.85 1996/06/12 05:54:46 gpalmer Exp $ +# $Id: Makefile.i386,v 1.86 1996/08/21 16:31:34 ache Exp $ # # Makefile for FreeBSD # @@ -28,7 +28,7 @@ I386= ${S}/i386 CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline -Wunused + -Winline -Wunused -Wpointer-arith # # The following flags are next up for working on: # -Wall diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 4ab8b91..89fd5af 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -1,5 +1,5 @@ # From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.kmod.mk,v 1.23 1996/06/24 04:24:00 jkh Exp $ +# $Id: bsd.kmod.mk,v 1.24 1996/06/30 22:16:19 jkh Exp $ # # The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules. # <bsd.kmod.mk> includes the file named "../Makefile.inc" if it exists, @@ -93,7 +93,7 @@ # CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline -Wunused + -Winline -Wunused -Wpointer-arith CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \ ${CWARNFLAGS} |