HomeFreeBSD

graphics/scantailor: unbreak build with Clang 6 (C++14 by default)

Description

graphics/scantailor: unbreak build with Clang 6 (C++14 by default)

filters/page_split/PageLayoutEstimator.cpp:524:25: error: no matching function for call to 'bind'

span_finder.find(hist, bind(&std::deque<Span>::push_back, var(spans), _1));
                       ^~~~

/usr/include/c++/v1/functional:2327:1: note: candidate template ignored: couldn't infer template argument '_Fp'
bind(_Fp&& f, _BoundArgs&&... bound_args)
^
/usr/include/c++/v1/functional:2336:1: note: candidate template ignored: couldn't infer template argument '_Rp'
bind(_Fp&& f, _BoundArgs&&... bound_args)
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:333:1: note: candidate template ignored: couldn't infer template argument 'Result'
bind(Result(&a1)(Par1, Par2), const Arg2& a2, const Arg3& a3) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:361:1: note: candidate template ignored: couldn't infer template argument 'Arg1'
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:387:1: note: candidate template ignored: couldn't infer template argument 'Result'
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:49:1: note: candidate function template not viable: requires single argument 'a1', but 3 arguments were provided
bind(Result(& a1)()) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:71:1: note: candidate function template not viable: requires single argument 'a1', but 3 arguments were provided
bind(const Arg1& a1) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:91:1: note: candidate function template not viable: requires single argument 'a1', but 3 arguments were provided
bind(const Arg1& a1) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:190:1: note: candidate function template not viable: requires 2 arguments, but 3 were provided
bind(Result(&a1)(Par1), const Arg2& a2) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:212:1: note: candidate function template not viable: requires 2 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:232:1: note: candidate function template not viable: requires 2 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:503:1: note: candidate function template not viable: requires 4 arguments, but 3 were provided
bind(Result(&a1)(Par1, Par2, Par3), const Arg2& a2, const Arg3& a3,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:532:1: note: candidate function template not viable: requires 4 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:558:1: note: candidate function template not viable: requires 4 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4) {
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:679:1: note: candidate function template not viable: requires 5 arguments, but 3 were provided
bind(Result(&a1)(Par1, Par2, Par3, Par4), const Arg2& a2, const Arg3& a3,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:710:1: note: candidate function template not viable: requires 5 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:738:1: note: candidate function template not viable: requires 5 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:867:1: note: candidate function template not viable: requires 6 arguments, but 3 were provided
bind(Result(&a1)(Par1, Par2, Par3, Par4, Par5), const Arg2& a2,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:899:1: note: candidate function template not viable: requires 6 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:927:1: note: candidate function template not viable: requires 6 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1058:1: note: candidate function template not viable: requires 7 arguments, but 3 were provided
bind(Result(&a1)(Par1, Par2, Par3, Par4, Par5, Par6), const Arg2& a2,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1092:1: note: candidate function template not viable: requires 7 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1123:1: note: candidate function template not viable: requires 7 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1257:1: note: candidate function template not viable: requires 8 arguments, but 3 were provided
bind(Result(&a1)(Par1, Par2, Par3, Par4, Par5, Par6, Par7), const Arg2& a2,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1291:1: note: candidate function template not viable: requires 8 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1322:1: note: candidate function template not viable: requires 8 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1458:1: note: candidate function template not viable: requires 9 arguments, but 3 were provided
bind(Result(&a1)(Par1, Par2, Par3, Par4, Par5, Par6, Par7, Par8),
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1494:1: note: candidate function template not viable: requires 9 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1526:1: note: candidate function template not viable: requires 9 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1673:1: note: candidate function template not viable: requires 10 arguments, but 3 were provided
bind(Result(&a1)(Par1, Par2, Par3, Par4, Par5, Par6, Par7, Par8, Par9),
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1710:1: note: candidate function template not viable: requires 10 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^
/usr/local/include/boost/lambda/detail/bind_functions.hpp:1743:1: note: candidate function template not viable: requires 10 arguments, but 3 were provided
bind(const Arg1& a1, const Arg2& a2, const Arg3& a3, const Arg4& a4,
^

Reported by: pkg-fallout

Details

Provenance
jbeichAuthored on
Parents
rP478693: MFH: r478691
Branches
Unknown
Tags
Unknown