mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Make everything except the unsupported network sources compile cleanly
with -Wnested-extern.
This commit is contained in:
parent
a9e479e2fa
commit
8c13738f38
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10079
@ -1,6 +1,6 @@
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.i386,v 1.64 1995/05/30 07:59:05 rgrimes Exp $
|
||||
# $Id: Makefile.i386,v 1.65 1995/07/22 23:55:41 bde Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -25,10 +25,10 @@ S= ../..
|
||||
.endif
|
||||
I386= ${S}/i386
|
||||
|
||||
CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
|
||||
CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
|
||||
-Wnested-externs
|
||||
#
|
||||
# The following flags are next up for working on:
|
||||
# -Wnested-externs (almost works)
|
||||
# -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
|
||||
#
|
||||
# When working on removing warnings from code, the `-Werror' flag should be
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.i386,v 1.64 1995/05/30 07:59:05 rgrimes Exp $
|
||||
# $Id: Makefile.i386,v 1.65 1995/07/22 23:55:41 bde Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -25,10 +25,10 @@ S= ../..
|
||||
.endif
|
||||
I386= ${S}/i386
|
||||
|
||||
CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
|
||||
CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
|
||||
-Wnested-externs
|
||||
#
|
||||
# The following flags are next up for working on:
|
||||
# -Wnested-externs (almost works)
|
||||
# -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
|
||||
#
|
||||
# When working on removing warnings from code, the `-Werror' flag should be
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.i386,v 1.64 1995/05/30 07:59:05 rgrimes Exp $
|
||||
# $Id: Makefile.i386,v 1.65 1995/07/22 23:55:41 bde Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -25,10 +25,10 @@ S= ../..
|
||||
.endif
|
||||
I386= ${S}/i386
|
||||
|
||||
CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
|
||||
CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
|
||||
-Wnested-externs
|
||||
#
|
||||
# The following flags are next up for working on:
|
||||
# -Wnested-externs (almost works)
|
||||
# -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
|
||||
#
|
||||
# When working on removing warnings from code, the `-Werror' flag should be
|
||||
|
Loading…
Reference in New Issue
Block a user