[sigc] Need help with compile error



Below is the error that I received:


make  all-recursive
make[1]: Entering directory `/home/learfox/projects/pubsrc/libsigc++-2.0.17'
Making all in sigc++
make[2]: Entering directory `/home/learfox/projects/pubsrc/libsigc++-2.0.17/sigc++'
make  all-am
make[3]: Entering directory `/home/learfox/projects/pubsrc/libsigc++-2.0.17/sigc++'
source='signal.cc' object='signal.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -c -o signal.lo signal.cc g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -c signal.cc -Wp,-MD,.deps/signal.TPlo -fPIC -DPIC -o .libs/signal.o ../sigc++/adaptors/deduce_result_type.h:53: previous declaration `template <class T_functor, class T_arg1 = void, class T_arg2 = void, class T_arg3 = void, class T_arg4 = void, class T_arg5 = void, class T_arg6 = void, class T_arg7 = void, bool const I_derives_adaptor_base = ::sigc::::sigc::is_base_and_derived<::sigc::adaptor_base,T_functor>::value> ::sigc::deduce_result_type<T_functor,T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7,I_derives_adaptor_base>'
In file included from ../sigc++/functors/slot.h:7,
                 from ../sigc++/signal_base.h:28,
                 from ../sigc++/signal.h:8,
                 from signal.cc:20:
../sigc++/adaptors/adaptor_trait.h:63: used 9 template parameters instead of 7 ../sigc++/adaptors/adaptor_trait.h:63: redefinition of `struct ::sigc::deduce_result_type<T_functor,T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7,I_derives_adaptor_base>'
../sigc++/adaptors/deduce_result_type.h:53: previous definition here
../sigc++/adaptors/adaptor_trait.h:63: confused by earlier errors, bailing out
make[3]: *** [signal.lo] Error 1
make[3]: Leaving directory `/home/learfox/projects/pubsrc/libsigc++-2.0.17/sigc++'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/learfox/projects/pubsrc/libsigc++-2.0.17/sigc++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/learfox/projects/pubsrc/libsigc++-2.0.17'
make: *** [all] Error 2



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