[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] [Patch] jikes warnings
From: |
Mark Wielaard |
Subject: |
Re: [cp-patches] [Patch] jikes warnings |
Date: |
Mon, 23 May 2005 10:54:52 +0200 |
Hi,
On Thu, 2005-05-19 at 07:59 +0200, Michael Koch wrote:
> In my big locale patch I accidentally commited a part to shut up jikes'
> warnings. I revert this with this patch.
Should we just bite the bullet and turn of switch fall-through checking
when compiling with jikes? It seems to generate a very large number of
false positives.
2005-05-23 Mark Wielaard <address@hidden>
* lib/Makefile.am (FOUND_JIKES): Add +Pno-switchcheck.
The remaining warnings seem to be things we actually want to fix.
Cheers,
Mark
--- lib/Makefile.am.orig 2005-05-23 10:48:53.000000000 +0200
+++ lib/Makefile.am 2005-05-23 10:51:46.000000000 +0200
@@ -18,7 +18,7 @@
&& $(GCJ) -Wno-deprecated --bootclasspath '' --classpath $(compile_classpath)
-C -d . @classes.standardx
else
if FOUND_JIKES
-JAVAC = $(JIKES) +Pno-shadow +F -bootclasspath '' -extdirs '' -sourcepath ''
--classpath $(compile_classpath) -d . @classes
+JAVAC = $(JIKES) +Pno-shadow +Pno-switchcheck +F -bootclasspath '' -extdirs ''
-sourcepath '' --classpath $(compile_classpath) -d . @classes
else
if FOUND_KJC
JAVAC = $(KJC) -classpath .:$(USER_CLASSLIB) -d . @classes
signature.asc
Description: This is a digitally signed message part