Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2018 13:28:52 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478694 - head/graphics/scantailor
Message-ID:  <201809011328.w81DSqot048184@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Sep  1 13:28:52 2018
New Revision: 478694
URL: https://svnweb.freebsd.org/changeset/ports/478694

Log:
  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

Modified:
  head/graphics/scantailor/Makefile   (contents, props changed)

Modified: head/graphics/scantailor/Makefile
==============================================================================
--- head/graphics/scantailor/Makefile	Sat Sep  1 13:27:48 2018	(r478693)
+++ head/graphics/scantailor/Makefile	Sat Sep  1 13:28:52 2018	(r478694)
@@ -21,6 +21,7 @@ LIB_DEPENDS=	libtiff.so:graphics/tiff \
 
 #MAKE_JOBS_UNSAFE=	yes
 USES=		cmake gettext jpeg qt:4
+USE_CXXSTD=	gnu++98
 USE_QT=		corelib gui xml qmake_build uic_build moc_build rcc_build \
 		linguist_build
 USE_XORG+=	xrender



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809011328.w81DSqot048184>