* Makefile.in (STRICT2_WARN): Add -Wold-style-definition

From-SVN: r73138
This commit is contained in:
Kelley Cook 2003-10-31 12:41:34 +00:00 committed by R. Kelley Cook
parent acd8e9843f
commit a2ae4a3dd0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (STRICT2_WARN): Add -Wold-style-definition.
2003-10-31 Richard Earnshaw <rearnsha@arm.com>
PR target/11271

View File

@ -164,7 +164,7 @@ coverageexts = .{gcda,gcno}
# stage1, as not all versions of gcc understand -Wno-long-long.
LOOSE_WARN = -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
STRICT_WARN = @strict1_warn@
STRICT2_WARN = -pedantic -Wno-long-long @WERROR@
STRICT2_WARN = -pedantic -Wno-long-long -Wold-style-definition @WERROR@
# This is set by --enable-checking. The idea is to catch forgotten
# "extern" tags in header files.