From feae7fb7d361fee1a3ecd74d68be778cc6b42bef Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 25 Mar 1995 17:50:19 +0000 Subject: [PATCH] Add -Wimplicit to ${CWARNFLAGS} so that implicitly declared functions don't come back. There are still a few for unsupported network protocols. --- sys/conf/Makefile.i386 | 7 ++++--- sys/conf/Makefile.powerpc | 7 ++++--- sys/i386/conf/Makefile.i386 | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index d8d19794bcc..8b7c43556dc 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.56 1995/03/01 10:08:04 gibbs Exp $ +# $Id: Makefile.i386,v 1.57 1995/03/04 03:24:06 davidg Exp $ # # Makefile for FreeBSD # @@ -25,10 +25,11 @@ S= ../.. .endif I386= ${S}/i386 -CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls +CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit # # The following flags are next up for working on: -# -Wimplicit -Wnested-externs +# -Wnested-externs (almost works) +# -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations # # When working on removing warnings from code, the `-Werror' flag should be # of material assistance. diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index d8d19794bcc..8b7c43556dc 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.56 1995/03/01 10:08:04 gibbs Exp $ +# $Id: Makefile.i386,v 1.57 1995/03/04 03:24:06 davidg Exp $ # # Makefile for FreeBSD # @@ -25,10 +25,11 @@ S= ../.. .endif I386= ${S}/i386 -CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls +CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit # # The following flags are next up for working on: -# -Wimplicit -Wnested-externs +# -Wnested-externs (almost works) +# -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations # # When working on removing warnings from code, the `-Werror' flag should be # of material assistance. diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index d8d19794bcc..8b7c43556dc 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.56 1995/03/01 10:08:04 gibbs Exp $ +# $Id: Makefile.i386,v 1.57 1995/03/04 03:24:06 davidg Exp $ # # Makefile for FreeBSD # @@ -25,10 +25,11 @@ S= ../.. .endif I386= ${S}/i386 -CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls +CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit # # The following flags are next up for working on: -# -Wimplicit -Wnested-externs +# -Wnested-externs (almost works) +# -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations # # When working on removing warnings from code, the `-Werror' flag should be # of material assistance.