This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug: Unable to compile SWT using GCJ


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ä


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]