[sigc] Compile problem



Hello all,

I'm running into a bit of a problem getting the 2.0.16 version of
libsigc++ to compile (as well as the 2.0.0).

I keep getting the following errors, any ideas?

My system:

gcc version 3.3.6 (Debian 1:3.3.6-9)

The error:

~/src/libsigc++-2.0.16$ make
make  all-recursive
make[1]: Entering directory `/home/bradleyk/src/libsigc++-2.0.16'
Making all in sigc++
make[2]: Entering directory `/home/bradleyk/src/libsigc++-2.0.16/sigc++'
make  all-am
make[3]: Entering directory `/home/bradleyk/src/libsigc++-2.0.16/sigc++'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I.. -I.. -g -O2 -MT signal_base.lo -MD -MP -MF ".deps/signal_base.Tpo"
-c -o signal_base.lo signal_base.cc; \
then mv -f ".deps/signal_base.Tpo" ".deps/signal_base.Plo"; else rm -f
".deps/signal_base.Tpo"; exit 1; fi
 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/i486-linux-gnu/bits/gthr-default.h:37,
                 from /usr/include/c++/3.3/i486-linux-gnu/bits/gthr.h:98,
                 from /usr/include/c++/3.3/i486-linux-gnu/bits/c++io.h:37,
                 from /usr/include/c++/3.3/bits/fpos.h:44,
                 from /usr/include/c++/3.3/iosfwd:49,
                 from /usr/include/c++/3.3/bits/stl_algobase.h:70,
                 from /usr/include/c++/3.3/list:67,
                 from ../sigc++/signal_base.h:24,
                 from signal_base.cc:20:
../sigc++/trackable.h:76: error: template-id `
   list<sigc::internal::trackable_callback>' used as a declarator
../sigc++/trackable.h:76: error: syntax error before `;' token
../sigc++/trackable.h:77: error: 'callback_list' is used as a type, but
is not
   defined as a type.



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