This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] libjava replace -W with -Wextra
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: Sat, 01 May 2004 09:15:46 +0200
- Subject: [patch] libjava 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/libjava/ChangeLog,v
retrieving revision 1.2786
diff -u -r1.2786 ChangeLog
--- ChangeLog 30 Apr 2004 18:19:36 -0000 1.2786
+++ ChangeLog 1 May 2004 07:10:29 -0000
@@ -1,3 +1,9 @@
+2004-05-01 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
+ * Makefile.in: Rebuilt.
+
+
2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
Tom Tromey <tromey@redhat.com>
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.372
diff -u -r1.372 Makefile.am
--- Makefile.am 22 Apr 2004 23:22:23 -0000 1.372
+++ Makefile.am 1 May 2004 07:10:33 -0000
@@ -103,7 +103,7 @@
GCC_UNWIND_INCLUDE = @GCC_UNWIND_INCLUDE@
-WARNINGS = -W -Wall
+WARNINGS = -Wextra -Wall
## We need _GNU_SOURCE defined for some Linux builds. It doesn't hurt
## to always define it.
AM_CXXFLAGS = -fno-rtti -fnon-call-exceptions $(THREADCXXFLAGS) \