Re: Problems with gtk+1.1.5 and gtk--



Tom Bech <tomb@ii.uib.no> writes:
> Having used an old gtk-- version for ages, I ran into the
> delete_event-not-returning-value problem so I decided to 
> get a newer release. I just grabbed gtk+/glib-1.1.5 and the
> latest CVS snap of GTK--, but GTK-- does not want to
> compile :( After installing gtk+glib, I did the usual
> (autogen.sh --enable-static=no + make) and get:
> ./../base.gen_h:296: invalid member template declaration
> ./../base.gen_h:298: parse error before `<'
> ./../base.gen_h:299: missing ';' before right brace
> ./../base.gen_h:300: semicolon missing after declaration of
> `Gtk_ObjectHandle<OB
> JECT>'

> gcc -v gives:
> 
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.8.1/specs
> gcc version 2.8.1
> 
> It seems there is some template problem. Does this mean that
> gcc 2.8.1 is broken? :(

looks like its different in egcs-2.91.55.

I'll move the Gtk_ObjectHandle_ref to outside the ObjectHandle  class and
we'll see if it works better.

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



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