Gtk--: gcc2.7.2 abandoned?



Hi, 

I have been trying to get gtk-- to compile this weekend (I need it 
for an assignment due soon). 

I have installed gtk+ from CVS (compiled without any problems). 
Gtk-- on the other hand gives a warning

configure: warning: Test for member templates failed. This disables some 
methods that requires member template support. If your compiler should support 
member templates, see config.log to figure out why the test failed.

and then when I run make

creating src/gtk--/Makefile
make[4]: Leaving directory `/old/work/GTK/gtk--/src/gtk--'
make[4]: Entering directory `/old/work/GTK/gtk--/src/gtk--'
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. 
-I../../src -DG_LOG_DOMAIN=\"Gtk--\" -I. -I. -I./.. -I.. -I/usr/X11R6/include 
-I/usr/local/lib/glib/include -I/usr/local/include  -g -O2 -c gtk--.cc
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -DG_LOG_DOMAIN=\"Gtk--\" -I. 
-I. -I./.. -I.. -I/usr/X11R6/include -I/usr/local/lib/glib/include 
-I/usr/local/include -g -O2 -Wp,-MD,.deps/gtk--.p -c -fPIC -DPIC gtk--.cc
In file included from ../../src/gtk--.h:197,
                 from gtk--.cc:31:
./../base.gen_h:221: declaration of `template <> Gtk_ObjectHandle<OBJECT>
::Gtk_ObjectHandle(const OBJECT *)' in non-template type 
`Gtk_ObjectHandle<OBJECT>'
./../base.gen_h:227: declaration of `template <> Gtk_ObjectHandle<OBJECT>
::Gtk_ObjectHandle(const int)' in non-template type `Gtk_ObjectHandle<OBJECT>'
./../base.gen_h:233: declaration of `template <> Gtk_ObjectHandle<OBJECT>
::set_object(const OBJECT *)' in non-template type `Gtk_ObjectHandle<OBJECT>'
./../object.gen_h: In method `Gtk_ObjectHandle<OBJECT>
::Gtk_Trashcan_Helper::Gtk_Trashcan_Helper()':
In file included from ../../src/gtk--.h:201,
                 from gtk--.cc:31:
./../object.gen_h:12: `class Gtk_ObjectHandle<OBJECT>::Gtk_Trashcan_Helper' 
has no member named `owned_'
./../object.gen_h:12: `class Gtk_ObjectHandle<OBJECT>::Gtk_Trashcan_Helper' 
has no member named `object_'
./../object.gen_h:12: type `{error}' argument given to `delete', expected 
pointer
./../object.gen_h: At top level:
./../object.gen_h:13: parse error at end of saved function text
./../object.gen_h:13: confused by earlier errors, bailing out
make[4]: *** [gtk--.lo] Error 1
make[4]: Leaving directory `/old/work/GTK/gtk--/src/gtk--'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/old/work/GTK/gtk--/src'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/old/work/GTK/gtk--/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/old/work/GTK/gtk--'
make: *** [all-recursive-am] Error 2


I don't have the time to move to egcs or gcc2.8 at the time so 
anyone got any ideas?

 /mill




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