=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for QuantLib-1.12.1nb15 [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflow.cpp.o [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/capflooredcoupon.cpp.o [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/averagebmacoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/capflooredinflationcoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredcoupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredcoupon.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredcoupon.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/cashflows.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/averagebmacoupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/averagebmacoupon.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/averagebmacoupon.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/cashflowvectors.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/yoyinflationcoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredinflationcoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredinflationcoupon.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/cmscoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/fixedratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflowvectors.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflowvectors.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflowvectors.cpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/conundrumpricer.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cmscoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cmscoupon.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/coupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.hpp:46:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.cpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.cpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.cpp:1169:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/couponpricer.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 1%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/cpicoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/voltermstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:30: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.cpp:32: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/cpicouponpricer.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.hpp:26, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/voltermstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:30: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.hpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.hpp:152:51: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.hpp:264:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/conundrumpricer.cpp:43: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/digitalcmscoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cpicoupon.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/digitalcoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cpicouponpricer.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cpicouponpricer.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/digitaliborcoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcmscoupon.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcmscoupon.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/dividend.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredcoupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/duration.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/fixedratecoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitaliborcoupon.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitaliborcoupon.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/floatingratecoupon.cpp.o [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/iborcoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/fixedratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/fixedratecoupon.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 2%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/indexedcashflow.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/inflationcoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/indexedcashflow.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/indexedcashflow.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/inflationcouponpricer.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/lineartsrpricer.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/yoyinflationcoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcoupon.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/overnightindexedcoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcouponpricer.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcouponpricer.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcouponpricer.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/rangeaccrual.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/smilesection.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.hpp:26: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.cpp: In member function 'QuantLib::Real QuantLib::LinearTsrPricer::optionletPrice(QuantLib::Option::Type, QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.cpp:331:46: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = double; _Tp = QuantLib::LinearTsrPricer; _Arg = double]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1401:5: note: declared here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.cpp:331:33: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = const QuantLib::LinearTsrPricer*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.cpp:338:46: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = double; _Tp = QuantLib::LinearTsrPricer; _Arg = double]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1401:5: note: declared here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/lineartsrpricer.cpp:338:33: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = const QuantLib::LinearTsrPricer*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/replication.cpp.o [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/simplecashflow.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/overnightindexedcoupon.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/overnightindexedcoupon.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/overnightindexedcoupon.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/timebasket.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/simplecashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/simplecashflow.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/cashflows/yoyinflationcoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/smilesection.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.hpp:29: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/rangeaccrual.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/currencies/america.cpp.o [ 3%] Building CXX object ql/CMakeFiles/QuantLib.dir/currencies/africa.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/currencies/asia.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/currencies/crypto.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/currencies/europe.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/currencies/exchangeratemanager.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/inflationcouponpricer.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/yoyinflationcoupon.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/currencies/oceania.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/currency.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/discretizedasset.cpp.o /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/currencies/exchangeratemanager.cpp:31:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/currency.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/money.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/exchangerate.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/currencies/exchangeratemanager.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/currencies/exchangeratemanager.cpp:21: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/errors.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/event.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector QuantLib::DiscretizedOption::mandatoryTimes() const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:234:38: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/exchangerate.cpp.o [ 4%] Building CXX object ql/CMakeFiles/QuantLib.dir/exercise.cpp.o [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/amortizingbonds/amortizingcmsratebond.cpp.o [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/amortizingbonds/amortizingfixedratebond.cpp.o [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/amortizingbonds/amortizingfloatingratebond.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingcmsratebond.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingcmsratebond.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/averageois/arithmeticaverageois.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingfloatingratebond.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingfloatingratebond.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/averageois/arithmeticoisratehelper.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingfixedratebond.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/amortizingbonds/amortizingfixedratebond.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/averageois/averageoiscouponpricer.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/swap.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticaverageois.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticaverageois.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/swap.hpp:29: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/averageoiscouponpricer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticaverageois.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/averageois/makearithmeticaverageois.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/swap.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/vanillaswap.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yield/ratehelpers.hpp:33, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticoisratehelper.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticoisratehelper.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/handle.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/quote.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/bootstraphelper.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yield/ratehelpers.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/analyticdoublebarrierbinaryengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/overnightindexedcoupon.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/averageoiscouponpricer.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/averageoiscouponpricer.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/averageoiscouponpricer.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/analyticdoublebarrierengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/swap.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/arithmeticaverageois.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/makearithmeticaverageois.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/averageois/makearithmeticaverageois.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/swap.hpp:29: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/discretizeddoublebarrieroption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierbinaryengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierbinaryengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierbinaryengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 5%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/doublebarrieroption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.hpp:31: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/doublebarriertype.cpp.o [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/perturbativebarrieroptionengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/discretizeddoublebarrieroption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/discretizeddoublebarrieroption.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector QuantLib::DiscretizedOption::mandatoryTimes() const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:234:38: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/binomialtree.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/bsmlattice.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/discretizeddoublebarrieroption.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/binomialtree.hpp:32: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/discretizeddoublebarrieroption.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/quantodoublebarrieroption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/analyticdoublebarrierengine.hpp:31: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/vannavolgabarrierengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/quantovanillaoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/quantodoublebarrieroption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/quantodoublebarrieroption.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/quantovanillaoption.hpp:28: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/barrieroption/wulinyongdoublebarrierengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/barrieroption.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/perturbativebarrieroptionengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/perturbativebarrieroptionengine.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/barrieroption.hpp:29: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/perturbativebarrieroptionengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/blackcallablebondengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgabarrierengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgabarrierengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:29: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/barrieroption.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendbarrieroption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgabarrierengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendbarrieroption.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgainterpolation.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/vannavolgabarrierengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/wulinyongdoublebarrierengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/wulinyongdoublebarrierengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/doublebarrieroption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/wulinyongdoublebarrierengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/barrieroption/wulinyongdoublebarrierengine.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/callablebond.cpp.o [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/callablebondconstantvol.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/blackcallablebondengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/blackcallablebondengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:163:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/blackcallablebondengine.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.hpp:46:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/blackcallablebondengine.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/blackcallablebondengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp: In member function 'virtual boost::shared_ptr QuantLib::CallableBondVolatilityStructure::smileSection(const QuantLib::Date&, const QuantLib::Period&) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp:90:79: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/callablebondvolstructure.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/linearinterpolation.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondconstantvol.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondconstantvol.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp: In member function 'virtual boost::shared_ptr QuantLib::CallableBondVolatilityStructure::smileSection(const QuantLib::Date&, const QuantLib::Period&) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp:90:79: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 [ 6%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/discretizedcallablefixedratebond.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/linearinterpolation.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.cpp: In member function 'virtual std::pair QuantLib::CallableBondVolatilityStructure::convertDates(const QuantLib::Date&, const QuantLib::Period&) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebondvolstructure.cpp:51:72: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/callablebonds/treecallablebondengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:163:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/numericaldifferentiation.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/numericaldifferentiation.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/numericaldifferentiation.hpp:42:50: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/catbonds/catbond.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/discretizedcallablefixedratebond.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/discretizedcallablefixedratebond.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:163:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/discretizedcallablefixedratebond.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector QuantLib::DiscretizedOption::mandatoryTimes() const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:234:38: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/catbonds/catrisk.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/model.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/shortrate/onefactormodel.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/treecallablebondengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/model.hpp:29: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector QuantLib::DiscretizedOption::mandatoryTimes() const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:234:38: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/treecallablebondengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/treecallablebondengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/callablebond.hpp:163:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In instantiation of 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size) [with Iterator = __gnu_cxx::__normal_iterator >; QuantLib::Size = long unsigned int]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/callablebonds/treecallablebondengine.cpp:75:69: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/catbonds/montecarlocatbondengine.cpp.o [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/catbonds/riskynotional.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/catbond.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/catbond.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/catbond.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commodity.cpp.o [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commoditycashflow.cpp.o [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commoditycurve.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/catbond.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/montecarlocatbondengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/montecarlocatbondengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/catbonds/montecarlocatbondengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cashflows.hpp:46:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commodityindex.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycashflow.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycashflow.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commoditypricinghelpers.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/forwardflatinterpolation.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 7%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commoditysettings.cpp.o [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commoditytype.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/forwardflatinterpolation.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodityindex.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodityindex.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/commodityunitcost.cpp.o [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/dateinterval.cpp.o [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/energybasisswap.cpp.o [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/energycommodity.cpp.o [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/energyfuture.cpp.o [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/energyswap.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycashflow.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energybasisswap.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energybasisswap.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodity.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energycommodity.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/energyvanillaswap.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/forwardflatinterpolation.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycurve.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodityindex.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyfuture.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyfuture.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodity.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energycommodity.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyfuture.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/paymentterm.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycashflow.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodity.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energycommodity.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/quantity.cpp.o [ 8%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/unitofmeasure.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/quantity.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditytype.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/quantity.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/quantity.cpp:20: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/unitofmeasureconversion.cpp.o [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/commodities/unitofmeasureconversionmanager.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commoditycashflow.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyvanillaswap.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyvanillaswap.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/commodity.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energycommodity.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/commodities/energyswap.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/convertiblebonds/convertiblebond.cpp.o [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/convertiblebonds/discretizedconvertible.cpp.o [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/cmsspreadcoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/discretizedconvertible.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/discretizedconvertible.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector QuantLib::DiscretizedOption::mandatoryTimes() const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:234:38: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/convertiblebond.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/discretizedconvertible.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/discretizedconvertible.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/digitalcmsspreadcoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/convertiblebond.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/convertiblebond.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/convertiblebond.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/convertiblebonds/convertiblebond.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/lognormalcmsspreadpricer.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/cmsspreadcoupon.hpp:25, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/cmsspreadcoupon.cpp:19: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/cmsspreadcoupon.hpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/proxyibor.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/digitalcmsspreadcoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/digitalcmsspreadcoupon.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/digitalcoupon.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/quantocouponpricer.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/cmscoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/cmsspreadcoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.hpp:32: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.cpp: In member function 'QuantLib::Real QuantLib::LognormalCmsSpreadPricer::optionletPrice(QuantLib::Option::Type, QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.cpp:282:33: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = double; _Tp = QuantLib::LognormalCmsSpreadPricer; _Arg = double]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1401:5: note: declared here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.cpp:281:53: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = const QuantLib::LognormalCmsSpreadPricer*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.cpp:292:33: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = double; _Tp = QuantLib::LognormalCmsSpreadPricer; _Arg = double]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1401:5: note: declared here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.cpp:291:53: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = const QuantLib::LognormalCmsSpreadPricer*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ In file included from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/specfun.h:45, from /usr/include/g++/cmath:1935, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/frequency.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/period.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:32: /usr/include/g++/bits/stl_pair.h: In instantiation of 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = double&; _T2 = double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/lognormalcmsspreadpricer.cpp:198:40: required from here /usr/include/g++/bits/stl_pair.h:743:5: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/strippedcapflooredcoupon.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/index.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/indexes/interestrateindex.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/indexes/iborindex.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/proxyibor.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/proxyibor.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/index.hpp:30: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 9%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/subperiodcoupons.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/quantocouponpricer.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/quantocouponpricer.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/voltermstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:30: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/quantocouponpricer.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/coupons/swapspreadindex.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/coupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/floatingratecoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/iborcoupon.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/capflooredcoupon.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/strippedcapflooredcoupon.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/strippedcapflooredcoupon.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/strippedcapflooredcoupon.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/basecorrelationstructure.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/subperiodcoupons.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/subperiodcoupons.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/voltermstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:30: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:33: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/basket.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/index.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/indexes/interestrateindex.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/indexes/swapindex.hpp:26, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/swapspreadindex.hpp:25, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/coupons/swapspreadindex.cpp:18: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/index.hpp:30: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/blackcdsoptionengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/bilinearinterpolation.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basecorrelationstructure.hpp:25, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basecorrelationstructure.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/handle.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/quote.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basecorrelationstructure.hpp:23: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/cdo.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/claim.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:32: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/cdsoption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/creditdefaultswap.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/blackcdsoptionengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/blackcdsoptionengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackformula.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/blackcdsoptionengine.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/correlationstructure.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/beta.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/lossdistribution.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdo.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdo.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:34:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdo.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:63:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:51:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:68:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/defaultevent.cpp.o [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/defaultprobabilitykey.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/creditdefaultswap.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/cdsoption.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 10%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/defaulttype.cpp.o [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/distribution.cpp.o [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/gaussianlhplossmodel.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/integralcdoengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/refwrap.h:39, from /usr/include/g++/vector:66, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.cpp:24: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.cpp: In member function 'void QuantLib::Distribution::tranche(QuantLib::Real, QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.cpp:265:29: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/integralntdengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/claim.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/integralcdoengine.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/integralcdoengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:31: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/issuer.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/integralntdengine.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/integralntdengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/integralntdengine.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/lossdistribution.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/midpointcdoengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/beta.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/lossdistribution.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/lossdistribution.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:34:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:63:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:51:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:68:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/nthtodefault.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/functional:49, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:28: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/claim.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultlossmodel.hpp:24, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.hpp:31: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultlossmodel.hpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/integrals/gaussianquadratures.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/latentmodel.hpp:24, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.hpp:33: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:34: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp: In member function 'QuantLib::detail::DispArray QuantLib::GaussianQuadMultidimIntegrator::VectorIntegrator::operator()(const F&) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:69:33: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/tcopulapolicy.hpp:25, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/latentmodel.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp:62:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp:165:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp: In instantiation of 'QuantLib::detail::DispArray QuantLib::GaussianQuadMultidimIntegrator::VectorIntegrator::operator()(const F&) const [with F = boost::_bi::bind_t >(const boost::function >(const std::vector&)>&, double)> >, boost::_bi::list > >(const std::vector >&)> >, boost::arg<1> > >; QuantLib::detail::DispArray = QuantLib::Disposable >]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:242:26: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:69:33: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:69:33: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:69:33: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/distributions/students_t.hpp:20, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/tcopulapolicy.hpp:26: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp: In instantiation of 'boost::math::detail::ibeta_fraction2_t::result_type boost::math::detail::ibeta_fraction2_t::operator()() [with T = long double; result_type = std::pair]': /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/tools/fraction.hpp:134:20: required from 'typename boost::math::tools::detail::fraction_traits::result_type boost::math::tools::detail::continued_fraction_b_impl(Gen&, const U&, uintmax_t&) [with Gen = boost::math::detail::ibeta_fraction2_t; U = long double; typename fraction_traits::result_type = long double; uintmax_t = long unsigned int]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/tools/fraction.hpp:184:44: required from 'typename boost::math::tools::detail::fraction_traits::result_type boost::math::tools::continued_fraction_b(Gen&, const U&) [with Gen = boost::math::detail::ibeta_fraction2_t; U = long double; typename detail::fraction_traits::result_type = long double]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp:847:54: required from 'T boost::math::detail::ibeta_fraction2(T, T, T, T, const Policy&, bool, T*) [with T = long double; Policy = boost::math::policies::policy, boost::math::policies::promote_double, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp:1499:36: required from 'T boost::math::detail::ibeta_imp(T, T, T, const Policy&, bool, bool, T*) [with T = long double; Policy = boost::math::policies::policy, boost::math::policies::promote_double, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp:1536:20: required from 'T boost::math::detail::ibeta_imp(T, T, T, const Policy&, bool, bool) [with T = long double; Policy = boost::math::policies::policy, boost::math::policies::promote_double, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp:1713:93: required from 'boost::math::tools::promote_args_t boost::math::ibetac(RT1, RT2, RT3, const Policy&) [with RT1 = double; RT2 = double; RT3 = double; Policy = policies::policy; tools::promote_args_t = double]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/distributions/students_t.hpp:203:29: required from 'RealType boost::math::cdf(const students_t_distribution&, const RealType&) [with RealType = double; Policy = policies::policy]' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/tcopulapolicy.hpp:97:36: required from here /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp:810:16: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/onefactorcopula.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/claim.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/midpointcdoengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/midpointcdoengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:31: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/onefactorgaussiancopula.cpp.o [ 11%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/onefactorstudentcopula.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/beta.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/lossdistribution.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:34:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/gammadistribution.hpp:63:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:51:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/binomialdistribution.hpp:68:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/nthtodefault.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/pool.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorgaussiancopula.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorgaussiancopula.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/refwrap.h:39, from /usr/include/g++/vector:66, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorcopula.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorgaussiancopula.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/randomdefaultmodel.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorstudentcopula.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorstudentcopula.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/studenttdistribution.hpp:42:45: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/refwrap.h:39, from /usr/include/g++/vector:66, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/distribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorcopula.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorstudentcopula.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/studenttdistribution.hpp:65:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/studenttdistribution.hpp:81:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/onefactorstudentcopula.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/recoveryratemodel.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/pool.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/pool.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/event.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/pool.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/recoveryratequote.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/path.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/brownianbridge.hpp:39, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/randomdefaultmodel.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/randomdefaultmodel.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/path.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:35: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:36: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:40:45: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:62:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:77:50: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/pool.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/randomdefaultmodel.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/riskyassetswap.cpp.o [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/riskyassetswapoption.cpp.o [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/riskybond.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/creditdefaultswap.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/credit/defaultprobabilityhelpers.hpp:33, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswap.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswapoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswapoption.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswap.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswapoption.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/credit/syntheticcdo.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/creditdefaultswap.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/credit/defaultprobabilityhelpers.hpp:33, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswap.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswap.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskyassetswap.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticamericanmargrabeengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskybond.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskybond.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskybond.hpp:27: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskybond.hpp:32: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/interpolation2d.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/capfloor/capfloortermvolsurface.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletstripper.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/volatility/optionlet/optionletvolatilitystructure.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/couponpricer.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/riskybond.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticcomplexchooserengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticamericanmargrabeengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticamericanmargrabeengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/margrabeoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticamericanmargrabeengine.hpp:27: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/vanillaoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/vanilla/bjerksundstenslandengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticamericanmargrabeengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 12%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticcompoundoptionengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcomplexchooserengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcomplexchooserengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/complexchooseroption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcomplexchooserengine.hpp:27: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackcalculator.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackscholescalculator.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcomplexchooserengine.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcomplexchooserengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticeuropeanmargrabeengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/bond.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/claim.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.hpp:31: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/issuer.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/basket.hpp:32: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/defaultevent.hpp:189:23: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/syntheticcdo.cpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/integrals/gaussianquadratures.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/latentmodel.hpp:24, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/credit/gaussianlhplossmodel.hpp:33: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:34: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp: In member function 'QuantLib::detail::DispArray QuantLib::GaussianQuadMultidimIntegrator::VectorIntegrator::operator()(const F&) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:69:33: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/tcopulapolicy.hpp:25, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/latentmodel.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp:62:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/convolvedstudentt.hpp:165:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp: In instantiation of 'QuantLib::detail::DispArray QuantLib::GaussianQuadMultidimIntegrator::VectorIntegrator::operator()(const F&) const [with F = boost::_bi::bind_t >(const boost::function >(const std::vector&)>&, double)> >, boost::_bi::list > >(const std::vector >&)> >, boost::arg<1> > >; QuantLib::detail::DispArray = QuantLib::Disposable >]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:242:26: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:69:33: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:69:33: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/multidimquadrature.hpp:69:33: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/distributions/students_t.hpp:20, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/tcopulapolicy.hpp:26: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp: In instantiation of 'boost::math::detail::ibeta_fraction2_t::result_type boost::math::detail::ibeta_fraction2_t::operator()() [with T = long double; result_type = std::pair]': /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/tools/fraction.hpp:134:20: required from 'typename boost::math::tools::detail::fraction_traits::result_type boost::math::tools::detail::continued_fraction_b_impl(Gen&, const U&, uintmax_t&) [with Gen = boost::math::detail::ibeta_fraction2_t; U = long double; typename fraction_traits::result_type = long double; uintmax_t = long unsigned int]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/tools/fraction.hpp:184:44: required from 'typename boost::math::tools::detail::fraction_traits::result_type boost::math::tools::continued_fraction_b(Gen&, const U&) [with Gen = boost::math::detail::ibeta_fraction2_t; U = long double; typename detail::fraction_traits::result_type = long double]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp:847:54: required from 'T boost::math::detail::ibeta_fraction2(T, T, T, T, const Policy&, bool, T*) [with T = long double; Policy = boost::math::policies::policy, boost::math::policies::promote_double, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp:1499:36: required from 'T boost::math::detail::ibeta_imp(T, T, T, const Policy&, bool, bool, T*) [with T = long double; Policy = boost::math::policies::policy, boost::math::policies::promote_double, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp:1536:20: required from 'T boost::math::detail::ibeta_imp(T, T, T, const Policy&, bool, bool) [with T = long double; Policy = boost::math::policies::policy, boost::math::policies::promote_double, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp:1713:93: required from 'boost::math::tools::promote_args_t boost::math::ibetac(RT1, RT2, RT3, const Policy&) [with RT1 = double; RT2 = double; RT3 = double; Policy = policies::policy; tools::promote_args_t = double]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/distributions/students_t.hpp:203:29: required from 'RealType boost::math::cdf(const students_t_distribution&, const RealType&) [with RealType = double; Policy = policies::policy]' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/math/tcopulapolicy.hpp:97:36: required from here /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/special_functions/beta.hpp:810:16: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticholderextensibleoptionengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/compoundoption.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcompoundoptionengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcompoundoptionengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/compoundoption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcompoundoptionengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcompoundoptionengine.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/solver1d.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/solvers1d/brent.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticcompoundoptionengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticpartialtimebarrieroptionengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticeuropeanmargrabeengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticeuropeanmargrabeengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/margrabeoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticeuropeanmargrabeengine.hpp:27: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticeuropeanmargrabeengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticeuropeanmargrabeengine.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticpdfhestonengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/holderextensibleoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticholderextensibleoptionengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticholderextensibleoptionengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:30: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticholderextensibleoptionengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticholderextensibleoptionengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticsimplechooserengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/partialtimebarrieroption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpartialtimebarrieroptionengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpartialtimebarrieroptionengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/partialtimebarrieroption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpartialtimebarrieroptionengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpartialtimebarrieroptionengine.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analytictwoassetbarrierengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/vanillaoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpdfhestonengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpdfhestonengine.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/integrals/gausslobattointegral.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpdfhestonengine.cpp:25: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/model.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/equity/hestonmodel.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpdfhestonengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector QuantLib::DiscretizedOption::mandatoryTimes() const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:234:38: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/hestonprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/equity/hestonmodel.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticpdfhestonengine.cpp:33: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analytictwoassetcorrelationengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticsimplechooserengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticsimplechooserengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/simplechooseroption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticsimplechooserengine.hpp:27: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticsimplechooserengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticsimplechooserengine.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/analyticwriterextensibleoptionengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetbarrieroption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetbarrierengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetbarrierengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetbarrieroption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetbarrierengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetbarrierengine.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/complexchooseroption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetcorrelationoption.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetcorrelationengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetcorrelationengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetcorrelationoption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetcorrelationengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analytictwoassetcorrelationengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/writerextensibleoption.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticwriterextensibleoptionengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticwriterextensibleoptionengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/writerextensibleoption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticwriterextensibleoptionengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/bivariatenormaldistribution.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/analyticwriterextensibleoptionengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/compoundoption.cpp.o [ 13%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/continuousarithmeticasianlevyengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/complexchooseroption.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/complexchooseroption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/complexchooseroption.cpp:20: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/continuousarithmeticasianvecerengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/compoundoption.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/compoundoption.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/compoundoption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/everestoption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/asianoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianlevyengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianlevyengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/asianoption.hpp:28: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianlevyengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianlevyengine.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/himalayaoption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/everestoption.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/everestoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/everestoption.cpp:20: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/holderextensibleoption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/asianoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianvecerengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianvecerengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/asianoption.hpp:28: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianvecerengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianvecerengine.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/tridiagonaloperator.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/continuousarithmeticasianvecerengine.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/kirkspreadoptionengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/himalayaoption.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/himalayaoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/himalayaoption.cpp:20: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/margrabeoption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/holderextensibleoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/holderextensibleoption.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:30: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/mceverestengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/margrabeoption.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/margrabeoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/margrabeoption.cpp:20: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/mchimalayaengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/spreadoption.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/kirkspreadoptionengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/kirkspreadoptionengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/spreadoption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/kirkspreadoptionengine.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/kirkspreadoptionengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/mcpagodaengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/grid.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mceverestengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mceverestengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/everestoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mceverestengine.hpp:27: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/path.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/brownianbridge.hpp:39, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp:40:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:31: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:36: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:40:45: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:62:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:77:50: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/statistics.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/specfun.h:45, from /usr/include/g++/cmath:1935, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:28: /usr/include/g++/bits/stl_pair.h: In instantiation of 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = double&; _T2 = double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/generalstatistics.hpp:224:42: required from here /usr/include/g++/bits/stl_pair.h:743:5: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::regret(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:157:56: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:159:48: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::expectedShortfall(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:199:42: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::shortfall(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:212:56: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::averageShortfall(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:221:48: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:223:48: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 14%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/pagodaoption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/grid.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mchimalayaengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mchimalayaengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/himalayaoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mchimalayaengine.hpp:27: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/path.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/brownianbridge.hpp:39, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp:40:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:31: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:36: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:40:45: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:62:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:77:50: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/statistics.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/specfun.h:45, from /usr/include/g++/cmath:1935, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:28: /usr/include/g++/bits/stl_pair.h: In instantiation of 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = double&; _T2 = double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/generalstatistics.hpp:224:42: required from here /usr/include/g++/bits/stl_pair.h:743:5: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::regret(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:157:56: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:159:48: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::expectedShortfall(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:199:42: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::shortfall(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:212:56: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::averageShortfall(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:221:48: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:223:48: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mchimalayaengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/partialtimebarrieroption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/grid.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mcpagodaengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mcpagodaengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/pagodaoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/mcpagodaengine.hpp:27: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/path.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/brownianbridge.hpp:39, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/mcsimulation.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathgenerator.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/pathpricer.hpp:40:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/mctraits.hpp:31: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/randomnumbers/rngtraits.hpp:36: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:40:45: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:62:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/poissondistribution.hpp:77:50: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/statistics.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/montecarlo/montecarlomodel.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/specfun.h:45, from /usr/include/g++/cmath:1935, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:28: /usr/include/g++/bits/stl_pair.h: In instantiation of 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = double&; _T2 = double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/generalstatistics.hpp:224:42: required from here /usr/include/g++/bits/stl_pair.h:743:5: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::regret(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:157:56: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:159:48: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::expectedShortfall(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:199:42: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::shortfall(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:212:56: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp: In member function 'QuantLib::Real QuantLib::GenericRiskStatistics::averageShortfall(QuantLib::Real) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:221:48: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/statistics/riskstatistics.hpp:223:48: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/simplechooseroption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/pagodaoption.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/pagodaoption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/pagodaoption.cpp:20: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/twoassetbarrieroption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/partialtimebarrieroption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/partialtimebarrieroption.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/partialtimebarrieroption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/twoassetcorrelationoption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/simplechooseroption.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/simplechooseroption.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/simplechooseroption.cpp:20: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/exoticoptions/writerextensibleoption.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetbarrieroption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetbarrieroption.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetbarrieroption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/bsmrndcalculator.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetcorrelationoption.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetcorrelationoption.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/multiassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/twoassetcorrelationoption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/dynprogvppintrinsicvalueengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/writerextensibleoption.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/writerextensibleoption.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/oneassetoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/exoticoptions/writerextensibleoption.hpp:27: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdextoujumpvanillaengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/bsmrndcalculator.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:29: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/bsmrndcalculator.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/bsmrndcalculator.cpp: In member function 'std::pair QuantLib::BSMRNDCalculator::distributionParams(QuantLib::Real, QuantLib::Time) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/bsmrndcalculator.cpp:39:58: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdhestondoublebarrierengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmeshercomposite.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/dynprogvppintrinsicvalueengine.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yieldtermstructure.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/dynprogvppintrinsicvalueengine.cpp:23: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepconditionfactory.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/dynprogvppintrinsicvalueengine.cpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdklugeextouspreadengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdextoujumpvanillaengine.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/exercise.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdextoujumpvanillaengine.cpp:25: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpmodelinnervalue.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdextoujumpvanillaengine.cpp:31: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdextoujumpvanillaengine.cpp:34: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 15%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmblackscholesfwdop.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/model.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/equity/hestonmodel.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdhestondoublebarrierengine.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdhestondoublebarrierengine.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/model.hpp:29: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/numericalmethod.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/lattices/lattice.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp: In member function 'virtual std::vector QuantLib::DiscretizedOption::mandatoryTimes() const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/discretizedasset.hpp:234:38: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/hestonprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/models/equity/hestonmodel.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmsolverdesc.hpp:26, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmhestonsolver.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdhestondoublebarrierengine.hpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdhestondoublebarrierengine.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmdupire1dop.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdklugeextouspreadengine.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/exercise.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdklugeextouspreadengine.cpp:21: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmamericanstepcondition.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdklugeextouspreadengine.cpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdklugeextouspreadengine.cpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmndimsolver.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextousolver.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdklugeextouspreadengine.cpp:32: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:233:47: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:280:47: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:301:14: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:303:26: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmblackscholesfwdop.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/functional:49, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmblackscholesfwdop.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmblackscholesfwdop.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmblackscholesfwdop.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmextoujumpop.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmdupire1dop.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmdupire1dop.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:30: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmextoujumpsolver.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/functional:49, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/linearinterpolation.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extendedornsteinuhlenbeckprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextendedornsteinuhlenbeckop.cpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmhestonfwdop.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolation.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/linearinterpolation.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yieldtermstructure.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.cpp:24: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.cpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmhestongreensfct.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpsolver.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:29: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/tridiagonaloperator.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/boundarycondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:26, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmsolverdesc.hpp:26, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdm2dimsolver.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpsolver.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmklugeextouop.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestongreensfct.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/functional:49, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/hestonprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestongreensfct.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmlocalvolfwdop.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestonfwdop.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/functional:49, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/hestonprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmhestonfwdop.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmsquarerootfwdop.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextouop.cpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/handle.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/quote.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/quotes/simplequote.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextouop.cpp:25: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/klugeextouprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextouop.cpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextouop.cpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/tridiagonaloperator.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/boundarycondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:26, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpop.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextouop.cpp:32: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmvppstartlimitstepcondition.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmlocalvolfwdop.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/functional:49, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmlocalvolfwdop.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmlocalvolfwdop.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmlocalvolfwdop.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 16%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmvppstepcondition.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstartlimitstepcondition.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:30: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstartlimitstepcondition.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstartlimitstepcondition.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstartlimitstepcondition.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmvppstepconditionfactory.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmsquarerootfwdop.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/functional:49, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmsquarerootfwdop.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdmzabrop.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:30: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepcondition.cpp:36: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdornsteinuhlenbeckvanillaengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepconditionfactory.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepconditionfactory.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/refwrap.h:39, from /usr/include/g++/vector:66, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdm1dmesher.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/uniform1dmesher.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepconditionfactory.cpp:23: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmvppstepconditionfactory.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmmesher.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmzabrop.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmzabrop.cpp:20: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:30: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdsimpleextoustorageengine.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/ornsteinuhlenbeckprocess.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdornsteinuhlenbeckvanillaengine.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/string:48, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/ios:42, from /usr/include/g++/istream:38, from /usr/include/g++/sstream:38, from /usr/include/g++/complex:45, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits/is_complex.hpp:12, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/type_traits.hpp:98, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/utilities/null.hpp:36, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/date.hpp:34, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/exercise.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdornsteinuhlenbeckvanillaengine.cpp:20: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/tridiagonaloperator.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/boundarycondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:26, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmsolverdesc.hpp:26, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdm1dimsolver.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdornsteinuhlenbeckvanillaengine.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdornsteinuhlenbeckvanillaengine.cpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdsimpleklugeextouvppengine.cpp.o distcc[14667] ERROR: compile /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp on 10.0.20.122:3860 failed distcc[14667] (dcc_build_somewhere) Warning: remote compilation of '/tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp' failed, retrying locally distcc[14667] Warning: failed to distribute /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp to 10.0.20.122:3860, running locally instead In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438, from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yieldtermstructure.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp:25: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmextoujumpmodelinnervalue.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp:31: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdmblackscholesmesher.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoujumpswingengine.cpp:33: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/gbsmrndcalculator.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/gbsmrndcalculator.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/functional:49, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/solver1d.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/solvers1d/brent.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/gbsmrndcalculator.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/blackscholesprocess.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/gbsmrndcalculator.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/blackcalculator.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/gbsmrndcalculator.cpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/gbsmrndcalculator.cpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/gbsmrndcalculator.cpp:36: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/gbsmrndcalculator.cpp: In member function 'virtual QuantLib::Real QuantLib::GBSMRNDCalculator::invcdf(QuantLib::Real, QuantLib::Time) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/gbsmrndcalculator.cpp:112:33: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/glued1dmesher.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 108 | : std::binary_function, | ^~~~~~~~~~~~~~~ In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:28: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/glued1dmesher.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/refwrap.h:39, from /usr/include/g++/vector:66, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/meshers/fdm1dmesher.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/glued1dmesher.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/glued1dmesher.cpp:24: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/hestonrndcalculator.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/basketoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleklugeextouvppengine.cpp:25: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/lazyobject.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instrument.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/option.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:30: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/basketoption.hpp:31: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/klugeextouprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleklugeextouvppengine.cpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extouwithjumpsprocess.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleklugeextouvppengine.cpp:29: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/tridiagonaloperator.hpp:30, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/boundarycondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:26, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/utilities/fdmboundaryconditionset.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmsolverdesc.hpp:26, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleklugeextouvppengine.cpp:34: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmndimsolver.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdmklugeextousolver.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleklugeextouvppengine.cpp:36: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:233:47: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:280:47: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:301:14: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/multicubicspline.hpp:303:26: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/solvers/fdmndimsolver.hpp:35: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/localvolrndcalculator.cpp.o In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/processes/extendedornsteinuhlenbeckprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 317 | std::bind2nd(std::plus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 332 | std::bind2nd(std::minus(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 347 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 362 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 518 | std::bind2nd(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 525 | std::bind1st(std::plus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 543 | std::bind2nd(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 550 | std::bind1st(std::minus(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 568 | std::bind2nd(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 575 | std::bind1st(std::multiplies(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 593 | std::bind2nd(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 600 | std::bind1st(std::divides(),a)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 609 | std::ptr_fun(std::fabs)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 616 | std::ptr_fun(std::sqrt)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 623 | std::ptr_fun(std::log)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 630 | std::ptr_fun(std::exp)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 637 | std::bind2nd(std::ptr_fun(std::pow), alpha)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 272 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 278 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 510 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 517 | std::bind2nd(std::multiplies(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 524 | std::bind2nd(std::divides(),x)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/vanillaswingoption.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/pricingengines/vanilla/fdsimplebsswingengine.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:34: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 36 | class Payoff : std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflows/dividend.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/dividendschedule.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:36: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/cashflow.hpp:77:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/hestonrndcalculator.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/functional:49, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/stochasticprocess.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/processes/hestonprocess.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/hestonrndcalculator.cpp:23: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/hestonrndcalculator.cpp:36: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/hestonrndcalculator.cpp:69:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ [ 17%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/riskneutraldensitycalculator.cpp.o /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:65:31: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 65 | : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 602 | std::bind1st(std::multiplies(), *v1begin)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /usr/include/g++/set:60, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/time/calendar.hpp:33, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructure.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/termstructures/yieldtermstructure.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:26: /usr/include/g++/bits/stl_tree.h: In instantiation of 'static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(_Const_Link_type) [with _Key = double; _Val = double; _KeyOfValue = std::_Identity; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator; _Const_Link_type = const std::_Rb_tree_node*]': /usr/include/g++/bits/stl_tree.h:798:22: required from 'static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(_Const_Base_ptr) [with _Key = double; _Val = double; _KeyOfValue = std::_Identity; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator; _Const_Base_ptr = const std::_Rb_tree_node_base*]' /usr/include/g++/bits/stl_tree.h:2222:40: required from 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = double; _Val = double; _KeyOfValue = std::_Identity; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator; const_iterator = std::_Rb_tree, QuantLib::{anonymous}::LessButNotCloseEnough, std::allocator >::const_iterator; key_type = double]' /usr/include/g++/bits/stl_tree.h:2282:4: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique_(const_iterator, _Arg&&, _NodeGen&) [with _Arg = double&; _NodeGen = std::_Rb_tree, QuantLib::{anonymous}::LessButNotCloseEnough, std::allocator >::_Alloc_node; _Key = double; _Val = double; _KeyOfValue = std::_Identity; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator; iterator = std::_Rb_tree, QuantLib::{anonymous}::LessButNotCloseEnough, std::allocator >::iterator; const_iterator = std::_Rb_tree, QuantLib::{anonymous}::LessButNotCloseEnough, std::allocator >::const_iterator]' /usr/include/g++/bits/stl_tree.h:1104:23: required from 'std::__enable_if_t::value_type>::value> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_range_unique(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _Key = double; _Val = double; _KeyOfValue = std::_Identity; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator; std::__enable_if_t::value_type>::value> = void; typename std::iterator_traits<_InputIterator>::value_type = double]' /usr/include/g++/bits/stl_set.h:195:31: required from 'std::set<_Key, _Compare, _Alloc>::set(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _Key = double; _Compare = QuantLib::{anonymous}::LessButNotCloseEnough; _Alloc = std::allocator]' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp:117:59: required from here /usr/include/g++/bits/stl_tree.h:772:15: error: static assertion failed: comparison object must be invocable as const 772 | is_invocable_v, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/stl_tree.h:772:15: note: 'std::is_invocable_v' evaluates to false In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/riskneutraldensitycalculator.cpp:21: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:36:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/functional:49, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:29: /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:45:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:51:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:57:30: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:63:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:81:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/functional.hpp:133:21: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/solver1d.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/solvers1d/brent.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/riskneutraldensitycalculator.cpp:22: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/riskneutraldensitycalculator.cpp:30: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/riskneutraldensitycalculator.cpp: In member function 'QuantLib::Real QuantLib::RiskNeutralDensityCalculator::InvCDFHelper::inverseCDF(QuantLib::Real, QuantLib::Time) const': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/riskneutraldensitycalculator.cpp:70:49: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ [ 18%] Building CXX object ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/squarerootprocessrndcalculator.cpp.o distcc[14667] ERROR: compile /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/fdsimpleextoustorageengine.cpp on localhost failed --- ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdsimpleextoustorageengine.cpp.o --- *** [ql/CMakeFiles/QuantLib.dir/experimental/finitedifferences/fdsimpleextoustorageengine.cpp.o] Error code 1 make[2]: stopped making "ql/CMakeFiles/QuantLib.dir/build" in /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/localvolrndcalculator.cpp:26: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/comparison.hpp:108:16: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/unique_ptr.h:37, from /usr/include/g++/memory:75, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/shared_ptr.hpp:17, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/patterns/observable.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/handle.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/quote.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/localvolrndcalculator.cpp:25: /usr/include/g++/bits/stl_function.h:131:12: note: declared here 131 | // 20.3.2 arithmetic | ^~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:63:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp: In constructor 'QuantLib::TimeGrid::TimeGrid(Iterator, Iterator, QuantLib::Size)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/timegrid.hpp:94:41: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/localvolrndcalculator.cpp:27: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/errorfunction.hpp:36:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:44:44: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:69:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:102:23: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:201:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:242:19: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/distributions/normaldistribution.hpp:253:49: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/integrals/discreteintegrals.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/localvolrndcalculator.cpp:28: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator+=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:317:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] In file included from /usr/include/g++/bits/stl_function.h:1438: /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator-=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:332:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:347:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In member function 'const QuantLib::Array& QuantLib::Array::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:362:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:518:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator+(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:525:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = plus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:543:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator-(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:550:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = minus; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:568:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:575:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:593:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(Real, const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:600:36: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Abs(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:609:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Sqrt(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:616:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Log(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:623:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Exp(const Array&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:630:47: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp: In function 'const QuantLib::Disposable QuantLib::Pow(const Array&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:56: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = double; _Arg2 = double; _Result = double]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:1153:5: note: declared here 1153 | | ^ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/array.hpp:637:25: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/interpolations/cubicinterpolation.hpp:32, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/localvolrndcalculator.cpp:30: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator*=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:272:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In member function 'const QuantLib::Matrix& QuantLib::Matrix::operator/=(QuantLib::Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:278:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:510:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator*(Real, const Matrix&)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:517:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In function 'const QuantLib::Disposable QuantLib::operator/(const Matrix&, Real)': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:524:36: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = divides; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:172:5: note: declared here 172 | typedef typename _Operation::second_argument_type _Arg2_type; | ^ ~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/instruments/payoffs.hpp:31, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/stepcondition.hpp:28, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/operatortraits.hpp:27, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/methods/finitedifferences/schemes/douglasscheme.hpp:29, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/localvolrndcalculator.cpp:36: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp: At global scope: /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/payoff.hpp:36:25: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] /usr/include/g++/bits/stl_function.h:117:12: note: declared here 117 | template | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/localvolrndcalculator.cpp:44: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/bind.hpp:36:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' In file included from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/specfun.h:45, from /usr/include/g++/cmath:1935, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/mathconstants.hpp:23, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/qldefines.hpp:126, from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/errors.hpp:28: /usr/include/g++/bits/stl_pair.h: In instantiation of 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = double&; _T2 = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/localvolrndcalculator.cpp:312:39: required from here /usr/include/g++/bits/stl_pair.h:743:5: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp: In instantiation of 'const QuantLib::Disposable QuantLib::outerProduct(Iterator1, Iterator1, Iterator2, Iterator2) [with Iterator1 = const double*; Iterator2 = const double*]': /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:583:28: required from here /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/math/matrix.hpp:602:40: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = multiplies; _Tp = double]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] /usr/include/g++/backward/binders.h:136:5: note: declared here 136 | { | ^ In file included from /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/squarerootprocessrndcalculator.cpp:24: /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/distributions/non_central_chi_squared.hpp: In instantiation of 'const std::pair<_FIter, _FIter> boost::math::range(const non_central_chi_squared_distribution&) [with RealType = long double; Policy = policies::policy, policies::promote_double, policies::default_policy, policies::default_policy, policies::default_policy, policies::default_policy, policies::default_policy, policies::default_policy, policies::default_policy, policies::default_policy, policies::default_policy>]': /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/distributions/detail/generic_quantile.hpp:73:33: required from 'typename Dist::value_type boost::math::detail::generic_quantile(const Dist&, const typename Dist::value_type&, const typename Dist::value_type&, bool, const char*) [with Dist = boost::math::non_central_chi_squared_distribution, boost::math::policies::promote_double, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy> >; typename Dist::value_type = long double]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/distributions/non_central_chi_squared.hpp:476:57: required from 'RealType boost::math::detail::nccs_quantile(const boost::math::non_central_chi_squared_distribution&, const RealType&, bool) [with RealType = double; Policy = boost::math::policies::policy]' /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/distributions/non_central_chi_squared.hpp:981:38: required from 'RealType boost::math::quantile(const non_central_chi_squared_distribution&, const RealType&) [with RealType = double; Policy = policies::policy]' /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1/ql/experimental/finitedifferences/squarerootprocessrndcalculator.cpp:64:37: required from here /tmp/pkgbuild/finance/QuantLib/work/.buildlink/include/boost/math/distributions/non_central_chi_squared.hpp:789:58: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 make[2]: 1 error make[2]: stopped making "ql/CMakeFiles/QuantLib.dir/build" in /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 --- ql/CMakeFiles/QuantLib.dir/all --- *** [ql/CMakeFiles/QuantLib.dir/all] Error code 2 make[1]: stopped making "all" in /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 make[1]: 1 error make[1]: stopped making "all" in /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 *** [all] Error code 2 make: stopped making "all" in /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 make: 1 error make: stopped making "all" in /tmp/pkgbuild/finance/QuantLib/work/QuantLib-QuantLib-v1.12.1 *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/finance/QuantLib *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/finance/QuantLib