gtk-- compile error



Trying to compile gtk-- from the same archive, gives this error:

../../widget.gen_h: In function `static void Gtk_Widget::cpp_class_init(struct
_GtkWidgetClass *, struct c_signals_Widget *)': In file included from
.../gtk--/container.h:7,                  from ../gtk--/bin.h:8,
                 from ../gtk--/alignment.h:8,
                 from alignment.cc:4:
../../widget.gen_h:235: assignment to `void (*)(_GtkWidget *, unsigned int)' from `void (*)(_GtkWidget *, GtkStateType)'
../../widget.gen_h:236: assignment to `void (*)(_GtkWidget *, GtkStateType)' from `void (*)(_GtkWidget *, unsigned int)'
../../container.gen_h: In function `static void Gtk_Container::cpp_class_init(struct _GtkContainerClass *, struct c_signals_Container *)':
In file included from ../gtk--/bin.h:8,
                 from ../gtk--/alignment.h:8,
                 from alignment.cc:4:
../../container.gen_h:101: `struct _GtkContainerClass' has no member named `need_resize'
../../container.gen_h:102: `struct _GtkContainerClass' has no member named `need_resize'
../../container.gen_h: In method `void Gtk_Container::add_callback(class Gtk_Widget *)':
../../container.gen_h:136: warning: `void Gtk_Container::add_callback(class Gtk_Widget *)' was used before it was declared inline
../../container.gen_h:77: warning: previous non-inline declaration here
../../container.gen_h: In method `void Gtk_Container::remove_callback(class Gtk_Widget *)':
../../container.gen_h:142: warning: `void Gtk_Container::remove_callback(class Gtk_Widget *)' was used before it was declared inline
../../container.gen_h:81: warning: previous non-inline declaration here
gmake[3]: *** [alignment.lo] Error 1
gmake[3]: Leaving directory `/usr/local/src/redhat/SOURCES/gtk--/src/gtk--'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/redhat/SOURCES/gtk--/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/redhat/SOURCES/gtk--'
gmake: *** [all-recursive-am] Error 2

Anyone ?


Ciao,

	Jarl



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]