Bug: Unable to compile SWT using GCJ

simon.rutishauser simon.rutishauser@gmx.ch
Mon Jun 2 10:15:00 GMT 2003


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ä


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /