Bug: Unable to compile SWT using GCJ

Markus Reitz markus_reitz@yahoo.com
Sun Jun 1 19:53:00 GMT 2003


Hi,

I'm trying to compile SWT from sources using GCJ. I
have unpacked the sources and compilation works fine
except for the custom-directory:

gcj -c org/eclipse/swt/custom/*.java 

org/eclipse/swt/custom/DisplayRenderer.java:66: Type
`LineCache' not found in the declaration of the local
variable `lineCache'.
        LineCache lineCache =
parent.internalGetLineCache();
           ^
1 error
org/eclipse/swt/custom/TableCursor.java:410: Method
`org.eclipse.swt.widgets.Control.traverse(org.eclipse.swt.widgets.Event)'
was defined with return type `boolean' in class
`org.eclipse.swt.widgets.Control'.
   void traverse(Event event) {
        ^
1 error


Compilation with jikes is no problem, i.e.

 jikes org/eclipse/swt/custom/*.java 

works fine.


System:
-------
* Mandrake Linux 9.0 
* Linux Version of SWT (GTK-2) 
(http://download.eclipse.org/downloads/drops/R-2.1-200303272130/download.php?dropFile=swt-2.1-linux-gtk.zip)
* GCJ 3.2



Any ideas?

Markus

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de



More information about the Java mailing list