[9079] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Compiling gtk-- (0.9.16)
daemon@ATHENA.MIT.EDU (Tero Pulkkinen)
Tue Oct 6 16:34:43 1998
To: gtk-list@redhat.com
From: Tero Pulkkinen <terop@students.cc.tut.fi>
Date: 06 Oct 1998 23:33:52 +0300
In-Reply-To: Gert Scholten's message of "Tue, 6 Oct 1998 22:26:20 +0200 (CEST)"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Gert Scholten <gs2@dds.nl> writes:
> I downloaded the Gtk---0.9.16.tar.gz, but it doesn;t compile...
> make give the following errors:
> -I/usr/local/include -g -O2 -c -fPIC -DPIC gtk--.cc
> ./../container.gen_h: In method `struct _GtkWidget
> G_List_Iterator<_GtkWidget>::operator (unary *)() const':
> 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:85: conversion from `void *' to non-scalar type
> `_GtkWidget' requested
> ./../container.gen_h:232: parse error before `<'
> ./../container.gen_h:238: parse error before `<'
These errors were a bug in gtk--0.9.16. Get a patch from gtk-- web page
releasenotes, at www.iki.fi/terop/gtk/gtk--.html. (alternative is to
upgrade the C++ compiler, but the patch should be ok too -- 0.9.16 had
things which does not work on old compilers)
(you need to apply it with
cd gtk---0.9.16/src
patch -p0 <foo.patch
)
> Since I'm relative new to C/++, I havn't got a clue.
> Oh jeah, ./cofigure said this (error):
> ---
> 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.
This means you have old compiler that does not support member templates...
shouldnt matter anything, just some features are disabled...
> ---
> Help much appriciated,
>
> Gert
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
--
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null