[9212] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] gtk--0.9.17: compile problems

daemon@ATHENA.MIT.EDU (Oliver Freyd)
Mon Oct 12 15:29:09 1998

In-Reply-To: <m3pvbxaaki.fsf_-_@hubert.wuh.wustl.edu>
Date: Mon, 12 Oct 1998 21:19:17 +0200 (MET DST)
From: Oliver Freyd <freyd@uni-muenster.de>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

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

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post