This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] replace -W with -Wextra
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, Libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Sat, 01 May 2004 09:18:09 +0200
- Subject: [patch] replace -W with -Wextra
Hello,
this patch replaces the -W with the more speaking -Wextra.
Ok for mainline?
Bootstrap and tested on ppclinux.
Andreas
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/ChangeLog,v
retrieving revision 1.2465
diff -u -r1.2465 ChangeLog
--- ChangeLog 29 Apr 2004 22:07:10 -0000 1.2465
+++ ChangeLog 1 May 2004 07:09:37 -0000
@@ -1,3 +1,8 @@
+2004-05-01 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * acinclude.m4: Replace -W with more speaking -Wextra.
+ * configure: Rebuilt.
+
2004-04-29 Paolo Carlini <pcarlini@suse.de>
* src/locale.cc (locale::operator==): Always avoid constructing
Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/acinclude.m4,v
retrieving revision 1.288
diff -u -r1.288 acinclude.m4
--- acinclude.m4 1 Apr 2004 09:16:04 -0000 1.288
+++ acinclude.m4 1 May 2004 07:09:39 -0000
@@ -711,7 +711,7 @@
OPTIMIZE_CXXFLAGS=
AC_SUBST(OPTIMIZE_CXXFLAGS)
- WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
+ WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
AC_SUBST(WARN_FLAGS)
])