This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: input line is too long
- From: "Erik Poupaert" <erik dot poupaert at chello dot be>
- To: <tromey at redhat dot com>
- Cc: <java at gcc dot gnu dot org>
- Date: Thu, 2 Jan 2003 00:36:52 +0100
- Subject: RE: input line is too long
>>> I've never heard of this one. Can you submit a more complete report?
These things come out of eclipse-SDK-M4-win32.zip. I'm obviously using some
older version of gcj (gcj-3.2-20021210-1.tar.gz from www.mingw.org), but
it's the most recent gcj/minGW release candidate.
(1) This one, I forgot to mention. I can't even classify it. jikes doesn't
say anything about it, but gcj refuses to compile:
src/org/eclipse/swt/custom/DisplayRenderer.java:64://X LineCache lineCache
= parent.internalGetLineCache();
src/org/eclipse/swt/custom/DisplayRenderer.java:92://X
selectionBackgroundWidth = Math.max(getClientAre
a().width, lineCache.getWidth());
I simply had to take out the lines.
(2) Here gcj complains about the return type.
src/org/eclipse/swt/custom/TableCursor.java:407://X void traverse(Event
event) {
I had to change it into: "boolean traverse(Event event) {" and return dummy
true values.
(3) This is the (short) to (char) cast stuff:
src/org/eclipse/swt/widgets/Control.java:46://X static final short []
ACCENTS = new short [] {'~', '`','\'', '^', '"'};
I had to change it into: "static final short [] ACCENTS = new short []
{(short)'~', (short)'`', (short)'\'',(short) '^',(short) '"'};"
Same for: src/org/eclipse/swt/widgets/Decorations.java:320: accel.key =
(short) 'Q'; //X