* Makefile.in (STRICT2_WARN): Add -Wold-style-definition
authorKelley Cook <kcook@gcc.gnu.org>
Fri, 31 Oct 2003 12:41:34 +0000 (12:41 +0000)
committerR. Kelley Cook <kcook@gcc.gnu.org>
Fri, 31 Oct 2003 12:41:34 +0000 (12:41 +0000)
From-SVN: r73138

gcc/ChangeLog
gcc/Makefile.in

index 528def53140f05fc4334d079d3e548f1a4ce1cc6..2fc1859b5c017ef8938a962a3d9ed4bedb9906a4 100644 (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
index 492f88b78d60be1e5272449a711aec702b3ba5e6..0ecca9c03245598c2056258182d94b89c9d53388 100644 (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.