GNOME Bugzilla – Bug 152425
libsigc++ doesn't build with gcc-3.4.2
Last modified: 2004-12-22 21:47:04 UTC
Actually this is just the first page of the builderror. building with gcc-3.3.4 goes fine. if g++ -I. -I. -I.. -I.. -I.. -g -O2 -march=athlon-xp -pipe -fomit-frame-pointer -MT test_lambda.o -MD -MP -MF ".deps/test_lambda.Tpo" -c -o test_lambda.o test_lambda.cc; \ then mv -f ".deps/test_lambda.Tpo" ".deps/test_lambda.Po"; else rm -f ".deps/test_lambda.Tpo"; exit 1; fi In file included from ../sigc++/adaptors/lambda/lambda.h:26, from test_lambda.cc:9: ../sigc++/adaptors/lambda/group.h:79: error: non-template `deduce_result_type' used as template ../sigc++/adaptors/lambda/group.h:79: note: use `typename sigc::adaptor_trait<T_functor, sigc::is_base_and_derived<sigc::adaptor_base,T_functor>::value>::adaptor_type::template deduce_result_type' to indicate that it is a template ../sigc++/adaptors/lambda/group.h:82: error: declaration does not declare anything ../sigc++/adaptors/lambda/group.h:245: error: non-template `deduce_result_type' used as template ../sigc++/adaptors/lambda/group.h:245: note: use `typename sigc::adaptor_trait<T_functor, sigc::is_base_and_derived<sigc::adaptor_base,T_functor>::value>::adaptor_type::template deduce_result_type' to indicate that it is a template ../sigc++/adaptors/lambda/group.h:250: error: declaration does not declare anything ../sigc++/adaptors/lambda/group.h:458: error: non-template `deduce_result_type' used as template ../sigc++/adaptors/lambda/group.h:458: note: use `typename sigc::adaptor_trait<T_functor, sigc::is_base_and_derived<sigc::adaptor_base,T_functor>::value>::adaptor_type::template deduce_result_type' to indicate that it is a template ../sigc++/adaptors/lambda/group.h:465: error: declaration does not declare anything ../sigc++/adaptors/lambda/base.h: In instantiation of `sigc::internal::lambda_core<sigc::lambda_group2<int (*)(int, int), sigc::lambda<sigc::internal::lambda_select1>, sigc::lambda<sigc::internal::lambda_select2> >, true>::deduce_result_type<int, int, void, void, void, void, void>':
Closing as a duplicate of #152327. #152327 shows the configure output too, which might be useful (though I wish it had been attached rather than pasted). *** This bug has been marked as a duplicate of 152327 ***