mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 13:05:18 +01:00
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:
parent
6c534ad868
commit
feae7fb7d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7367
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user