Add -Wimplicit to ${CWARNFLAGS} so that implicitly declared functions

don't come back.  There are still a few for unsupported network protocols.
This commit is contained in:
Bruce Evans 1995-03-25 17:50:19 +00:00
parent 6c534ad868
commit feae7fb7d3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7367
3 changed files with 12 additions and 9 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.