This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Change -W to -Wextra in Makefile.in
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 01 Oct 2006 08:17:37 +0200
- Subject: [PATCH] Change -W to -Wextra in Makefile.in
Hello!
This patch changes -W to -Wextra, so gcc is consistent with its own
documentation, where -W is deprecated:
`-Wextra'
(This option used to be called `-W'. The older name is still
supported, but the newer name is more descriptive.) Print extra
...
Patch was bootstrapped on x86_64-pc-linux-gnu.
2006-10-01 Uros Bizjak <uros@kss-loka.si>
* Makefile.in (LOOSE_WARN): Change -W to -Wextra.
Uros.
Index: Makefile.in
===================================================================
--- Makefile.in (revision 117342)
+++ Makefile.in (working copy)
@@ -178,7 +178,7 @@
# stage1, as not all versions of gcc understand -Wno-long-long or
# -Wno-variadic-macros.
# CXX_COMPAT_WARN are C++ source compatibility warnings.
-LOOSE_WARN = -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
+LOOSE_WARN = -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
STRICT_WARN = @strict1_warn@
WERROR_FLAGS = @WERROR@
STRICT2_WARN = -pedantic -Wno-long-long -Wno-variadic-macros \