This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: Report on GCJ as packaging tool for SWT applications
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: <tromey at redhat dot com>
- Cc: <java at gcc dot gnu dot org>
- Date: Thu, 19 Dec 2002 21:41:15 +0100
- Subject: RE: Report on GCJ as packaging tool for SWT applications
> Øyvind> A minor issue: I couldn't find a way to turn off the warning
> Øyvind> below (-Wno-unreachable-bytecode did not work). ....
> Øyvind> org/eclipse/swt/graphics/ImageData.java:2378:
> warning: unreachable bytecode from 2061 to before 2064
>
> Yes. I had a patch to add a flag to suppress this warning,
> but it was rejected. I don't think any such flag will be forthcoming.
I've been playing with GCJ all day today and I miss the ability
to remove this warning. I get >100 warnings every time I compile.
Q: Was the objection to your patch an objection to the feature or the
implementation?
If it was an objection to the feature, I would urge whoever decides
these things to reconsider:
GCJ can be used as a packaging tool and these warnings
pop up when compiling 3rd party JARs(which otherwise work fine).
I have no intention of recompiling e.g. Apache Regex when it
works just fine the way it is, except for the warnings.
Øyvind