2015-10-21 9:07 GMT+02:00 IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 2015-10-21 09:00, Jaromír Mikeš wrote: >> Hi all, >> >> I tried build sooperlooper with CFLAGS += -std=c++11 in >> debian/rules file > > "-std=c++11" enables C++11 support, which - as the name suggests - is > a C++ "mode". > the flag should be added to the CXXFLAGS (for the c++ compiler), *not* > to the CFLAGS (for the C-compiler). > > >> but it failed with number of errors :( What's now? Only what is >> possible to do is inform upstream and hope in soon fix with next >> release? > > it might help if you could give some hints about *which errors* you get. > if they are related to C++11, then try the suggestion above (using > CXXFLAGS instead of CFLAGS).
Ok tried CXXFLAGS instead output is same [snip] /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h: In member function 'typename sigc::track_obj_functor1<T_functor, T_obj1>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7>::type sigc::track_obj_functor1<T_functor, T_obj1>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7)': /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:280:7: error: 'type_trait_pass_t' was not declared in this scope type_trait_pass_t<T_arg1>, ^ In file included from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7:0, from /usr/include/sigc++-2.0/sigc++/signal_base.h:27, from /usr/include/sigc++-2.0/sigc++/signal.h:8, from /usr/include/sigc++-2.0/sigc++/sigc++.h:86, from ./pbd/transmitter.h:27, from ./pbd/error.h:23, from pathscanner.cc:27: /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:17:57: error: parse error in template argument list #define SIGC_WORKAROUND_OPERATOR_PARENTHESES template operator() ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:279:27: note: in expansion of macro 'SIGC_WORKAROUND_OPERATOR_PARENTHESES' return this->functor_.SIGC_WORKAROUND_OPERATOR_PARENTHESES< ^ /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:17:57: error: expected 'operator' #define SIGC_WORKAROUND_OPERATOR_PARENTHESES template operator() ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:279:27: note: in expansion of macro 'SIGC_WORKAROUND_OPERATOR_PARENTHESES' return this->functor_.SIGC_WORKAROUND_OPERATOR_PARENTHESES< ^ /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:17:57: error: expected ';' #define SIGC_WORKAROUND_OPERATOR_PARENTHESES template operator() ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:279:27: note: in expansion of macro 'SIGC_WORKAROUND_OPERATOR_PARENTHESES' return this->functor_.SIGC_WORKAROUND_OPERATOR_PARENTHESES< ^ In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h:30:0, from /usr/include/sigc++-2.0/sigc++/sigc++.h:89, from ./pbd/transmitter.h:27, from ./pbd/error.h:23, from pathscanner.cc:27: /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:281:31: error: expected primary-expression before '>' token type_trait_pass_t<T_arg2>, ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:281:32: error: expected primary-expression before ',' token type_trait_pass_t<T_arg2>, ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:282:31: error: expected primary-expression before '>' token type_trait_pass_t<T_arg3>, ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:282:32: error: expected primary-expression before ',' token type_trait_pass_t<T_arg3>, ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:283:31: error: expected primary-expression before '>' token type_trait_pass_t<T_arg4>, ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:283:32: error: expected primary-expression before ',' token type_trait_pass_t<T_arg4>, ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:284:31: error: expected primary-expression before '>' token type_trait_pass_t<T_arg5>, ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:284:32: error: expected primary-expression before ',' token type_trait_pass_t<T_arg5>, ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:285:31: error: expected primary-expression before '>' token type_trait_pass_t<T_arg6>, ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:285:32: error: expected primary-expression before ',' token type_trait_pass_t<T_arg6>, ^ /usr/include/sigc++-2.0/sigc++/adaptors/track_obj.h:286:31: error: expected primary-expression before '>>' token type_trait_pass_t<T_arg7>> ^ [snip] ------------------ best mira _______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers