This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]