Re: [gtkmm] Problems compiling libsigc++-2.0.3 on Slackware
- From: Martin Schulze <martin-ml hippogriff de>
- To: rose rz uni-potsdam de
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Problems compiling libsigc++-2.0.3 on Slackware
- Date: Mon, 2 Aug 2004 18:23:59 +0200
Am 01.08.2004 23:00:28 schrieb(en) Juergen Rose:
Hi all,
I cannot build libsigc++-2.0.3 on Slackware-9.1 updated to gcc-3.3.2
The offending line is:
typedef std::list<trackable_callback> callback_list;
Neither 'trackable_callback' nor the struct where this line occurs is a
template. I can see no reason why this shouldn't compile. Maybe there
is a bug in the specific stl version that comes with your Slackware
packet. Sorry, I can't be more helpful here.
Regards,
Martin
mousehomenet:/usr/src/Desktops/Gnome/libsigc++-2.0.3(56)#uname -r
2.6.8-rc2
mousehomenet:/usr/src/Desktops/Gnome/libsigc++-2.0.3(61)#g++ --
version
g++ (GCC) 3.3.2
mousehomenet:/usr/src/Desktops/Gnome/libsigc++-2.0.3(62)#make
...
g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT signal_base.lo -MD -MP -
MF .deps/signal_base.Tpo -c signal_base.cc -fPIC -DPIC -
o .libs/signal_base.o
In file included from signal.h:10,
from /usr/include/pthread.h:24,
from /usr/include/c++/3.3.2/i686-pc-linux-
gnu/bits/gthr-default.h:37,
from /usr/include/c++/3.3.2/i686-pc-linux-
gnu/bits/gthr.h:98,
from /usr/include/c++/3.3.2/i686-pc-linux-gnu/bits/c
+
+io.h:37,
from /usr/include/c++/3.3.2/bits/fpos.h:44,
from /usr/include/c++/3.3.2/iosfwd:49,
from /usr/include/c++/3.3.2/bits/stl_algobase.h:70,
from /usr/include/c++/3.3.2/list:67,
from ../sigc++/signal_base.h:24,
from signal_base.cc:20:
../sigc++/trackable.h:61: error: template-id `
list<sigc::internal::trackable_callback>' used as a declarator
../sigc++/trackable.h:61: error: parse error before `;' token
../sigc++/trackable.h:62: error: 'callback_list' is used as a type,
but
is not
defined as a type.
The same error was reported one month ago for Fedora Core 2, but I
could
not find a solution. If you have any hint, please send it alsa to my
email address.
Regards Juergen
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]