Problems with gtk+1.1.5 and gtk--
- From: Tom Bech <tomb ii uib no>
- To: Tero Pulkkinen <terop students cc tut fi>
- CC: gtk-list redhat com
- Subject: Problems with gtk+1.1.5 and gtk--
- Date: Tue, 24 Nov 1998 14:14:42 +0000
Hello,
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:
g++ -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/inc
lude -g -O2 -Wall -Wno-unused -ansi -pedantic -Wp,-MD,.deps/gtk--.p -c
-fPIC -DP
IC gtk--.cc
/usr/include/g++/std/bastring.h: In method `void
basic_string<char,string_char_t
raits<char>,__default_alloc_template<true,0> >::Rep::release()':
In file included from ../../src/gtk--.h:201,
from gtk--.cc:32:
/usr/include/g++/std/bastring.h:76: warning: inline function `static
void basic_
string<char,string_char_traits<char>,__default_alloc_template<true,0>
>::Rep::op
erator delete(void *)' called before definition
/usr/include/g++/std/bastring.h:76: warning: inline function `static
void basic_
string<char,string_char_traits<char>,__default_alloc_template<true,0>
>::Rep::op
erator delete(void *)' called before definition
./../base.gen_h: At top level:
./../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>'
./../base.gen_h:300: parse error at null character
./../base.gen_h:300: parse error at null character
./../base.gen_h:307: `operator Gtk_ObjectHandle<OBJECT>()' must be a
nonstatic m
ember function
./../base.gen_h:307: `operator Gtk_ObjectHandle<OBJECT>()' must take
exactly one
argument
./../base.gen_h:307: semicolon missing after declaration of `class
Gtk_ObjectHan
dle<OBJECT>'
./../base.gen_h: In function `operator int()':
./../base.gen_h:307: invalid use of `this' in non-member function
./../base.gen_h: At top level:
./../base.gen_h:309: destructors must be member functions
./../base.gen_h: In function `void Gtk_ObjectHandle()':
./../base.gen_h:258: previous non-function declaration `template <class
OBJECT>
class Gtk_ObjectHandle<OBJECT>'
./../base.gen_h:309: conflicts with function declaration `void
Gtk_ObjectHandle(
)'
./../base.gen_h:309: `owned_' undeclared (first use this function)
./../base.gen_h:309: (Each undeclared identifier is reported only once
./../base.gen_h:309: for each function it appears in.)
./../base.gen_h:309: `object_' undeclared (first use this function)
./../base.gen_h: At top level:
./../base.gen_h:310: parse error before `}'
make[4]: *** [gtk--.lo] Error 1
make[4]: Leaving directory `/usr/local/lib/gtk--/src/gtk--'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/lib/gtk--/src'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/usr/local/lib/gtk--/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/lib/gtk--'
make: *** [all-recursive-am] Error 2
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? :(
Tom
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]