[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Add +Pno-shadow to jikes compilation
From: |
Mark Wielaard |
Subject: |
[cp-patches] Add +Pno-shadow to jikes compilation |
Date: |
Fri, 17 Dec 2004 17:00:11 +0100 |
Hi,
This adds +Pno-shadow to jikes compilations. Although gcj is the default
compiler we try to also support at least jikes as alternative. Recent
versions of jikes have a lot of warnings turned on. The shadow arning
causes a lot of spurious warnings which we will probably never "fix". It
does mean that we need at least version 1.19 of jikes now (which
introduced the flag and the new warnings). This shouldn't be a problem
since older versions have known byte code generation issues.
2004-12-17 Mark Wielaard <address@hidden>
* INSTALL: We need jikes 1.19 or higher now.
* lib/Makefile.am: Add +Pno-shadow to JIKES compilation.
Committed,
Mark
Index: INSTALL
===================================================================
RCS file: /cvsroot/classpath/classpath/INSTALL,v
retrieving revision 1.22
diff -u -r1.22 INSTALL
--- INSTALL 29 Aug 2004 16:32:13 -0000 1.22
+++ INSTALL 17 Dec 2004 15:58:22 -0000
@@ -32,7 +32,7 @@
configure; the present default is gcj.
- GCJ 3.3+ (part of the GNU GCC package).
- - IBM jikes 1.18+.
+ - IBM jikes 1.19+.
- The kjc compiler is supported with configure but we have
been unable to successfully compile with it.
Index: lib/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/lib/Makefile.am,v
retrieving revision 1.69
diff -u -r1.69 Makefile.am
--- lib/Makefile.am 11 Nov 2004 15:17:38 -0000 1.69
+++ lib/Makefile.am 17 Dec 2004 15:58:22 -0000
@@ -23,7 +23,7 @@
&& $(GCJ) -Wno-deprecated --bootclasspath '' --classpath
$(top_srcdir):$(top_srcdir)/vm/reference:.:$(USER_CLASSLIB) -C -d .
@classes.standardx
else
if FOUND_JIKES
-JAVAC = $(JIKES) +F -bootclasspath '' -extdirs '' -sourcepath '' --classpath
$(top_srcdir):$(top_srcdir)/vm/reference:.:$(USER_CLASSLIB) -d . @classes
+JAVAC = $(JIKES) +Pno-shadow +F -bootclasspath '' -extdirs '' -sourcepath ''
--classpath $(top_srcdir):$(top_srcdir)/vm/reference:.:$(USER_CLASSLIB) -d .
@classes
else
if FOUND_KJC
JAVAC = $(KJC) -classpath .:$(USER_CLASSLIB) -d . @classes
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Add +Pno-shadow to jikes compilation,
Mark Wielaard <=