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,

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


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