This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Bug: Unable to compile SWT using GCJ
- From: "simon.rutishauser" <simon dot rutishauser at gmx dot ch>
- To: java at gcc dot gnu dot org
- Date: Mon, 2 Jun 2003 12:17:03 +0200 (Westeuropäische Sommerzeit)
- Subject: Bug: Unable to compile SWT using GCJ
- Reply-to: simon dot rutishauser at gmx dot ch
hi,
these errors are gcj problems, but you can get round them by doing the
following things:
Error1: add to the top of the file an import statement like this:
import org.eclipse.swt.custom.LineCache;
(or like this, actually i'm far away from my own pc...)
this seems to be necessary even though the same should already have been
imported by a import .....*;
Error2: change the method to "boolean traverse (Event event) {
and insert return true; in the end and change all return statements to
return true; (or return false; if you like)
This works on my machine (with SWT for motif and gtk, motif actually has
an additional error (it's not a bug, its a feature ;-)))
Peschmä