Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Re: looking into SWT 3.0 M8 for native compilation with GCJ

>>>>> "Erik" == Erik Poupaert <erik.poupaert@xxxxxxxxx> writes:

I mentioned this on the gcj list, but it is more apropos here..

Erik> There are also serious issues with GtkCombo and os_structs.h at
Erik> line 179. I dunno why these symbols fail to resolve... According
Erik> to my locally operating spies, these symbols are defined in
Erik> /usr/include/gtk-2.0/gtk/gtkcombo.h:

We needed the appended.  This is against some 2.1.x SWT, for Gtk 2.4;
it isn't needed if you have Gtk 2.2.  I thought we sent this back to
eclipse.org, but perhaps we forgot.

The real fix is to rewrite these parts of SWT to avoid deprecated
parts of Gtk.  This suffices for now.

Tom

Index: structs.h
===================================================================
RCS file: /usr/cygnus/eclipse-cvsroot/org.eclipse.swt/Eclipse SWT PI/gtk/library/structs.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- structs.h 9 Jan 2004 20:29:16 -0000 1.3
+++ structs.h 26 Feb 2004 23:16:05 -0000 1.4
@@ -16,6 +16,8 @@
 #ifndef INC_structs_H
 #define INC_structs_H
  
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
 #include <gdk/gdk.h>
 #include <pango/pango.h>


Back to the top