gtk--0.9.17: compile problems



I've just tried to compile the new gtk---0.9.17 (with gcc2.7.2, and gtk+-1.0.5)
It fails with some very long errormessages, basically something in
container.gen_h.

Anyone knows about it, or better does it compile on other machines?!

here are the messages:
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I. -I. -I./.. -I.. -I/usr/local
/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -g -O2 -c -fPIC -DPI
C gtk--.cc
In file included from ../../src/gtk--/bin.h:8,
                 from ../../src/gtk--/alignment.h:8,
                 from ../../src/gtk--.h:208,
                 from gtk--.cc:31:
./../container.gen_h:100: base class `G_List_Iterator_no_dereference<_GtkWidget>
' has incomplete type
./../container.gen_h: In method `G_List_Iterator<_GtkWidget>::G_List_Iterator(G_
List<_GtkWidget> *)':
./../container.gen_h:103: type `G_List_Iterator_no_dereference<_GtkWidget>' is n
ot an immediate basetype for `G_List_Iterator<_GtkWidget>'
./../container.gen_h: In method `G_List_Iterator<_GtkWidget>::G_List_Iterator(_G
List *)':
./../container.gen_h:104: type `G_List_Iterator_no_dereference<_GtkWidget>' is n
ot an immediate basetype for `G_List_Iterator<_GtkWidget>'
./../container.gen_h: In method `G_List_Iterator<_GtkWidget>::G_List_Iterator(co
nst G_List_Iterator<_GtkWidget> &)':
./../container.gen_h:106: type `G_List_Iterator_no_dereference<_GtkWidget>' is n
ot an immediate basetype for `G_List_Iterator<_GtkWidget>'
./../container.gen_h: In method `struct G_List_Iterator<_GtkWidget> & G_List_Ite
rator<_GtkWidget>::operator ++()':
./../container.gen_h:109: `node' undeclared (first use this function)
./../container.gen_h:109: (Each undeclared identifier is reported only once
./../container.gen_h:109: for each function it appears in.)
./../container.gen_h: In method `struct G_List_Iterator<_GtkWidget> & G_List_Ite
rator<_GtkWidget>::operator --()':
./../container.gen_h:118: `node' undeclared (first use this function)
./../container.gen_h: In method `struct _GtkWidget * G_List_Iterator<_GtkWidget>
::operator (unary *)() const':
./../container.gen_h:130: `node' undeclared (first use this function)
./../container.gen_h: In method `G_List_Cpp_Iterator<_GtkWidget,Gtk_Widget>::G_L
ist_Cpp_Iterator(const G_List_Iterator<_GtkWidget> &)':
./../container.gen_h:146: no matching function for call to `G_List_Iterator_no_d
ereference<_GtkWidget>::G_List_Iterator_no_dereference<_GtkWidget> (G_List_Itera
tor<_GtkWidget>)'
./../container.gen_h:87: candidates are: G_List_Iterator_no_dereference<_GtkWidg
et>::G_List_Iterator_no_dereference(G_List<_GtkWidget> *)
./../container.gen_h:88:                 G_List_Iterator_no_dereference<_GtkWidg
et>::G_List_Iterator_no_dereference(_GList *)
./../container.gen_h:89:                 G_List_Iterator_no_dereference<_GtkWidg
et>::G_List_Iterator_no_dereference()

./../container.gen_h:90:                 G_List_Iterator_no_dereference<_GtkWidg
et>::G_List_Iterator_no_dereference(const G_List_Iterator_no_dereference<_GtkWid
get> &)
./../container.gen_h:146: in base initialization for class `G_List_Iterator_no_d
ereference<_GtkWidget>'
make[4]: *** [gtk--.lo] Error 1

---------------------------------------------------------------------------
Well, that's all, bye 
Oliver



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